PushNotificationMessage

public class PushNotificationMessage : LinphoneObject

Object holding chat message data received by a push notification on iOS platform only. This object is a subset of ChatMessage, so only a few methods of it’s parent are available, like getTextContent() and getSubject(), just enough to be able to build a notification to show the user.

  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Gets the call id.

    Declaration

    Swift

    public var callId: String { get }

    Return Value

    The call id.

  • Gets the from address.

    Declaration

    Swift

    public var fromAddr: Address? { get }

    Return Value

    The from Address.

  • Returns wether it is a text message or not.

    Declaration

    Swift

    public var isText: Bool { get }

    Return Value

    true if it is a text message, false otherwise.

  • Gets the local address.

    Declaration

    Swift

    public var localAddr: Address? { get }

    Return Value

    The local Address.

  • Gets the peer address.

    Declaration

    Swift

    public var peerAddr: Address? { get }

    Return Value

    The peer Address.

  • Gets the subject.

    Declaration

    Swift

    public var subject: String { get }

    Return Value

    The subject or nil.

  • Gets the text content.

    Declaration

    Swift

    public var textContent: String { get }

    Return Value

    The text content or nil.