NXMClientDelegate
Objective-C
@protocol NXMClientDelegate <NSObject>
Swift
protocol NXMClientDelegate : NSObjectProtocol
The NXMClientDelegate protocol notifies on client updates.
-
Connection status changed.
Declaration
Objective-C
- (void)client:(nonnull NXMClient *)client didChangeConnectionStatus:(NXMConnectionStatus)status reason:(NXMConnectionStatusReason)reason;Swift
func client(_ client: NXMClient, didChange status: NXMConnectionStatus, reason: NXMConnectionStatusReason)Parameters
clientA
NXMClientobject.statusA
NXMConnectionStatusenum, the updated connection status.reasonA
NXMConnectionStatusReasonenum, the reason for the update. -
Did receive a conversation.
Declaration
Objective-C
- (void)client:(nonnull NXMClient *)client didReceiveConversation:(nonnull NXMConversation *)conversation;Swift
optional func client(_ client: NXMClient, didReceive conversation: NXMConversation)Parameters
clientA
NXMClientobject.conversationA
NXMConversationobject, the conversation received.
NXMClientDelegate Protocol Reference