9#import <Foundation/Foundation.h>
10NS_ASSUME_NONNULL_BEGIN
16typedef NS_ENUM(NSInteger, AgoraChatroomBeKickedReason)
18 AgoraChatroomBeKickedReasonBeRemoved = 0,
19 AgoraChatroomBeKickedReasonDestroyed,
20 AgoraChatroomBeKickedReasonOffline,
41 user:(NSString *)aUsername;
51 user:(NSString *)aUsername;
61 reason:(AgoraChatroomBeKickedReason)aReason;
69- (void)chatroomSpecificationDidUpdate:(
AgoraChatroom *)aChatroom;
80 addedMutedMembers:(NSArray<NSString *> *)aMutes
81 muteExpire:(NSInteger)aMuteExpire;
91 removedMutedMembers:(NSArray<NSString *> *)aMutes;
101 addedWhiteListMembers:(NSArray<NSString *> *)aMembers;
111 removedWhiteListMembers:(NSArray<NSString *> *)aMembers;
120- (void)chatroomAllMemberMuteChanged:(
AgoraChatroom *)aChatroom
121 isAllMemberMuted:(BOOL)aMuted;
131 addedAdmin:(NSString *)aAdmin;
141 removedAdmin:(NSString *)aAdmin;
152 newOwner:(NSString *)aNewOwner
153 oldOwner:(NSString *)aOldOwner;
162- (void)chatroomAnnouncementDidUpdate:(
AgoraChatroom *)aChatroom
163 announcement:(NSString * _Nullable )aAnnouncement;
172- (void)chatroomAttributesDidUpdated:( NSString * _Nonnull )roomId attributeMap:(NSDictionary<NSString*,NSString*> * _Nonnull)attributeMap from:(NSString * _Nonnull)fromId;
181- (void)chatroomAttributesDidRemoved:( NSString * _Nonnull )roomId attributes:(NSArray<__kindof NSString*> * _Nonnull)attributes from:(NSString * _Nonnull)fromId;
183#pragma mark - Deprecated methods
194- (void)didReceiveUserJoinedChatroom:(
AgoraChatroom *)aChatroom
195 username:(NSString *)aUsername __deprecated_msg("Use -userDidJoinChatroom:user: instead");
206- (void)didReceiveUserLeavedChatroom:(
AgoraChatroom *)aChatroom
207 username:(NSString *)aUsername __deprecated_msg("Use -userDidLeaveChatroom:reason: instead");
218- (void)didReceiveKickedFromChatroom:(
AgoraChatroom *)aChatroom
219 reason:(AgoraChatroomBeKickedReason)aReason __deprecated_msg("Use -didDismissFromChatroom:reason: instead");
Definition: AgoraChatroom.h:30
Definition: AgoraChatroomManagerDelegate.h:29