EMMultiDeviceEventHandler constructor

EMMultiDeviceEventHandler(
  1. {void onContactEvent(
    1. EMMultiDevicesEvent event,
    2. String userId,
    3. String? ext
    )?,
  2. void onGroupEvent(
    1. EMMultiDevicesEvent event,
    2. String groupId,
    3. List<String>? userIds
    )?,
  3. void onChatThreadEvent(
    1. EMMultiDevicesEvent event,
    2. String chatThreadId,
    3. List<String> userIds
    )?,
  4. void onRemoteMessagesRemoved(
    1. String conversationId,
    2. String deviceId
    )?,
  5. void onConversationEvent(
    1. EMMultiDevicesEvent event,
    2. String conversationId,
    3. EMConversationType type
    )?}
)

多设备事件。

Param onContactEvent 多设备联系人事件。

Param onGroupEvent 多设备群组事件。

Param onChatThreadEvent 多设备 Thread 事件。

Param onRemoteMessagesRemoved 多设备漫游消息删除事件。

Param onConversationEvent 多设备单个会话操作事件。

Implementation

EMMultiDeviceEventHandler({
  this.onContactEvent,
  this.onGroupEvent,
  this.onChatThreadEvent,
  this.onRemoteMessagesRemoved,
  this.onConversationEvent,
});