HyphenateChatSDK 3.9.9.1
EMMultiDevicesDelegate.h
1
15#import <Foundation/Foundation.h>
16
28typedef NS_ENUM(NSInteger, EMMultiDevicesEvent) {
29 EMMultiDevicesEventUnknow = -1,
30 EMMultiDevicesEventContactRemove = 2,
31 EMMultiDevicesEventContactAccept = 3,
32 EMMultiDevicesEventContactDecline = 4,
33 EMMultiDevicesEventContactBan = 5,
34 EMMultiDevicesEventContactAllow = 6,
36 EMMultiDevicesEventGroupCreate = 10,
37 EMMultiDevicesEventGroupDestroy = 11,
38 EMMultiDevicesEventGroupJoin = 12,
39 EMMultiDevicesEventGroupLeave = 13,
40 EMMultiDevicesEventGroupApply = 14,
41 EMMultiDevicesEventGroupApplyAccept = 15,
42 EMMultiDevicesEventGroupApplyDecline = 16,
43 EMMultiDevicesEventGroupInvite = 17,
44 EMMultiDevicesEventGroupInviteAccept = 18,
45 EMMultiDevicesEventGroupInviteDecline = 19,
46 EMMultiDevicesEventGroupKick = 20,
47 EMMultiDevicesEventGroupBan = 21,
48 EMMultiDevicesEventGroupAllow = 22,
49 EMMultiDevicesEventGroupBlock = 23,
50 EMMultiDevicesEventGroupUnBlock = 24,
51 EMMultiDevicesEventGroupAssignOwner = 25,
52 EMMultiDevicesEventGroupAddAdmin = 26,
53 EMMultiDevicesEventGroupRemoveAdmin = 27,
54 EMMultiDevicesEventGroupAddMute = 28,
55 EMMultiDevicesEventGroupRemoveMute = 29,
57 EMMultiDevicesEventGroupAddWhiteList = 30,
58 EMMultiDevicesEventGroupRemoveWhiteList = 31,
59 EMMultiDevicesEventGroupAllBan = 32,
60 EMMultiDevicesEventGroupRemoveAllBan = 33,
61 EMMultiDevicesEventGroupDisabled = 34,
62 EMMultiDevicesEventGroupAble = 35,
64 EMMultiDevicesEventChatThreadCreate = 40,
65 EMMultiDevicesEventChatThreadDestroy = 41,
66 EMMultiDevicesEventChatThreadJoin = 42,
67 EMMultiDevicesEventChatThreadLeave = 43,
68 EMMultiDevicesEventChatThreadUpdate = 44,
69 EMMultiDevicesEventChatThreadKick = 45,
71 EMMultiDevicesEventCircleChannelCreate = 70,
72 EMMultiDevicesEventCircleChannelDestroy = 71,
73 EMMultiDevicesEventCircleChannelUpdate = 72,
74 EMMultiDevicesEventCircleChannelJoin = 73,
75 EMMultiDevicesEventCircleChannelInviteBeAccepted = 74,
76 EMMultiDevicesEventCircleChannelInviteBeDeclined = 75,
77 EMMultiDevicesEventCircleChannelExit = 76,
78 EMMultiDevicesEventCircleChannelRemoveUser = 77,
79 EMMultiDevicesEventCircleChannelInviteUser = 78,
80 EMMultiDevicesEventCircleChannelAddMute = 79,
81 EMMultiDevicesEventCircleChannelRemoveMute = 80,
82};
83
84@protocol EMMultiDevicesDelegate <NSObject>
85
86@optional
87
103- (void)multiDevicesContactEventDidReceive:(EMMultiDevicesEvent)aEvent
104 username:(NSString * _Nonnull)aUsername
105 ext:(NSString * _Nullable)aExt;
106
122- (void)multiDevicesGroupEventDidReceive:(EMMultiDevicesEvent)aEvent
123 groupId:(NSString * _Nonnull)aGroupId
124 ext:(id _Nullable)aExt;
141- (void)multiDevicesChatThreadEventDidReceive:(EMMultiDevicesEvent)aEvent
142 threadId:(NSString * _Nonnull)aThreadId
143 ext:(id _Nullable)aExt;
144
157- (void)multiDevicesUndisturbEventNotifyFormOtherDeviceData:(NSString *_Nullable)undisturbData;
171-(void)multiDevicesMessageBeRemoved:(NSString *_Nonnull)conversationId deviceId:(NSString *_Nonnull)deviceId;
172
181- (void)multiDevicesCircleChannelEventDidReceive:(EMMultiDevicesEvent)aEvent
182 channelId:(NSString * _Nonnull)aChannelId
183 ext:(id _Nullable)aExt;
184
185@end
Definition: EMMultiDevicesDelegate.h:84