AgoraChatSDK 1.2.0
AgoraChatMultiDevicesDelegate.h
1
9#import <Foundation/Foundation.h>
10#import "AgoraChatConversation.h"
11
18typedef NS_ENUM(NSInteger, AgoraChatMultiDevicesEvent) {
19 AgoraChatMultiDevicesEventUnknow = -1,
20 AgoraChatMultiDevicesEventContactRemove = 2,
21 AgoraChatMultiDevicesEventContactAccept = 3,
22 AgoraChatMultiDevicesEventContactDecline = 4,
23 AgoraChatMultiDevicesEventContactBan = 5,
24 AgoraChatMultiDevicesEventContactAllow = 6,
26 AgoraChatMultiDevicesEventGroupCreate = 10,
27 AgoraChatMultiDevicesEventGroupDestroy = 11,
28 AgoraChatMultiDevicesEventGroupJoin = 12,
29 AgoraChatMultiDevicesEventGroupLeave = 13,
30 AgoraChatMultiDevicesEventGroupApply = 14,
31 AgoraChatMultiDevicesEventGroupApplyAccept = 15,
32 AgoraChatMultiDevicesEventGroupApplyDecline = 16,
33 AgoraChatMultiDevicesEventGroupInvite = 17,
34 AgoraChatMultiDevicesEventGroupInviteAccept = 18,
35 AgoraChatMultiDevicesEventGroupInviteDecline = 19,
36 AgoraChatMultiDevicesEventGroupKick = 20,
37 AgoraChatMultiDevicesEventGroupBan = 21,
38 AgoraChatMultiDevicesEventGroupAllow = 22,
39 AgoraChatMultiDevicesEventGroupBlock = 23,
40 AgoraChatMultiDevicesEventGroupUnBlock = 24,
41 AgoraChatMultiDevicesEventGroupAssignOwner = 25,
42 AgoraChatMultiDevicesEventGroupAddAdmin = 26,
43 AgoraChatMultiDevicesEventGroupRemoveAdmin = 27,
44 AgoraChatMultiDevicesEventGroupAddMute = 28,
45 AgoraChatMultiDevicesEventGroupRemoveMute = 29,
47 AgoraChatMultiDevicesEventGroupAddWhiteList = 30,
48 AgoraChatMultiDevicesEventGroupRemoveWhiteList = 31,
49 AgoraChatMultiDevicesEventGroupAllBan = 32,
50 AgoraChatMultiDevicesEventGroupRemoveAllBan = 33,
51 AgoraChatMultiDevicesEventGroupDisabled = 34,
52 AgoraChatMultiDevicesEventGroupAble = 35,
55 AgoraChatMultiDevicesEventChatThreadCreate = 40,
56 AgoraChatMultiDevicesEventChatThreadDestroy = 41,
57 AgoraChatMultiDevicesEventChatThreadJoin = 42,
58 AgoraChatMultiDevicesEventChatThreadLeave = 43,
59 AgoraChatMultiDevicesEventChatThreadUpdate = 44,
60 AgoraChatMultiDevicesEventChatThreadKick = 45,
61 AgoraChatMultiDevicesEventGroupMemberAttributesChanged = 52,
62 AgoraChatMultiDevicesEventConversationPinned = 60,
63 AgoraChatMultiDevicesEventConversationUnpinned = 61,
64 AgoraChatMultiDevicesEventConversationDelete = 62,
65};
66
68
69@optional
70
79- (void)multiDevicesContactEventDidReceive:(AgoraChatMultiDevicesEvent)aEvent
80 username:(NSString * _Nonnull)aUsername
81 ext:(NSString * _Nullable)aExt;
82
91- (void)multiDevicesGroupEventDidReceive:(AgoraChatMultiDevicesEvent)aEvent
92 groupId:(NSString * _Nonnull)aGroupId
93 ext:(id _Nullable)aExt;
103- (void)multiDevicesChatThreadEventDidReceive:(AgoraChatMultiDevicesEvent)aEvent
104 threadId:(NSString * _Nonnull)aThreadId
105 ext:(id _Nullable)aExt;
106
114- (void)multiDevicesUndisturbEventNotifyFormOtherDeviceData:(NSString *_Nullable)undisturbData;
122-(void)multiDevicesMessageBeRemoved:(NSString *_Nonnull)conversationId deviceId:(NSString *_Nonnull)deviceId;
123
132- (void)multiDevicesConversationEvent:(AgoraChatMultiDevicesEvent)event conversationId:(NSString *_Nonnull)conversationId conversationType:(AgoraChatConversationType)conversationType;
133
134@end
Definition: AgoraChatMultiDevicesDelegate.h:67