HyphenateSDK  3.3.0
Instance Methods | List of all members
<EMChatroomManagerDelegate> Protocol Reference

#import <EMChatroomManagerDelegate.h>

Inheritance diagram for <EMChatroomManagerDelegate>:

Instance Methods

(void) - userDidJoinChatroom:user:
 
(void) - userDidLeaveChatroom:user:
 
(void) - didDismissFromChatroom:reason:
 
(void) - chatroomMuteListDidUpdate:addedMutedMembers:muteExpire:
 
(void) - chatroomMuteListDidUpdate:removedMutedMembers:
 
(void) - chatroomAdminListDidUpdate:addedAdmin:
 
(void) - chatroomAdminListDidUpdate:removedAdmin:
 
(void) - chatroomOwnerDidUpdate:newOwner:oldOwner:
 
(void) - didReceiveUserJoinedChatroom:username:
 
(void) - didReceiveUserLeavedChatroom:username:
 
(void) - didReceiveKickedFromChatroom:reason:
 

Detailed Description

Callbacks of chatroom

Method Documentation

- (void) chatroomAdminListDidUpdate: (EMChatroom *)  aChatroom
addedAdmin: (NSString *)  aAdmin 
optional

User is added to the admin list

Parameters
aChatroomChatroom
aAdminUser to be added
- (void) chatroomAdminListDidUpdate: (EMChatroom *)  aChatroom
removedAdmin: (NSString *)  aAdmin 
optional

User is removed to the admin list

Parameters
aChatroomChatroom
aAdminUser to be removed
- (void) chatroomMuteListDidUpdate: (EMChatroom *)  aChatroom
addedMutedMembers: (NSArray *)  aMutes
muteExpire: (NSInteger)  aMuteExpire 
optional

Users are added to the mute list

Parameters
aChatroomChatroom
aMutedMembersUsers to be added
aMuteExpireMute expire, not available at this time
- (void) chatroomMuteListDidUpdate: (EMChatroom *)  aChatroom
removedMutedMembers: (NSArray *)  aMutes 
optional

Users are removed from the mute list

Parameters
aChatroomChatroom
aMutedMembersUsers to be removed
- (void) chatroomOwnerDidUpdate: (EMChatroom *)  aChatroom
newOwner: (NSString *)  aNewOwner
oldOwner: (NSString *)  aOldOwner 
optional

Owner is updated

Parameters
aChatroomChatroom
aNewOwnerNew Owner
aOldOwnerOld Owner
- (void) didDismissFromChatroom: (EMChatroom *)  aChatroom
reason: (EMChatroomBeKickedReason)  aReason 
optional

Delegate method will be invoked when a user is dismissed from a chat room

Parameters
aChatroomaChatroom
aReasonThe reason of dismissing user from the chat room
- (void) didReceiveKickedFromChatroom: (EMChatroom *)  aChatroom
reason: ("Use -didDismissFromChatroom:reason:")  __deprecated_msg 
optional

User was kicked out from a chatroom

Parameters
aChatroomThe chatroom which user was kicked out from
aReasonThe reason of user was kicked out
- (void) didReceiveUserJoinedChatroom: (EMChatroom *)  aChatroom
username: ("Use -userDidJoinChatroom:user:")  __deprecated_msg 
optional

Delegate method will be invoked when a user joins a chat room

Parameters
aChatroomJoined chatroom
aUsernameThe user who joined chatroom
- (void) didReceiveUserLeavedChatroom: (EMChatroom *)  aChatroom
username: ("Use -userDidLeaveChatroom:reason:")  __deprecated_msg 
optional

A user leaved chatroom

Parameters
aChatroomLeaved chatroom
aUsernameThe user who leaved chatroom
- (void) userDidJoinChatroom: (EMChatroom *)  aChatroom
user: (NSString *)  aUsername 
optional

Delegate method will be invoked when a user joins a chatroom.

Parameters
aChatroomJoined chatroom
aUsernameThe user who joined chatroom
- (void) userDidLeaveChatroom: (EMChatroom *)  aChatroom
user: (NSString *)  aUsername 
optional

Delegate method will be invoked when a user leaves a chatroom.

Parameters
aChatroomLeft chatroom
aUsernameThe user who leaved chatroom

The documentation for this protocol was generated from the following file: