#import <AgoraChatroomManagerDelegate.h>
- (void) chatroomAdminListDidUpdate: |
|
(AgoraChatroom *) |
aChatroom |
addedAdmin: |
|
(NSString *) |
aAdmin |
|
|
| |
|
optional |
User is added to the admin list
- Parameters
-
aChatroom | Chatroom |
aAdmin | User to be added adminList |
- (void) chatroomAdminListDidUpdate: |
|
(AgoraChatroom *) |
aChatroom |
removedAdmin: |
|
(NSString *) |
aAdmin |
|
|
| |
|
optional |
User is removed to the admin list
- Parameters
-
aChatroom | Chatroom |
aAdmin | User to be removed from adminList |
- (void) chatroomAllMemberMuteChanged: |
|
(AgoraChatroom *) |
aChatroom |
isAllMemberMuted: |
|
(BOOL) |
aMuted |
|
|
| |
|
optional |
Group members are all muted
- Parameters
-
aChatroom | Chatroom |
aMuted | Whether all member be muted |
- (void) chatroomAnnouncementDidUpdate: |
|
(AgoraChatroom *) |
aChatroom |
announcement: |
|
(NSString *) |
aAnnouncement |
|
|
| |
|
optional |
Announcement is updated
- Parameters
-
aChatroom | Chatroom |
aAnnouncement | Announcement |
- (void) chatroomMuteListDidUpdate: |
|
(AgoraChatroom *) |
aChatroom |
addedMutedMembers: |
|
(NSArray *) |
aMutes |
muteExpire: |
|
(NSInteger) |
aMuteExpire |
|
|
| |
|
optional |
Users are added to the mute list
- Parameters
-
aChatroom | Chatroom |
aMutedMembers | Users to be Muted |
aMuteExpire | Mute expire, not available at this time |
- (void) chatroomMuteListDidUpdate: |
|
(AgoraChatroom *) |
aChatroom |
removedMutedMembers: |
|
(NSArray *) |
aMutes |
|
|
| |
|
optional |
Users are removed from the mute list
- Parameters
-
aChatroom | Chatroom |
aMutedMembers | Users to be removed from MutedList |
- (void) chatroomOwnerDidUpdate: |
|
(AgoraChatroom *) |
aChatroom |
newOwner: |
|
(NSString *) |
aNewOwner |
oldOwner: |
|
(NSString *) |
aOldOwner |
|
|
| |
|
optional |
Owner is updated
- Parameters
-
aChatroom | Chatroom |
aNewOwner | New Owner |
aOldOwner | Old Owner |
- (void) chatroomWhiteListDidUpdate: |
|
(AgoraChatroom *) |
aChatroom |
addedWhiteListMembers: |
|
(NSArray *) |
aMembers |
|
|
| |
|
optional |
Users are added to the white list
- Parameters
-
aChatroom | Chatroom |
aMutedMembers | Users to be added whiteList |
- (void) chatroomWhiteListDidUpdate: |
|
(AgoraChatroom *) |
aChatroom |
removedWhiteListMembers: |
|
(NSArray *) |
aMembers |
|
|
| |
|
optional |
Users are removed from the white list
- Parameters
-
aChatroom | Chatroom |
aMutedMembers | Users to be removed from whiteList |
- (void) didDismissFromChatroom: |
|
(AgoraChatroom *) |
aChatroom |
reason: |
|
(AgoraChatroomBeKickedReason) |
aReason |
|
|
| |
|
optional |
Delegate method will be invoked when a user is dismissed from a chat room
- Parameters
-
aChatroom | aChatroom |
aReason | The reason of dismissing user from the chat room |
User was kicked out from a chatroom
- Parameters
-
aChatroom | The chatroom which user was kicked out from |
aReason | The reason of user was kicked out |
Delegate method will be invoked when a user joins a chat room
- Parameters
-
aChatroom | Joined chatroom |
aUsername | The user who joined chatroom |
- (void) didReceiveUserLeavedChatroom: |
|
(AgoraChatroom *) |
aChatroom |
username: |
|
("Use -userDidLeaveChatroom:reason: instead") |
__deprecated_msg |
|
|
| |
|
optional |
A user leaved chatroom
- Parameters
-
aChatroom | Leaved chatroom |
aUsername | The user who leaved chatroom |
- (void) userDidJoinChatroom: |
|
(AgoraChatroom *) |
aChatroom |
user: |
|
(NSString *) |
aUsername |
|
|
| |
|
optional |
Delegate method will be invoked when a user joins a chatroom.
- Parameters
-
aChatroom | Joined chatroom |
aUsername | The user who joined chatroom |
- (void) userDidLeaveChatroom: |
|
(AgoraChatroom *) |
aChatroom |
user: |
|
(NSString *) |
aUsername |
|
|
| |
|
optional |
Delegate method will be invoked when a user leaves a chatroom.
- Parameters
-
aChatroom | Left chatroom |
aUsername | The user who leaved chatroom |
The documentation for this protocol was generated from the following file: