AgoraChatSDK 1.3.1
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 AgoraChatMultiDevicesEventConversationUpdateMark = 63,
66 AgoraChatMultiDevicesEventConversationMuteInfoChanged = 64,
67};
68
70
71@optional
72
81- (void)multiDevicesContactEventDidReceive:(AgoraChatMultiDevicesEvent)aEvent
82 username:(NSString * _Nonnull)aUsername
83 ext:(NSString * _Nullable)aExt;
84
93- (void)multiDevicesGroupEventDidReceive:(AgoraChatMultiDevicesEvent)aEvent
94 groupId:(NSString * _Nonnull)aGroupId
95 ext:(id _Nullable)aExt;
105- (void)multiDevicesChatThreadEventDidReceive:(AgoraChatMultiDevicesEvent)aEvent
106 threadId:(NSString * _Nonnull)aThreadId
107 ext:(id _Nullable)aExt;
108
116- (void)multiDevicesUndisturbEventNotifyFormOtherDeviceData:(NSString *_Nullable)undisturbData __deprecated_msg("Use -multiDevicesConversationEvent:conversationId:conversationType: instead");
124-(void)multiDevicesMessageBeRemoved:(NSString *_Nonnull)conversationId deviceId:(NSString *_Nonnull)deviceId;
125
134- (void)multiDevicesConversationEvent:(AgoraChatMultiDevicesEvent)event conversationId:(NSString *_Nonnull)conversationId conversationType:(AgoraChatConversationType)conversationType;
135
136@end
Definition: AgoraChatMultiDevicesDelegate.h:69