IMServiceConversation
public class IMServiceConversation : IMConversation
IM Service Conversation
-
Whether this service conversation has been subscribed by the client.
Declaration
Swift
public var isSubscribed: Bool? { get }
-
The date when the client subscribe this service conversation.
Declaration
Swift
public var subscribedAt: Date? { get }
-
The timestamp when the client subscribe this service conversation, unit of measurement is millisecond.
Declaration
Swift
public var subscribedTimestamp: Int64? { get }
-
Whether the offline notification of this service conversation has been muted by the client.
Declaration
Swift
public override var isMuted: Bool { get }
-
Subscribe this Service Conversation.
Declaration
Swift
public func subscribe(completion: @escaping (LCBooleanResult) -> Void) throws
Parameters
completion
callback.
-
Unsubscribe this Service Conversation.
Declaration
Swift
public func unsubscribe(completion: @escaping (LCBooleanResult) -> Void) throws
Parameters
completion
callback.
-
Check whether client subscribed this conversation.
Declaration
Swift
public func checkSubscription(completion: @escaping (LCGenericResult<Bool>) -> Void)
Parameters
completion
Result callback.