HyphenateChatSDK 4.8.0
Instance Methods | List of all members
<EMMultiDevicesDelegate> Protocol Reference
Inheritance diagram for <EMMultiDevicesDelegate>:

Instance Methods

(void) - multiDevicesContactEventDidReceive:username:ext:
 
(void) - multiDevicesGroupEventDidReceive:groupId:ext:
 
(void) - multiDevicesChatThreadEventDidReceive:threadId:ext:
 
(void) - multiDevicesUndisturbEventNotifyFormOtherDeviceData:
 
(void) - multiDevicesMessageBeRemoved:deviceId:
 
(void) - multiDevicesConversationEvent:conversationId:conversationType:
 

Method Documentation

◆ multiDevicesChatThreadEventDidReceive:threadId:ext:

- (void) multiDevicesChatThreadEventDidReceive: (EMMultiDevicesEvent)  aEvent
threadId: (NSString *_Nonnull)  aThreadId
ext: (id _Nullable)  aExt 
optional

The multi-device message thread event callback.

Parameters
aEventThe event type.
aThreadIdThe message thread ID.
aExtThe extended Information.

◆ multiDevicesContactEventDidReceive:username:ext:

- (void) multiDevicesContactEventDidReceive: (EMMultiDevicesEvent)  aEvent
username: (NSString *_Nonnull)  aUsername
ext: (NSString *_Nullable)  aExt 
optional

The multi-device contact event callback.

Parameters
aEventThe event type.
aUsernameThe username.
aExtThe extended Information.

◆ multiDevicesConversationEvent:conversationId:conversationType:

- (void) multiDevicesConversationEvent: (EMMultiDevicesEvent)  event
conversationId: (NSString *_Nonnull)  conversationId
conversationType: (EMConversationType)  conversationType 
optional

The multi-device event callback for the operation of a single conversation.User needs to call the IEMChatManager#getAllConversations method to get the latest conversation list when receiving the conversation multi-device event.

Parameters
eventThe event type.
conversationIdThe conversation ID.
conversationTypeThe conversation type.

◆ multiDevicesGroupEventDidReceive:groupId:ext:

- (void) multiDevicesGroupEventDidReceive: (EMMultiDevicesEvent)  aEvent
groupId: (NSString *_Nonnull)  aGroupId
ext: (id _Nullable)  aExt 
optional

The multi-device group event callback.

Parameters
aEventThe event type.
aGroupIdThe group ID.
aExtThe extended Information.

◆ multiDevicesMessageBeRemoved:deviceId:

- (void) multiDevicesMessageBeRemoved: (NSString *_Nonnull)  conversationId
deviceId: (NSString *_Nonnull)  deviceId 
optional

The multi-device event callback for removing historical messages of a single conversation from the server.

Parameters
conversationIdThe conversation ID.
deviceIdThe device ID.

◆ multiDevicesUndisturbEventNotifyFormOtherDeviceData:

- (void) multiDevicesUndisturbEventNotifyFormOtherDeviceData: ("Use -multiDevicesConversationEvent:conversationId:conversationType: instead")  __deprecated_msg
optional

The multi-device event callback for setting the Do Not Disturb mode for a single conversation.

Parameters
aEventThe event type.
undisturbDataThe extended Information.

The documentation for this protocol was generated from the following file: