9#import <Foundation/Foundation.h>
10NS_ASSUME_NONNULL_BEGIN
16typedef NS_ENUM(NSInteger, AgoraChatroomBeKickedReason)
18 AgoraChatroomBeKickedReasonBeRemoved = 0,
19 AgoraChatroomBeKickedReasonDestroyed,
20 AgoraChatroomBeKickedReasonOffline,
43 user:(NSString *)aUsername
44 ext:(NSString* _Nullable)ext;
54 user:(NSString *)aUsername;
64 reason:(AgoraChatroomBeKickedReason)aReason;
72- (void)chatroomSpecificationDidUpdate:(
AgoraChatroom *)aChatroom;
83 addedMutedMembers:(NSArray<NSString *> *)aMutes
84 muteExpire:(NSInteger)aMuteExpire;
94 removedMutedMembers:(NSArray<NSString *> *)aMutes;
104 addedWhiteListMembers:(NSArray<NSString *> *)aMembers;
114 removedWhiteListMembers:(NSArray<NSString *> *)aMembers;
123- (void)chatroomAllMemberMuteChanged:(
AgoraChatroom *)aChatroom
124 isAllMemberMuted:(BOOL)aMuted;
134 addedAdmin:(NSString *)aAdmin;
144 removedAdmin:(NSString *)aAdmin;
155 newOwner:(NSString *)aNewOwner
156 oldOwner:(NSString *)aOldOwner;
165- (void)chatroomAnnouncementDidUpdate:(
AgoraChatroom *)aChatroom
166 announcement:(NSString * _Nullable )aAnnouncement;
175- (void)chatroomAttributesDidUpdated:( NSString * _Nonnull )roomId attributeMap:(NSDictionary<NSString*,NSString*> * _Nonnull)attributeMap from:(NSString * _Nonnull)fromId;
184- (void)chatroomAttributesDidRemoved:( NSString * _Nonnull )roomId attributes:(NSArray<__kindof NSString*> * _Nonnull)attributes from:(NSString * _Nonnull)fromId;
186#pragma mark - Deprecated methods
197- (void)didReceiveUserJoinedChatroom:(
AgoraChatroom *)aChatroom
198 username:(NSString *)aUsername __deprecated_msg("Use -userDidJoinChatroom:user: instead");
209- (void)didReceiveUserLeavedChatroom:(
AgoraChatroom *)aChatroom
210 username:(NSString *)aUsername __deprecated_msg("Use -userDidLeaveChatroom:reason: instead");
221- (void)didReceiveKickedFromChatroom:(
AgoraChatroom *)aChatroom
222 reason:(AgoraChatroomBeKickedReason)aReason __deprecated_msg("Use -didDismissFromChatroom:reason: instead");
232 user:(NSString *)aUsername __deprecated_msg("Use -userDidJoinChatroom:user:ext: instead");
Definition: AgoraChatroom.h:30
Definition: AgoraChatroomManagerDelegate.h:29