InfoMessage

public class InfoMessage : LinphoneObject

Object representing an informational message sent or received by the core.

  • Undocumented

    Declaration

    Swift

    public static func getSwiftObject(cObject: OpaquePointer) -> InfoMessage
  • Undocumented

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Returns the info message’s content as a Content structure.

    Declaration

    Swift

    public var content: Content? { get set }

    Return Value

    the Content object.

  • Add a header to an info message to be sent.

    Declaration

    Swift

    public func addHeader(name: String, value: String?)

    Parameters

    name

    the header'name

    value

    the header’s value

  • Obtain a header value from a received info message.

    Declaration

    Swift

    public func getHeader(name: String) -> String

    Parameters

    name

    the header'name

    Return Value

    the corresponding header’s value, or nil if not exists.