15#import <Foundation/Foundation.h>
16NS_ASSUME_NONNULL_BEGIN
25typedef NS_ENUM(NSInteger, EMChatroomBeKickedReason)
27 EMChatroomBeKickedReasonBeRemoved = 0,
28 EMChatroomBeKickedReasonDestroyed,
29 EMChatroomBeKickedReasonOffline,
58- (void)userDidJoinChatroom:(
EMChatroom *)aChatroom
59 user:(NSString *)aUsername;
74- (void)userDidLeaveChatroom:(
EMChatroom *)aChatroom
75 user:(NSString *)aUsername;
90- (void)didDismissFromChatroom:(
EMChatroom *)aChatroom
91 reason:(EMChatroomBeKickedReason)aReason;
104- (void)chatroomSpecificationDidUpdate:(
EMChatroom *)aChatroom;
121- (void)chatroomMuteListDidUpdate:(
EMChatroom *)aChatroom
122 addedMutedMembers:(NSArray<NSString *> *)aMutes
123 muteExpire:(NSInteger)aMuteExpire;
138- (void)chatroomMuteListDidUpdate:(
EMChatroom *)aChatroom
139 removedMutedMembers:(NSArray<NSString *> *)aMutes;
154- (void)chatroomWhiteListDidUpdate:(
EMChatroom *)aChatroom
155 addedWhiteListMembers:(NSArray<NSString *> *)aMembers;
170- (void)chatroomWhiteListDidUpdate:(
EMChatroom *)aChatroom
171 removedWhiteListMembers:(NSArray<NSString *> *)aMembers;
186- (void)chatroomAllMemberMuteChanged:(
EMChatroom *)aChatroom
187 isAllMemberMuted:(BOOL)aMuted;
202- (void)chatroomAdminListDidUpdate:(
EMChatroom *)aChatroom
203 addedAdmin:(NSString *)aAdmin;
218- (void)chatroomAdminListDidUpdate:(
EMChatroom *)aChatroom
219 removedAdmin:(NSString *)aAdmin;
236- (void)chatroomOwnerDidUpdate:(
EMChatroom *)aChatroom
237 newOwner:(NSString *)aNewOwner
238 oldOwner:(NSString *)aOldOwner;
253- (void)chatroomAnnouncementDidUpdate:(
EMChatroom *)aChatroom
254 announcement:(NSString * _Nullable )aAnnouncement;
270- (void)chatroomAttributesDidUpdated:( NSString * _Nonnull )roomId attributeMap:(NSDictionary<NSString*,NSString*> * _Nonnull)attributeMap from:(NSString * _Nonnull)fromId;
286- (void)chatroomAttributesDidRemoved:( NSString * _Nonnull )roomId attributes:(NSArray<__kindof NSString*> * _Nonnull)attributes from:(NSString * _Nonnull)fromId;
288#pragma mark - Deprecated methods
307- (void)didReceiveUserJoinedChatroom:(
EMChatroom *)aChatroom
308 username:(NSString *)aUsername __deprecated_msg("Use -userDidJoinChatroom:user: instead");
327- (void)didReceiveUserLeavedChatroom:(
EMChatroom *)aChatroom
328 username:(NSString *)aUsername __deprecated_msg("Use -userDidLeaveChatroom:reason: instead");
347- (void)didReceiveKickedFromChatroom:(
EMChatroom *)aChatroom
348 reason:(EMChatroomBeKickedReason)aReason __deprecated_msg("Use -didDismissFromChatroom:reason: instead");
Definition: EMChatroom.h:42
Definition: EMChatroomManagerDelegate.h:41