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).
-
Undocumented
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> ImNotifPolicy
-
Undocumented
Declaration
Swift
public var getCobject: OpaquePointer? { get }
-
Enable imdn delivered notifications receiving.
Declaration
Swift
public var recvImdnDelivered: Bool { get set }
Parameters
enable
Boolean value telling whether to notify received imdn delivered notifications. Tell whether imdn delivered notifications are being notified when received.
Return Value
Boolean value telling whether imdn delivered notifications are being notified when received.
-
Enable imdn displayed notifications receiving.
Declaration
Swift
public var recvImdnDisplayed: Bool { get set }
Parameters
enable
Boolean value telling whether to notify received imdn displayed notifications. Tell whether imdn displayed notifications are being notified when received.
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 }
Parameters
enable
Boolean value telling whether to notify received is_composing notifications. Tell whether is_composing notifications are being notified when received.
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 }
Parameters
enable
Boolean value telling whether to send imdn delivered notifications. Tell whether imdn delivered notifications are being sent.
Return Value
Boolean value telling whether imdn delivered notifications are being sent.
-
Enable imdn displayed notifications sending.
Declaration
Swift
public var sendImdnDisplayed: Bool { get set }
Parameters
enable
Boolean value telling whether to send imdn displayed notifications. Tell whether imdn displayed notifications are being sent.
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 }
Parameters
enable
Boolean value telling whether to send is_composing notifications. Tell whether is_composing notifications are being sent.
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 }
Parameters
userData
The user pointer to associate with the
ImNotifPolicy
object.
Retrieve the user pointer associated with theImNotifPolicy
object.Return Value
The user pointer associated with the
ImNotifPolicy
object. -
Clear an IM notif policy (deactivate all receiving and sending of notifications).
Declaration
Swift
public func clear()
-
Enable all receiving and sending of notifications.
Declaration
Swift
public func enableAll()