HyphenateSDK  3.6.1
EMMultiDevicesDelegate.h
1 
15 #import <Foundation/Foundation.h>
16 
26 typedef NS_ENUM(NSInteger, EMMultiDevicesEvent) {
27  EMMultiDevicesEventUnknow = -1,
28  EMMultiDevicesEventContactRemove = 2,
29  EMMultiDevicesEventContactAccept = 3,
30  EMMultiDevicesEventContactDecline = 4,
31  EMMultiDevicesEventContactBan = 5,
32  EMMultiDevicesEventContactAllow = 6,
34  EMMultiDevicesEventGroupCreate = 10,
35  EMMultiDevicesEventGroupDestroy = 11,
36  EMMultiDevicesEventGroupJoin = 12,
37  EMMultiDevicesEventGroupLeave = 13,
38  EMMultiDevicesEventGroupApply = 14,
39  EMMultiDevicesEventGroupApplyAccept = 15,
40  EMMultiDevicesEventGroupApplyDecline = 16,
41  EMMultiDevicesEventGroupInvite = 17,
42  EMMultiDevicesEventGroupInviteAccept = 18,
43  EMMultiDevicesEventGroupInviteDecline = 19,
44  EMMultiDevicesEventGroupKick = 20,
45  EMMultiDevicesEventGroupBan = 21,
46  EMMultiDevicesEventGroupAllow = 22,
47  EMMultiDevicesEventGroupBlock = 23,
48  EMMultiDevicesEventGroupUnBlock = 24,
49  EMMultiDevicesEventGroupAssignOwner = 25,
50  EMMultiDevicesEventGroupAddAdmin = 26,
51  EMMultiDevicesEventGroupRemoveAdmin = 27,
52  EMMultiDevicesEventGroupAddMute = 28,
53  EMMultiDevicesEventGroupRemoveMute = 29,
54 };
55 
56 @protocol EMMultiDevicesDelegate <NSObject>
57 
58 @optional
59 
75 - (void)multiDevicesContactEventDidReceive:(EMMultiDevicesEvent)aEvent
76  username:(NSString *)aUsername
77  ext:(NSString *)aExt;
78 
94 - (void)multiDevicesGroupEventDidReceive:(EMMultiDevicesEvent)aEvent
95  groupId:(NSString *)aGroupId
96  ext:(id)aExt;
97 
98 @end
Definition: EMMultiDevicesDelegate.h:56