ImNotifPolicy

public class ImNotifPolicy : LinphoneObject

Policy to use to send/receive instant messaging composing/delivery/display/// notifications. The sending of this information is done as in the RFCs 3994 (is_composing) and 5438 (imdn delivered/displayed).

  • Declaration

    Swift

    public static func getSwiftObject(cObject: OpaquePointer) -> ImNotifPolicy
  • Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Enable imdn delivered notifications receiving.

    Declaration

    Swift

    public var recvImdnDelivered: Bool { get set }

    Return Value

    Boolean value telling whether imdn delivered notifications are being notified when received.

  • Enable imdn delivery error notifications receiving. Note: Error IMDN must be enabled for Lime recovery mechanism

    Declaration

    Swift

    public var recvImdnDeliveryError: Bool { get set }

    Return Value

    Boolean value telling whether imdn delivery error notifications are being notified when received.

  • Enable imdn displayed notifications receiving.

    Declaration

    Swift

    public var recvImdnDisplayed: Bool { get set }

    Return Value

    Boolean value telling whether imdn displayed notifications are being notified when received.

  • Enable is_composing notifications receiving.

    Declaration

    Swift

    public var recvIsComposing: Bool { get set }

    Return Value

    Boolean value telling whether is_composing notifications are being notified when received.

  • Enable imdn delivered notifications sending.

    Declaration

    Swift

    public var sendImdnDelivered: Bool { get set }

    Return Value

    Boolean value telling whether imdn delivered notifications are being sent.

  • Enable imdn delivery error notifications sending. Note: Error IMDN must be enabled for Lime recovery mechanism

    Declaration

    Swift

    public var sendImdnDeliveryError: Bool { get set }

    Return Value

    Boolean value telling whether imdn delivery error notifications are being sent.

  • Enable imdn displayed notifications sending.

    Declaration

    Swift

    public var sendImdnDisplayed: Bool { get set }

    Return Value

    Boolean value telling whether imdn displayed notifications are being sent.

  • Enable is_composing notifications sending.

    Declaration

    Swift

    public var sendIsComposing: Bool { get set }

    Return Value

    Boolean value telling whether is_composing notifications are being sent.

  • Assign a user pointer to the ImNotifPolicy object.

    Declaration

    Swift

    public var userData: UnsafeMutableRawPointer? { get set }

    Return Value

    The user pointer associated with the ImNotifPolicy object.

  • Clear an IM notif policy (deactivate all receiving and sending of notifications). Note: Error IMDN must be enabled for Lime recovery mechanism

    Declaration

    Swift

    public func clear()
  • Enable all receiving and sending of notifications.

    Declaration

    Swift

    public func enableAll()