#import <IEMChatroomManager.h>
◆ addAdmin:toChatroom:completion:
- (void) addAdmin: |
|
(NSString *) |
aAdmin |
toChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroomp, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Add chatroom admin, need Owner permissions
- Parameters
-
aAdmin | Admin |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ addAdmin:toChatroom:error:
- (EMChatroom *) addAdmin: |
|
(NSString *) |
aAdmin |
toChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Add chatroom admin, need Owner permissions
Synchronization method will block the current thread
- Parameters
-
aAdmin | Admin |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ addDelegate:
- (void) addDelegate: |
|
(3_1_0) |
|
|
|
(3_2_2) |
|
|
|
("Use - instead") |
EM_DEPRECATED_IOS[IEMChatroomManager addDelegate:delegateQueue:] |
|
|
| |
|
required |
◆ addDelegate:delegateQueue:
Add delegate
- Parameters
-
aDelegate | Delegate to be added |
aQueue | (optional) The queue of calling delegate methods. Pass in nil to run on main thread. |
◆ addWhiteListMembers:fromChatroom:completion:
- (void) addWhiteListMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
add white list members, need Owner / Admin permissions
- Parameters
-
aMembers | The list of whitelist, type is <NSString> |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ addWhiteListMembers:fromChatroom:error:
- (EMChatroom *) addWhiteListMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
add white list members, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aMembers | The list of whitelist, type is <NSString> |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ asyncFetchChatroomInfo:includeMembersList:success:failure:
Fetch chatroom's specification
- Parameters
-
aChatroomId | Chatroom id |
aIncludeMembersList | Whether get member list |
aSuccessBlock | The callback block of success |
aFailureBlock | The callback block of failure |
◆ asyncGetAllChatroomsFromServer:failure:
Get all the chatrooms from server
- Parameters
-
aSuccessBlock | The callback block of success |
aFailureBlock | The callback block of failure |
◆ asyncJoinChatroom:success:failure:
- (void) asyncJoinChatroom: |
|
(NSString *) |
aChatroomId |
success: |
|
(void(^)(EMChatroom *aRoom)) |
aSuccessBlock |
failure: |
|
("Use -joinChatroom:completion: instead") |
__deprecated_msg |
|
|
| |
|
required |
Join a chatroom
- Parameters
-
aChatroomId | Chatroom id |
aSuccessBlock | The callback block of success |
aFailureBlock | The callback block of failure |
◆ asyncLeaveChatroom:success:failure:
Leave a chatroom
- Parameters
-
aChatroomId | Chatroom id |
aSuccessBlock | The callback block of success |
aFailureBlock | The callback block of failure |
- Returns
- Leaved chatroom
◆ blockMembers:fromChatroom:completion:
- (void) blockMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Add users to chatroom blacklist, owner‘s authority is required
- Parameters
-
aMembers | Users to be added |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ blockMembers:fromChatroom:error:
- (EMChatroom *) blockMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Add users to chatroom blacklist, required owner‘s authority
Synchronization method will block the current thread
- Parameters
-
aMembers | Users to be added |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- Chatroom instance
◆ createChatroomWithSubject:description:invitees:message:maxMembersCount:completion:
- (void) createChatroomWithSubject: |
|
(NSString *) |
aSubject |
description: |
|
(NSString *) |
aDescription |
invitees: |
|
(NSArray *) |
aInvitees |
message: |
|
(NSString *) |
aMessage |
maxMembersCount: |
|
(NSInteger) |
aMaxMembersCount |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Create a chatroom
- Parameters
-
aSubject | Group subject |
aDescription | Group description |
aInvitees | Group members, without creater |
aMessage | Invitation message |
aMaxMembersCount | Max members count |
aCompletionBlock | The callback block of completion |
◆ createChatroomWithSubject:description:invitees:message:maxMembersCount:error:
- (EMChatroom *) createChatroomWithSubject: |
|
(NSString *) |
aSubject |
description: |
|
(NSString *) |
aDescription |
invitees: |
|
(NSArray *) |
aInvitees |
message: |
|
(NSString *) |
aMessage |
maxMembersCount: |
|
(NSInteger) |
aMaxMembersCount |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Create a chatroom
Synchronization method will block the current thread
- Parameters
-
aSubject | Subject |
aDescription | Description |
aInvitees | Members, without creater |
aMessage | Invitation message |
aMaxMembersCount | Max members count |
pError | Error |
- Returns
- EMChatroom Created chatroom
◆ destroyChatroom:
- (EMError *) destroyChatroom: |
|
(NSString *) |
aChatroomId |
|
|
required |
Destroy a group, owner‘s authority is required
Synchronization method will block the current thread
- Parameters
-
- Returns
- EMError Error, return nil if success
◆ destroyChatroom:completion:
Destroy a group, owner‘s authority is required
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ fetchChatroomInfo:includeMembersList:error:
- (EMChatroom *) fetchChatroomInfo: |
|
(NSString *) |
aChatroomId |
includeMembersList: |
|
(BOOL) |
aIncludeMembersList |
error: |
|
(3_1_0) |
|
|
|
(3_3_0) |
|
|
|
("Use - instead") |
EM_DEPRECATED_IOS[IEMChatroomManager getChatroomSpecificationFromServerWithId:error:] |
|
|
| |
|
required |
Fetch chatroom's specification
Synchronization method, will block the current thread
- Parameters
-
aChatroomId | Chatroom id |
aIncludeMembersList | Whether to get member list,When YES, returns 200 members |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ getAllChatroomsFromServerWithCompletion:
- (void) getAllChatroomsFromServerWithCompletion: |
|
("Use -getChatroomsFromServerWithPage instead") |
__deprecated_msg |
|
|
required |
Get all the chatrooms from server
- Parameters
-
aCompletionBlock | The callback block of completion |
◆ getAllChatroomsFromServerWithError:
- (NSArray *) getAllChatroomsFromServerWithError: |
|
("Use -getChatroomsFromServerWithPage instead") |
__deprecated_msg |
|
|
required |
Get all the chatrooms from server
Synchronization method will block the current thread
- Parameters
-
- Returns
- Chat room NSArray<EMChatroom>
◆ getChatroomAnnouncementWithId:completion:
- (void) getChatroomAnnouncementWithId: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(NSString *aAnnouncement, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Get the announcement of chatroom from the server
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ getChatroomAnnouncementWithId:error:
- (NSString *) getChatroomAnnouncementWithId: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Get the announcement of chatroom from the server
- Parameters
-
aChatroomId | Chatroom id |
pError | error |
- Returns
- The announcement of chatroom
◆ getChatroomBlacklistFromServerWithId:pageNumber:pageSize:completion:
- (void) getChatroomBlacklistFromServerWithId: |
|
(NSString *) |
aChatroomId |
pageNumber: |
|
(NSInteger) |
aPageNum |
pageSize: |
|
(NSInteger) |
aPageSize |
completion: |
|
(void(^)(NSArray *aList, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Get chatroom's blacklist, need owner / admin permissions
- Parameters
-
aChatroomId | Chatroom id |
aPageNum | Page number |
aPageSize | Page size |
aCompletionBlock | The callback block of completion |
◆ getChatroomBlacklistFromServerWithId:pageNumber:pageSize:error:
- (NSArray *) getChatroomBlacklistFromServerWithId: |
|
(NSString *) |
aChatroomId |
pageNumber: |
|
(NSInteger) |
aPageNum |
pageSize: |
|
(NSInteger) |
aPageSize |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Get the blacklist of chatroom from the server, need owner / admin permissions
- Parameters
-
aChatroomId | Chatroom id |
aPageNum | Page number |
aPageSize | Page size |
pError | Error |
◆ getChatroomMemberListFromServerWithId:cursor:pageSize:completion:
- (void) getChatroomMemberListFromServerWithId: |
|
(NSString *) |
aChatroomId |
cursor: |
|
(NSString *) |
aCursor |
pageSize: |
|
(NSInteger) |
aPageSize |
completion: |
|
(void(^)(EMCursorResult *aResult, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Get the list of chatroom members from the server
- Parameters
-
aChatroomId | Chatroom id |
aCursor | Cursor, input nil the first time |
aPageSize | Page size |
aCompletionBlock | The callback block of completion |
◆ getChatroomMemberListFromServerWithId:cursor:pageSize:error:
- (EMCursorResult *) getChatroomMemberListFromServerWithId: |
|
(NSString *) |
aChatroomId |
cursor: |
|
(NSString *) |
aCursor |
pageSize: |
|
(NSInteger) |
aPageSize |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Get the list of chatroom members from the server
- Parameters
-
aChatroomId | Chatroom id |
aCursor | Cursor, input nil the first time |
aPageSize | Page size |
pError | Error |
- Returns
- List and cursor
◆ getChatroomMuteListFromServerWithId:pageNumber:pageSize:completion:
- (void) getChatroomMuteListFromServerWithId: |
|
(NSString *) |
aChatroomId |
pageNumber: |
|
(NSInteger) |
aPageNum |
pageSize: |
|
(NSInteger) |
aPageSize |
completion: |
|
(void(^)(NSArray *aList, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Get the mutes of chatroom from the server
Chatroom manager and the chatroom administrator allow the operate
- Parameters
-
aChatroomId | Chatroom id |
aPageNum | Page number |
aPageSize | Page size |
aCompletionBlock | The callback block of completion |
◆ getChatroomMuteListFromServerWithId:pageNumber:pageSize:error:
- (NSArray *) getChatroomMuteListFromServerWithId: |
|
(NSString *) |
aChatroomId |
pageNumber: |
|
(NSInteger) |
aPageNum |
pageSize: |
|
(NSInteger) |
aPageSize |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Get the mutes of chatroom from the server
Chatroom manager and the chatroom administrator allow the operate
- Parameters
-
aChatroomId | Chatroom id |
aPageNum | Page number |
aPageSize | Page size |
pError | Error |
◆ getChatroomsFromServerWithPage:pageSize:completion:
- (void) getChatroomsFromServerWithPage: |
|
(NSInteger) |
aPageNum |
pageSize: |
|
(NSInteger) |
aPageSize |
completion: |
|
(void(^)(EMPageResult *aResult, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Get all the chatrooms from server
- Parameters
-
aPageNum | Page number |
aPageSize | Page size |
aCompletionBlock | The callback block of completion |
◆ getChatroomsFromServerWithPage:pageSize:error:
- (EMPageResult *) getChatroomsFromServerWithPage: |
|
(NSInteger) |
aPageNum |
pageSize: |
|
(NSInteger) |
aPageSize |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Get pagesize number chatroom from server.
Synchronization method will block the current thread
- Parameters
-
aPageNum | Page number |
aPageSize | Page size |
pError | Error |
- Returns
- EMPageResult Chatroom list is in the object's list
◆ getChatroomSpecificationFromServerByID:includeMembersList:completion:
- (void) getChatroomSpecificationFromServerByID: |
|
(NSString *) |
aChatroomId |
includeMembersList: |
|
(BOOL) |
aIncludeMembersList |
completion: |
|
(3_1_0) |
|
|
|
(3_3_0) |
|
|
|
("Use - instead") |
EM_DEPRECATED_IOS[IEMChatroomManager getChatroomSpecificationFromServerWithId:completion:] |
|
|
| |
|
required |
Fetch chat room specifications
- Parameters
-
aChatroomId | Chatroom id |
aIncludeMembersList | Whether to get member list,When YES, returns 200 members |
aCompletionBlock | The callback block of completion |
◆ getChatroomSpecificationFromServerWithId:completion:
- (void) getChatroomSpecificationFromServerWithId: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Fetch chat room specifications
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ getChatroomSpecificationFromServerWithId:error:
- (EMChatroom *) getChatroomSpecificationFromServerWithId: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Fetch chatroom's specification
Synchronization method, will block the current thread
- Parameters
-
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ getChatroomWhiteListFromServerWithId:completion:
- (void) getChatroomWhiteListFromServerWithId: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(NSArray *aList, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Get the whitelist of chatroom from the server
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ getChatroomWhiteListFromServerWithId:error:
- (NSArray *) getChatroomWhiteListFromServerWithId: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Get the whitelist of chatroom from the server
- Parameters
-
aChatroomId | Chatroom id |
pError | Error |
◆ isMemberInWhiteListFromServerWithChatroomId:completion:
- (void) isMemberInWhiteListFromServerWithChatroomId: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(BOOL inWhiteList, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Gets whether the member is on the whitelist
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ isMemberInWhiteListFromServerWithChatroomId:error:
- (BOOL) isMemberInWhiteListFromServerWithChatroomId: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Gets whether the member is on the whitelist
- Parameters
-
aChatroomId | Chatroom id |
pError | Error |
◆ joinChatroom:completion:
- (void) joinChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Join a chatroom
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ joinChatroom:error:
Join a chatroom
Synchronization method will block the current thread
- Parameters
-
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Joined chatroom
◆ leaveChatroom:completion:
- (void) leaveChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Leave a chatroom
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ leaveChatroom:error:
- (void) leaveChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Leave a chatroom
Synchronization method will block the current thread
- Parameters
-
aChatroomId | Chatroom id |
pError | Error |
◆ muteAllMembersFromChatroom:completion:
- (void) muteAllMembersFromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
mute all members, need Owner / Admin permissions
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ muteAllMembersFromChatroom:error:
- (EMChatroom *) muteAllMembersFromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
mute all members, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ muteMembers:muteMilliseconds:fromChatroom:completion:
- (void) muteMembers: |
|
(NSArray *) |
aMuteMembers |
muteMilliseconds: |
|
(NSInteger) |
aMuteMilliseconds |
fromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Mute chatroom members, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aMuteMembers | The list of mute, type is <NSString> |
aMuteMilliseconds | Muted time duration in millisecond |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ muteMembers:muteMilliseconds:fromChatroom:error:
- (EMChatroom *) muteMembers: |
|
(NSArray *) |
aMuteMembers |
muteMilliseconds: |
|
(NSInteger) |
aMuteMilliseconds |
fromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Mute chatroom members, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aMuteMembers | The list of mute, type is <NSString> |
aMuteMilliseconds | Muted time duration in millisecond |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ removeAdmin:fromChatroom:completion:
- (void) removeAdmin: |
|
(NSString *) |
aAdmin |
fromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Remove chatroom admin, need Owner permissions
- Parameters
-
aAdmin | Admin |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ removeAdmin:fromChatroom:error:
- (EMChatroom *) removeAdmin: |
|
(NSString *) |
aAdmin |
fromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Remove chatroom admin, need Owner permissions
Synchronization method will block the current thread
- Parameters
-
aAdmin | Admin |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ removeDelegate:
Remove delegate
- Parameters
-
aDelegate | Delegate to be removed |
◆ removeMembers:fromChatroom:completion:
- (void) removeMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Remove members from a group, owner‘s authority is required
- Parameters
-
aMembers | Users to be removed |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ removeMembers:fromChatroom:error:
- (EMChatroom *) removeMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Remove members from a chatroom, required owner‘s authority
Synchronization method will block the current thread
- Parameters
-
aMembers | Users to be removed |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- Chatroom instance
◆ removeWhiteListMembers:fromChatroom:completion:
- (void) removeWhiteListMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
remove white list members, need Owner / Admin permissions
- Parameters
-
aMembers | The remove list of whitelist, type is <NSString> |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ removeWhiteListMembers:fromChatroom:error:
- (EMChatroom *) removeWhiteListMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
remove white list members, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aMembers | The remove list of whitelist, type is <NSString> |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ unblockMembers:fromChatroom:completion:
- (void) unblockMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Remove users from chatroom blacklist, owner‘s authority is required
- Parameters
-
aMembers | Users to be removed |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ unblockMembers:fromChatroom:error:
- (EMChatroom *) unblockMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Remove users from chatroom blacklist, required owner‘s authority
Synchronization method will block the current thread
- Parameters
-
aMembers | Users to be removed |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- Chatroom instance
◆ unmuteAllMembersFromChatroom:completion:
- (void) unmuteAllMembersFromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
unmute all members, need Owner / Admin permissions
- Parameters
-
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ unmuteAllMembersFromChatroom:error:
- (EMChatroom *) unmuteAllMembersFromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
unmute all members, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ unmuteMembers:fromChatroom:completion:
- (void) unmuteMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Unmute chatroom members, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aMembers | The list of unmute, type is <NSString> |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ unmuteMembers:fromChatroom:error:
- (EMChatroom *) unmuteMembers: |
|
(NSArray *) |
aMembers |
fromChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Unmute chatroom members, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aMembers | The list of unmute, type is <NSString> |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ updateChatroomAnnouncementWithId:announcement:completion:
- (void) updateChatroomAnnouncementWithId: |
|
(NSString *) |
aChatroomId |
announcement: |
|
(NSString *) |
aAnnouncement |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Change the announcement of chatroom, need Owner / Admin permissions
- Parameters
-
aChatroomId | Chatroom id |
aAnnouncement | announcement of chatroom |
aCompletionBlock | The callback block of completion |
◆ updateChatroomAnnouncementWithId:announcement:error:
- (EMChatroom *) updateChatroomAnnouncementWithId: |
|
(NSString *) |
aChatroomId |
announcement: |
|
(NSString *) |
aAnnouncement |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Change the announcement of chatroom, need Owner / Admin permissions
Synchronization method will block the current thread
- Parameters
-
aChatroomId | Chatroom id |
aAnnouncement | announcement of chatroom |
pError | error |
- Returns
- EMChatroom Chatroom instance
◆ updateChatroomOwner:newOwner:completion:
- (void) updateChatroomOwner: |
|
(NSString *) |
aChatroomId |
newOwner: |
|
(NSString *) |
aNewOwner |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Change chatroom owner, need Owner permissions
- Parameters
-
aChatroomId | Chatroom id |
aNewOwner | New owner |
aCompletionBlock | The callback block of completion |
◆ updateChatroomOwner:newOwner:error:
- (EMChatroom *) updateChatroomOwner: |
|
(NSString *) |
aChatroomId |
newOwner: |
|
(NSString *) |
aNewOwner |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Change chatroom owner, need Owner permissions
Synchronization method will block the current thread
- Parameters
-
aChatroomId | Chatroom id |
aNewOwner | New owner |
pError | Error |
- Returns
- EMChatroom Chatroom instance
◆ updateDescription:forChatroom:completion:
- (void) updateDescription: |
|
(NSString *) |
aDescription |
forChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Change the chatroom description, owner‘s authority is required
- Parameters
-
aDescription | New description |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ updateDescription:forChatroom:error:
- (EMChatroom *) updateDescription: |
|
(NSString *) |
aDescription |
forChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Change chatroom description, owner‘s authority is required
Synchronization method will block the current thread
- Parameters
-
aDescription | New description |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- Chatroom
◆ updateSubject:forChatroom:completion:
- (void) updateSubject: |
|
(NSString *) |
aSubject |
forChatroom: |
|
(NSString *) |
aChatroomId |
completion: |
|
(void(^)(EMChatroom *aChatroom, EMError *aError)) |
aCompletionBlock |
|
|
| |
|
required |
Change the chatroom subject, owner‘s authority is required
- Parameters
-
aSubject | New subject |
aChatroomId | Chatroom id |
aCompletionBlock | The callback block of completion |
◆ updateSubject:forChatroom:error:
- (EMChatroom *) updateSubject: |
|
(NSString *) |
aSubject |
forChatroom: |
|
(NSString *) |
aChatroomId |
error: |
|
(EMError **) |
pError |
|
|
| |
|
required |
Change chatroom subject, owner‘s authority is required
Synchronization method will block the current thread
- Parameters
-
aSubject | New subject |
aChatroomId | Chatroom id |
pError | Error |
- Returns
- Chatroom instance
The documentation for this protocol was generated from the following file: