15#import <Foundation/Foundation.h>
16#import "EMConversation.h"
29typedef NS_ENUM(NSInteger, EMMultiDevicesEvent) {
30 EMMultiDevicesEventUnknow = -1,
31 EMMultiDevicesEventContactRemove = 2,
32 EMMultiDevicesEventContactAccept = 3,
33 EMMultiDevicesEventContactDecline = 4,
34 EMMultiDevicesEventContactBan = 5,
35 EMMultiDevicesEventContactAllow = 6,
37 EMMultiDevicesEventGroupCreate = 10,
38 EMMultiDevicesEventGroupDestroy = 11,
39 EMMultiDevicesEventGroupJoin = 12,
40 EMMultiDevicesEventGroupLeave = 13,
41 EMMultiDevicesEventGroupApply = 14,
42 EMMultiDevicesEventGroupApplyAccept = 15,
43 EMMultiDevicesEventGroupApplyDecline = 16,
44 EMMultiDevicesEventGroupInvite = 17,
45 EMMultiDevicesEventGroupInviteAccept = 18,
46 EMMultiDevicesEventGroupInviteDecline = 19,
47 EMMultiDevicesEventGroupKick = 20,
48 EMMultiDevicesEventGroupBan = 21,
49 EMMultiDevicesEventGroupAllow = 22,
50 EMMultiDevicesEventGroupBlock = 23,
51 EMMultiDevicesEventGroupUnBlock = 24,
52 EMMultiDevicesEventGroupAssignOwner = 25,
53 EMMultiDevicesEventGroupAddAdmin = 26,
54 EMMultiDevicesEventGroupRemoveAdmin = 27,
55 EMMultiDevicesEventGroupAddMute = 28,
56 EMMultiDevicesEventGroupRemoveMute = 29,
58 EMMultiDevicesEventGroupAddWhiteList = 30,
59 EMMultiDevicesEventGroupRemoveWhiteList = 31,
60 EMMultiDevicesEventGroupAllBan = 32,
61 EMMultiDevicesEventGroupRemoveAllBan = 33,
64 EMMultiDevicesEventChatThreadCreate = 40,
65 EMMultiDevicesEventChatThreadDestroy = 41,
66 EMMultiDevicesEventChatThreadJoin = 42,
67 EMMultiDevicesEventChatThreadLeave = 43,
68 EMMultiDevicesEventChatThreadUpdate = 44,
69 EMMultiDevicesEventChatThreadKick = 45,
70 EMMultiDevicesEventGroupMemberAttributesChanged = 52,
71 EMMultiDevicesEventConversationPinned = 60,
72 EMMultiDevicesEventConversationUnpinned = 61,
73 EMMultiDevicesEventConversationDelete = 62,
74 EMMultiDevicesEventConversationUpdateMark = 63,
75 EMMultiDevicesEventConversationMuteInfoChanged = 64,
97- (void)multiDevicesContactEventDidReceive:(EMMultiDevicesEvent)aEvent
98 username:(NSString * _Nonnull)aUsername
99 ext:(NSString * _Nullable)aExt;
116- (void)multiDevicesGroupEventDidReceive:(EMMultiDevicesEvent)aEvent
117 groupId:(NSString * _Nonnull)aGroupId
118 ext:(
id _Nullable)aExt;
135- (void)multiDevicesChatThreadEventDidReceive:(EMMultiDevicesEvent)aEvent
136 threadId:(NSString * _Nonnull)aThreadId
137 ext:(
id _Nullable)aExt;
151- (void)multiDevicesUndisturbEventNotifyFormOtherDeviceData:(NSString *_Nullable)undisturbData __deprecated_msg("Use -multiDevicesConversationEvent:conversationId:conversationType: instead");
165-(void)multiDevicesMessageBeRemoved:(NSString *_Nonnull)conversationId deviceId:(NSString *_Nonnull)deviceId;
182- (void)multiDevicesConversationEvent:(EMMultiDevicesEvent)event conversationId:(NSString *_Nonnull)conversationId conversationType:(EMConversationType)conversationType;
Definition: EMMultiDevicesDelegate.h:78