类的使用
com.easemob.im.ApiException
使用ApiException的程序包
-
com.easemob.im中ApiException的使用
参数类型为ApiException的com.easemob.im中的方法修饰符和类型方法说明voidThis is called when the API call fails.抛出ApiException的com.easemob.im中的方法修饰符和类型方法说明ApiClient.Builder.build()okhttp3.RequestApiClient.buildAppTokenRequest(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build an HTTP request with the given options.okhttp3.CallApiClient.buildCall(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build HTTP call with the given options.okhttp3.RequestApiClient.buildRequest(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build an HTTP request with the given options.ApiClient.createAppToken(EMCreateToken createAppToken) POST tokenokhttp3.CallApiClient.createAppTokenCall(EMCreateToken createAppToken, ApiCallback _callback) Build call for createAppTokenApiClient.createAppTokenWithHttpInfo(EMCreateToken createAppToken) POST token<T> TApiClient.deserialize(okhttp3.Response response, Type returnType) Deserialize response body to Java object, according to the return type and the Content-Type response header.ApiClient.downloadFileFromResponse(okhttp3.Response response) Download file from the given response.<T> ApiResponse<T>ApiClient.execute(okhttp3.Call call) <T> ApiResponse<T>Execute HTTP call and deserialize the HTTP response body into the given return type.ApiClient.getAppToken()<T> TApiClient.handleResponse(okhttp3.Response response, Type returnType) Handle the given response, return the deserialized object when the response is successful.okhttp3.RequestBodySerialize the given Java object into request body according to the object's class and the request Content-Type.voidApiClient.updateParamsForAuth(String[] authNames, List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Update query and header parameters based on authentication settings.抛出ApiException的com.easemob.im中的构造器限定符构造器说明ApiClient(String basePath, ApiClient.Realm realm, String appKey, String clientId, String clientSecret, String appId, String appCert, int maxIdleConnections, int connectKeepAliveMilliSeconds, int connectTimeoutMilliSeconds, ApiClient.EMProxy proxy, int dispatcherMaxRequests, int dispatcherMaxRequestsPerHost) ApiClient(okhttp3.OkHttpClient client) Basic constructor with custom OkHttpClient -
com.easemob.im.api中ApiException的使用
修饰符和类型方法说明ContactApi.addContact(String ownerUsername, String friendUsername) 添加好友 添加好友,好友必须是和当前用户在一个 App Key 下的用户。okhttp3.CallContactApi.addContactAsync(String ownerUsername, String friendUsername, ApiCallback<EMAddContactResult> _callback) 添加好友 (asynchronously) 添加好友,好友必须是和当前用户在一个 App Key 下的用户。okhttp3.CallContactApi.addContactCall(String ownerUsername, String friendUsername, ApiCallback _callback) Build call for addContactContactApi.addContactWithHttpInfo(String ownerUsername, String friendUsername) 添加好友 添加好友,好友必须是和当前用户在一个 App Key 下的用户。GroupApi.addGroupAdmin(String groupId, EMAddGroupAdmin emAddGroupAdmin) 添加群管理员 将一个普通群成员设为为群管理员。okhttp3.CallGroupApi.addGroupAdminAsync(String groupId, EMAddGroupAdmin emAddGroupAdmin, ApiCallback<EMAddGroupAdminResult> _callback) 添加群管理员 (asynchronously) 将一个普通群成员设为为群管理员。okhttp3.CallGroupApi.addGroupAdminCall(String groupId, EMAddGroupAdmin emAddGroupAdmin, ApiCallback _callback) Build call for addGroupAdminGroupApi.addGroupAdminWithHttpInfo(String groupId, EMAddGroupAdmin emAddGroupAdmin) 添加群管理员 将一个普通群成员设为为群管理员。ThreadApi.addMultipleUsersToThread(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread) 用户批量加入子区 用户批量加入指定的子区。okhttp3.CallThreadApi.addMultipleUsersToThreadAsync(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread, ApiCallback<EMAddMultipleUsersToThreadResult> _callback) 用户批量加入子区 (asynchronously) 用户批量加入指定的子区。okhttp3.CallThreadApi.addMultipleUsersToThreadCall(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread, ApiCallback _callback) Build call for addMultipleUsersToThreadThreadApi.addMultipleUsersToThreadWithHttpInfo(String threadId, EMAddMultipleUsersToThread emAddMultipleUsersToThread) 用户批量加入子区 用户批量加入指定的子区。GroupApi.addMultipleUserToGroup(String groupId, EMAddMultipleUserToGroup emAddMultipleUserToGroup) 批量添加群组成员 一次为群组添加多个成员,每次最多可以添加 60 位成员。okhttp3.CallGroupApi.addMultipleUserToGroupAsync(String groupId, EMAddMultipleUserToGroup emAddMultipleUserToGroup, ApiCallback<EMAddMultipleUserToGroupResult> _callback) 批量添加群组成员 (asynchronously) 一次为群组添加多个成员,每次最多可以添加 60 位成员。GroupApi.addMultipleUserToGroupBlockList(String groupId, EMAddMultipleUserToGroupBlockList emAddMultipleUserToGroupBlockList) 批量添加用户至群组黑名单 将多个用户添加至群组黑名单,一次最多可以添加 60 个用户。okhttp3.CallGroupApi.addMultipleUserToGroupBlockListAsync(String groupId, EMAddMultipleUserToGroupBlockList emAddMultipleUserToGroupBlockList, ApiCallback<EMAddMultipleUserToGroupBlockListResult> _callback) 批量添加用户至群组黑名单 (asynchronously) 将多个用户添加至群组黑名单,一次最多可以添加 60 个用户。okhttp3.CallGroupApi.addMultipleUserToGroupBlockListCall(String groupId, EMAddMultipleUserToGroupBlockList emAddMultipleUserToGroupBlockList, ApiCallback _callback) Build call for addMultipleUserToGroupBlockListGroupApi.addMultipleUserToGroupBlockListWithHttpInfo(String groupId, EMAddMultipleUserToGroupBlockList emAddMultipleUserToGroupBlockList) 批量添加用户至群组黑名单 将多个用户添加至群组黑名单,一次最多可以添加 60 个用户。okhttp3.CallGroupApi.addMultipleUserToGroupCall(String groupId, EMAddMultipleUserToGroup emAddMultipleUserToGroup, ApiCallback _callback) Build call for addMultipleUserToGroupGroupApi.addMultipleUserToGroupWhiteList(String groupId, EMAddMultipleUserToGroupWhiteList emAddMultipleUserToGroupWhiteList) 批量添加用户至群组白名单 添加多个用户至群组白名单。okhttp3.CallGroupApi.addMultipleUserToGroupWhiteListAsync(String groupId, EMAddMultipleUserToGroupWhiteList emAddMultipleUserToGroupWhiteList, ApiCallback<EMAddMultipleUserToGroupWhiteListResult> _callback) 批量添加用户至群组白名单 (asynchronously) 添加多个用户至群组白名单。okhttp3.CallGroupApi.addMultipleUserToGroupWhiteListCall(String groupId, EMAddMultipleUserToGroupWhiteList emAddMultipleUserToGroupWhiteList, ApiCallback _callback) Build call for addMultipleUserToGroupWhiteListGroupApi.addMultipleUserToGroupWhiteListWithHttpInfo(String groupId, EMAddMultipleUserToGroupWhiteList emAddMultipleUserToGroupWhiteList) 批量添加用户至群组白名单 添加多个用户至群组白名单。GroupApi.addMultipleUserToGroupWithHttpInfo(String groupId, EMAddMultipleUserToGroup emAddMultipleUserToGroup) 批量添加群组成员 一次为群组添加多个成员,每次最多可以添加 60 位成员。voidRoomApi.addMultipleUserToRoom(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom) 批量添加聊天室成员 向聊天室添加多位用户,一次性最多可添加 60 位用户。okhttp3.CallRoomApi.addMultipleUserToRoomAsync(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom, ApiCallback<Void> _callback) 批量添加聊天室成员 (asynchronously) 向聊天室添加多位用户,一次性最多可添加 60 位用户。RoomApi.addMultipleUserToRoomBlockList(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList) 批量添加用户至聊天室黑名单 将多个用户加入指定聊天室的黑名单。okhttp3.CallRoomApi.addMultipleUserToRoomBlockListAsync(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList, ApiCallback<EMAddMultipleUserToRoomBlockListResult> _callback) 批量添加用户至聊天室黑名单 (asynchronously) 将多个用户加入指定聊天室的黑名单。okhttp3.CallRoomApi.addMultipleUserToRoomBlockListCall(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList, ApiCallback _callback) Build call for addMultipleUserToRoomBlockListRoomApi.addMultipleUserToRoomBlockListWithHttpInfo(String chatroomId, EMAddMultipleUserToRoomBlockList emAddMultipleUserToRoomBlockList) 批量添加用户至聊天室黑名单 将多个用户加入指定聊天室的黑名单。okhttp3.CallRoomApi.addMultipleUserToRoomCall(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom, ApiCallback _callback) Build call for addMultipleUserToRoomRoomApi.addMultipleUserToRoomWhiteList(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList) 批量添加用户至聊天室白名单 添加多个用户至聊天室白名单。okhttp3.CallRoomApi.addMultipleUserToRoomWhiteListAsync(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList, ApiCallback<EMAddMultipleUserToRoomWhiteListResult> _callback) 批量添加用户至聊天室白名单 (asynchronously) 添加多个用户至聊天室白名单。okhttp3.CallRoomApi.addMultipleUserToRoomWhiteListCall(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList, ApiCallback _callback) Build call for addMultipleUserToRoomWhiteListRoomApi.addMultipleUserToRoomWhiteListWithHttpInfo(String chatroomId, EMAddMultipleUserToRoomWhiteList emAddMultipleUserToRoomWhiteList) 批量添加用户至聊天室白名单 添加多个用户至聊天室白名单。RoomApi.addMultipleUserToRoomWithHttpInfo(String chatroomId, EMAddMultipleUserToRoom emAddMultipleUserToRoom) 批量添加聊天室成员 向聊天室添加多位用户,一次性最多可添加 60 位用户。RoomApi.addRoomAdmin(String chatroomId, EMAddRoomAdmin emAddRoomAdmin) 添加聊天室管理员 将一个聊天室成员设置为聊天室管理员。okhttp3.CallRoomApi.addRoomAdminAsync(String chatroomId, EMAddRoomAdmin emAddRoomAdmin, ApiCallback<EMAddRoomAdminResult> _callback) 添加聊天室管理员 (asynchronously) 将一个聊天室成员设置为聊天室管理员。okhttp3.CallRoomApi.addRoomAdminCall(String chatroomId, EMAddRoomAdmin emAddRoomAdmin, ApiCallback _callback) Build call for addRoomAdminRoomApi.addRoomAdminWithHttpInfo(String chatroomId, EMAddRoomAdmin emAddRoomAdmin) 添加聊天室管理员 将一个聊天室成员设置为聊天室管理员。RoomApi.addRoomSuperAdmin(EMAddRoomSuperAdmin emAddRoomSuperAdmin) 添加超级管理员 添加一个聊天室超级管理员。okhttp3.CallRoomApi.addRoomSuperAdminAsync(EMAddRoomSuperAdmin emAddRoomSuperAdmin, ApiCallback<EMAddRoomSuperAdminResult> _callback) 添加超级管理员 (asynchronously) 添加一个聊天室超级管理员。okhttp3.CallRoomApi.addRoomSuperAdminCall(EMAddRoomSuperAdmin emAddRoomSuperAdmin, ApiCallback _callback) Build call for addRoomSuperAdminRoomApi.addRoomSuperAdminWithHttpInfo(EMAddRoomSuperAdmin emAddRoomSuperAdmin) 添加超级管理员 添加一个聊天室超级管理员。BlockApi.addUserToBlockList(String ownerUsername, EMAddUserToBlockList emAddUserToBlockList) 添加用户至黑名单 将一个或多个用户添加用户到黑名单。okhttp3.CallBlockApi.addUserToBlockListAsync(String ownerUsername, EMAddUserToBlockList emAddUserToBlockList, ApiCallback<EMAddUserToBlockListResult> _callback) 添加用户至黑名单 (asynchronously) 将一个或多个用户添加用户到黑名单。okhttp3.CallBlockApi.addUserToBlockListCall(String ownerUsername, EMAddUserToBlockList emAddUserToBlockList, ApiCallback _callback) Build call for addUserToBlockListBlockApi.addUserToBlockListWithHttpInfo(String ownerUsername, EMAddUserToBlockList emAddUserToBlockList) 添加用户至黑名单 将一个或多个用户添加用户到黑名单。GroupApi.addUserToGroup(String groupId, String username) 添加单个群组成员 每次添加一个群成员。okhttp3.CallGroupApi.addUserToGroupAsync(String groupId, String username, ApiCallback<EMAddUserToGroupResult> _callback) 添加单个群组成员 (asynchronously) 每次添加一个群成员。GroupApi.addUserToGroupBlockList(String groupId, String username) 添加单个用户至群组黑名单 将单个用户添加至群组黑名单。okhttp3.CallGroupApi.addUserToGroupBlockListAsync(String groupId, String username, ApiCallback<EMAddUserToGroupBlockListResult> _callback) 添加单个用户至群组黑名单 (asynchronously) 将单个用户添加至群组黑名单。okhttp3.CallGroupApi.addUserToGroupBlockListCall(String groupId, String username, ApiCallback _callback) Build call for addUserToGroupBlockListGroupApi.addUserToGroupBlockListWithHttpInfo(String groupId, String username) 添加单个用户至群组黑名单 将单个用户添加至群组黑名单。okhttp3.CallGroupApi.addUserToGroupCall(String groupId, String username, ApiCallback _callback) Build call for addUserToGroupGroupApi.addUserToGroupWhiteList(String groupId, String username) 添加单个用户至群组白名单 将指定的单个用户添加至群组白名单。okhttp3.CallGroupApi.addUserToGroupWhiteListAsync(String groupId, String username, ApiCallback<EMAddUserToGroupWhiteListResult> _callback) 添加单个用户至群组白名单 (asynchronously) 将指定的单个用户添加至群组白名单。okhttp3.CallGroupApi.addUserToGroupWhiteListCall(String groupId, String username, ApiCallback _callback) Build call for addUserToGroupWhiteListGroupApi.addUserToGroupWhiteListWithHttpInfo(String groupId, String username) 添加单个用户至群组白名单 将指定的单个用户添加至群组白名单。GroupApi.addUserToGroupWithHttpInfo(String groupId, String username) 添加单个群组成员 每次添加一个群成员。RoomApi.addUserToRoom(String chatroomId, String username) 添加单个聊天室成员 向聊天室添加一个成员。okhttp3.CallRoomApi.addUserToRoomAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomResult> _callback) 添加单个聊天室成员 (asynchronously) 向聊天室添加一个成员。RoomApi.addUserToRoomBlockList(String chatroomId, String username) 添加单个用户至聊天室黑名单 查询一个聊天室黑名单中的用户列表。okhttp3.CallRoomApi.addUserToRoomBlockListAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomBlockListResult> _callback) 添加单个用户至聊天室黑名单 (asynchronously) 查询一个聊天室黑名单中的用户列表。okhttp3.CallRoomApi.addUserToRoomBlockListCall(String chatroomId, String username, ApiCallback _callback) Build call for addUserToRoomBlockListRoomApi.addUserToRoomBlockListWithHttpInfo(String chatroomId, String username) 添加单个用户至聊天室黑名单 查询一个聊天室黑名单中的用户列表。okhttp3.CallRoomApi.addUserToRoomCall(String chatroomId, String username, ApiCallback _callback) Build call for addUserToRoomRoomApi.addUserToRoomWhiteList(String chatroomId, String username) 添加单个用户至聊天室白名单 将单个用户添加至聊天室白名单。okhttp3.CallRoomApi.addUserToRoomWhiteListAsync(String chatroomId, String username, ApiCallback<EMAddUserToRoomWhiteListResult> _callback) 添加单个用户至聊天室白名单 (asynchronously) 将单个用户添加至聊天室白名单。okhttp3.CallRoomApi.addUserToRoomWhiteListCall(String chatroomId, String username, ApiCallback _callback) Build call for addUserToRoomWhiteListRoomApi.addUserToRoomWhiteListWithHttpInfo(String chatroomId, String username) 添加单个用户至聊天室白名单 将单个用户添加至聊天室白名单。RoomApi.addUserToRoomWithHttpInfo(String chatroomId, String username) 添加单个聊天室成员 向聊天室添加一个成员。MetadataApi.batchCustomGroupMemberAttribute(String groupId, List<EMBatchCustomGroupMemberAttribute> emBatchCustomGroupMemberAttribute) 批量设置群成员自定义属性 批量设置群成员的自定义属性(key-value),例如,在群组中的昵称和头像等。okhttp3.CallMetadataApi.batchCustomGroupMemberAttributeAsync(String groupId, List<EMBatchCustomGroupMemberAttribute> emBatchCustomGroupMemberAttribute, ApiCallback<EMBatchCustomGroupMemberAttributeResult> _callback) 批量设置群成员自定义属性 (asynchronously) 批量设置群成员的自定义属性(key-value),例如,在群组中的昵称和头像等。okhttp3.CallMetadataApi.batchCustomGroupMemberAttributeCall(String groupId, List<EMBatchCustomGroupMemberAttribute> emBatchCustomGroupMemberAttribute, ApiCallback _callback) Build call for batchCustomGroupMemberAttributeMetadataApi.batchCustomGroupMemberAttributeWithHttpInfo(String groupId, List<EMBatchCustomGroupMemberAttribute> emBatchCustomGroupMemberAttribute) 批量设置群成员自定义属性 批量设置群成员的自定义属性(key-value),例如,在群组中的昵称和头像等。GroupApi.checkUserJoinedGroup(String groupId, String username) 查看指定用户是否已加入群组 查看单个用户是否已加入了指定的群组。okhttp3.CallGroupApi.checkUserJoinedGroupAsync(String groupId, String username, ApiCallback<EMCheckUserJoinedGroupResult> _callback) 查看指定用户是否已加入群组 (asynchronously) 查看单个用户是否已加入了指定的群组。okhttp3.CallGroupApi.checkUserJoinedGroupCall(String groupId, String username, ApiCallback _callback) Build call for checkUserJoinedGroupGroupApi.checkUserJoinedGroupWithHttpInfo(String groupId, String username) 查看指定用户是否已加入群组 查看单个用户是否已加入了指定的群组。GroupApi.createGroup(EMCreateGroup emCreateGroup) 创建群组 创建一个群组,并设置群组名称、群组描述、公开群/私有群属性、群成员最大人数(包括群主)、加入公开群是否需要批准、群主、群成员和群组扩展信息。okhttp3.CallGroupApi.createGroupAsync(EMCreateGroup emCreateGroup, ApiCallback<EMCreateGroupResult> _callback) 创建群组 (asynchronously) 创建一个群组,并设置群组名称、群组描述、公开群/私有群属性、群成员最大人数(包括群主)、加入公开群是否需要批准、群主、群成员和群组扩展信息。okhttp3.CallGroupApi.createGroupCall(EMCreateGroup emCreateGroup, ApiCallback _callback) Build call for createGroupGroupApi.createGroupWithHttpInfo(EMCreateGroup emCreateGroup) 创建群组 创建一个群组,并设置群组名称、群组描述、公开群/私有群属性、群成员最大人数(包括群主)、加入公开群是否需要批准、群主、群成员和群组扩展信息。PushApi.createOfflinePushTemplate(EMCreateOfflinePushTemplate emCreateOfflinePushTemplate) 创建离线推送模板 创建离线推送消息模板,包括默认模板 default 和自定模板。okhttp3.CallPushApi.createOfflinePushTemplateAsync(EMCreateOfflinePushTemplate emCreateOfflinePushTemplate, ApiCallback<EMCreateOfflinePushTemplateResult> _callback) 创建离线推送模板 (asynchronously) 创建离线推送消息模板,包括默认模板 default 和自定模板。okhttp3.CallPushApi.createOfflinePushTemplateCall(EMCreateOfflinePushTemplate emCreateOfflinePushTemplate, ApiCallback _callback) Build call for createOfflinePushTemplatePushApi.createOfflinePushTemplateWithHttpInfo(EMCreateOfflinePushTemplate emCreateOfflinePushTemplate) 创建离线推送模板 创建离线推送消息模板,包括默认模板 default 和自定模板。RoomApi.createRoom(EMCreateRoom emCreateRoom) 创建聊天室 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。okhttp3.CallRoomApi.createRoomAsync(EMCreateRoom emCreateRoom, ApiCallback<EMCreateRoomResult> _callback) 创建聊天室 (asynchronously) 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。okhttp3.CallRoomApi.createRoomCall(EMCreateRoom emCreateRoom, ApiCallback _callback) Build call for createRoomRoomApi.createRoomWithHttpInfo(EMCreateRoom emCreateRoom) 创建聊天室 创建一个聊天室,需设置聊天室名称、聊天室描述、聊天室成员最大人数(包括管理员)、聊天室管理员和普通成员以及聊天室扩展信息。ThreadApi.createThread(EMCreateThread emCreateThread) 创建子区 创建子区。okhttp3.CallThreadApi.createThreadAsync(EMCreateThread emCreateThread, ApiCallback<EMCreateThreadResult> _callback) 创建子区 (asynchronously) 创建子区。okhttp3.CallThreadApi.createThreadCall(EMCreateThread emCreateThread, ApiCallback _callback) Build call for createThreadThreadApi.createThreadWithHttpInfo(EMCreateThread emCreateThread) 创建子区 创建子区。UserApi.createUsers(List<EMCreateUser> emCreateUser) 批量注册用户 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E6%89%B9%E9%87%8F%E6%B3%A8%E5%86%8C%E7%94%A8%E6%88%B7okhttp3.CallUserApi.createUsersAsync(List<EMCreateUser> emCreateUser, ApiCallback<EMCreateUsersResult> _callback) 批量注册用户 (asynchronously) 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E6%89%B9%E9%87%8F%E6%B3%A8%E5%86%8C%E7%94%A8%E6%88%B7okhttp3.CallUserApi.createUsersCall(List<EMCreateUser> emCreateUser, ApiCallback _callback) Build call for createUsersUserApi.createUsersWithHttpInfo(List<EMCreateUser> emCreateUser) 批量注册用户 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E6%89%B9%E9%87%8F%E6%B3%A8%E5%86%8C%E7%94%A8%E6%88%B7MetadataApi.customGroupMemberAttribute(String groupId, String username, EMCustomGroupMemberAttribute emCustomGroupMemberAttribute) 设置群成员自定义属性 设置群成员自定义属性。okhttp3.CallMetadataApi.customGroupMemberAttributeAsync(String groupId, String username, EMCustomGroupMemberAttribute emCustomGroupMemberAttribute, ApiCallback<EMCustomGroupMemberAttributeResult> _callback) 设置群成员自定义属性 (asynchronously) 设置群成员自定义属性。okhttp3.CallMetadataApi.customGroupMemberAttributeCall(String groupId, String username, EMCustomGroupMemberAttribute emCustomGroupMemberAttribute, ApiCallback _callback) Build call for customGroupMemberAttributeMetadataApi.customGroupMemberAttributeWithHttpInfo(String groupId, String username, EMCustomGroupMemberAttribute emCustomGroupMemberAttribute) 设置群成员自定义属性 设置群成员自定义属性。GroupApi.deleteGroup(String groupId) 删除群组 删除指定的群组。okhttp3.CallGroupApi.deleteGroupAsync(String groupId, ApiCallback<EMDeleteGroupResult> _callback) 删除群组 (asynchronously) 删除指定的群组。okhttp3.CallGroupApi.deleteGroupCall(String groupId, ApiCallback _callback) Build call for deleteGroupGroupApi.deleteGroupShareFile(String groupId, String fileId) 删除群组共享文件 根据指定的群组 ID 与 文件 ID(file_id)删除群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。okhttp3.CallGroupApi.deleteGroupShareFileAsync(String groupId, String fileId, ApiCallback<EMDeleteGroupShareFileResult> _callback) 删除群组共享文件 (asynchronously) 根据指定的群组 ID 与 文件 ID(file_id)删除群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。okhttp3.CallGroupApi.deleteGroupShareFileCall(String groupId, String fileId, ApiCallback _callback) Build call for deleteGroupShareFileGroupApi.deleteGroupShareFileWithHttpInfo(String groupId, String fileId) 删除群组共享文件 根据指定的群组 ID 与 文件 ID(file_id)删除群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。GroupApi.deleteGroupWithHttpInfo(String groupId) 删除群组 删除指定的群组。PushApi.deleteOfflinePushTemplate(String name) 删除离线推送模板 删除离线消息推送模板。okhttp3.CallPushApi.deleteOfflinePushTemplateAsync(String name, ApiCallback<EMDeleteOfflinePushTemplateResult> _callback) 删除离线推送模板 (asynchronously) 删除离线消息推送模板。okhttp3.CallPushApi.deleteOfflinePushTemplateCall(String name, ApiCallback _callback) Build call for deleteOfflinePushTemplatePushApi.deleteOfflinePushTemplateWithHttpInfo(String name) 删除离线推送模板 删除离线消息推送模板。ReactionApi.deleteReaction(String username, String msgId, String message) 删除 Reaction 删除当前用户追加的 Reaction。okhttp3.CallReactionApi.deleteReactionAsync(String username, String msgId, String message, ApiCallback<EMDeleteReactionResult> _callback) 删除 Reaction (asynchronously) 删除当前用户追加的 Reaction。okhttp3.CallReactionApi.deleteReactionCall(String username, String msgId, String message, ApiCallback _callback) Build call for deleteReactionReactionApi.deleteReactionWithHttpInfo(String username, String msgId, String message) 删除 Reaction 删除当前用户追加的 Reaction。RoomApi.deleteRoom(String chatroomId) 删除聊天室 删除单个聊天室。okhttp3.CallRoomApi.deleteRoomAsync(String chatroomId, ApiCallback<EMDeleteRoomResult> _callback) 删除聊天室 (asynchronously) 删除单个聊天室。okhttp3.CallRoomApi.deleteRoomCall(String chatroomId, ApiCallback _callback) Build call for deleteRoomRoomApi.deleteRoomCustomAttributes(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes) 删除聊天室自定义属性 用户删除其设置的聊天室自定义属性。okhttp3.CallRoomApi.deleteRoomCustomAttributesAsync(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes, ApiCallback<EMDeleteRoomCustomAttributesResult> _callback) 删除聊天室自定义属性 (asynchronously) 用户删除其设置的聊天室自定义属性。okhttp3.CallRoomApi.deleteRoomCustomAttributesCall(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes, ApiCallback _callback) Build call for deleteRoomCustomAttributesRoomApi.deleteRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMDeleteRoomCustomAttributes emDeleteRoomCustomAttributes) 删除聊天室自定义属性 用户删除其设置的聊天室自定义属性。RoomApi.deleteRoomWithHttpInfo(String chatroomId) 删除聊天室 删除单个聊天室。ThreadApi.deleteThread(String threadId) 删除子区 删除指定子区。okhttp3.CallThreadApi.deleteThreadAsync(String threadId, ApiCallback<EMDeleteThreadResult> _callback) 删除子区 (asynchronously) 删除指定子区。okhttp3.CallThreadApi.deleteThreadCall(String threadId, ApiCallback _callback) Build call for deleteThreadThreadApi.deleteThreadWithHttpInfo(String threadId) 删除子区 删除指定子区。UserApi.deleteUser(String username) 删除用户账号 删除单个用户。okhttp3.CallUserApi.deleteUserAsync(String username, ApiCallback<EMDeleteUserResult> _callback) 删除用户账号 (asynchronously) 删除单个用户。okhttp3.CallUserApi.deleteUserCall(String username, ApiCallback _callback) Build call for deleteUserMetadataApi.deleteUserMetadata(String username) 删除用户属性 删除单个用户的所有属性。okhttp3.CallMetadataApi.deleteUserMetadataAsync(String username, ApiCallback<EMDeleteUserMetadataResult> _callback) 删除用户属性 (asynchronously) 删除单个用户的所有属性。okhttp3.CallMetadataApi.deleteUserMetadataCall(String username, ApiCallback _callback) Build call for deleteUserMetadataMetadataApi.deleteUserMetadataWithHttpInfo(String username) 删除用户属性 删除单个用户的所有属性。UserApi.deleteUsers(Integer limit, String cursor) 批量删除用户 删除某个 App 下指定数量的用户账号。okhttp3.CallUserApi.deleteUsersAsync(Integer limit, String cursor, ApiCallback<EMDeleteUsersResult> _callback) 批量删除用户 (asynchronously) 删除某个 App 下指定数量的用户账号。okhttp3.CallUserApi.deleteUsersCall(Integer limit, String cursor, ApiCallback _callback) Build call for deleteUsersUserApi.deleteUsersWithHttpInfo(Integer limit, String cursor) 批量删除用户 删除某个 App 下指定数量的用户账号。UserApi.deleteUserWithHttpInfo(String username) 删除用户账号 删除单个用户。GroupApi.disableGroup(String groupId) 封禁群组 封禁指定的群组。okhttp3.CallGroupApi.disableGroupAsync(String groupId, ApiCallback<EMDisableGroupResult> _callback) 封禁群组 (asynchronously) 封禁指定的群组。okhttp3.CallGroupApi.disableGroupCall(String groupId, ApiCallback _callback) Build call for disableGroupGroupApi.disableGroupWithHttpInfo(String groupId) 封禁群组 封禁指定的群组。ChatFileApi.downloadChatFile(String fileUuid, String shareSecret, Boolean thumbnail) 下载文件/下载缩略图 可利用该方法下载图片、语音、视频或其他类型的文件。okhttp3.CallChatFileApi.downloadChatFileAsync(String fileUuid, String shareSecret, Boolean thumbnail, ApiCallback<File> _callback) 下载文件/下载缩略图 (asynchronously) 可利用该方法下载图片、语音、视频或其他类型的文件。okhttp3.CallChatFileApi.downloadChatFileCall(String fileUuid, String shareSecret, Boolean thumbnail, ApiCallback _callback) Build call for downloadChatFileChatFileApi.downloadChatFileWithHttpInfo(String fileUuid, String shareSecret, Boolean thumbnail) 下载文件/下载缩略图 可利用该方法下载图片、语音、视频或其他类型的文件。GroupApi.downloadGroupShareFile(String groupId, String fileId) 下载群组共享文件 根据指定的群组 ID 与文件 ID(file_id)下载群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。okhttp3.CallGroupApi.downloadGroupShareFileAsync(String groupId, String fileId, ApiCallback<File> _callback) 下载群组共享文件 (asynchronously) 根据指定的群组 ID 与文件 ID(file_id)下载群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。okhttp3.CallGroupApi.downloadGroupShareFileCall(String groupId, String fileId, ApiCallback _callback) Build call for downloadGroupShareFileGroupApi.downloadGroupShareFileWithHttpInfo(String groupId, String fileId) 下载群组共享文件 根据指定的群组 ID 与文件 ID(file_id)下载群组共享文件,文件 ID 可从 获取群组共享文件 接口的响应中获取。GroupApi.enableGroup(String groupId) 封禁群组 解除对指定群组的封禁。okhttp3.CallGroupApi.enableGroupAsync(String groupId, ApiCallback<EMEnableGroupResult> _callback) 封禁群组 (asynchronously) 解除对指定群组的封禁。okhttp3.CallGroupApi.enableGroupCall(String groupId, ApiCallback _callback) Build call for enableGroupGroupApi.enableGroupWithHttpInfo(String groupId) 封禁群组 解除对指定群组的封禁。RoomApi.forceDeleteRoomCustomAttributes(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes) 强制删除聊天室自定义属性 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。okhttp3.CallRoomApi.forceDeleteRoomCustomAttributesAsync(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes, ApiCallback<EMForceDeleteRoomCustomAttributesResult> _callback) 强制删除聊天室自定义属性 (asynchronously) 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。okhttp3.CallRoomApi.forceDeleteRoomCustomAttributesCall(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes, ApiCallback _callback) Build call for forceDeleteRoomCustomAttributesRoomApi.forceDeleteRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMForceDeleteRoomCustomAttributes emForceDeleteRoomCustomAttributes) 强制删除聊天室自定义属性 用户强制删除聊天室的自定义属性信息,即该方法除了会删除当前用户设置的聊天室自定义属性,还可以删除其他用户设置的自定义属性。RoomApi.forceSetRoomCustomAttributes(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes) 强制设置聊天室自定义属性 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。okhttp3.CallRoomApi.forceSetRoomCustomAttributesAsync(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes, ApiCallback<EMForceSetRoomCustomAttributesResult> _callback) 强制设置聊天室自定义属性 (asynchronously) 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。okhttp3.CallRoomApi.forceSetRoomCustomAttributesCall(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes, ApiCallback _callback) Build call for forceSetRoomCustomAttributesRoomApi.forceSetRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMForceSetRoomCustomAttributes emForceSetRoomCustomAttributes) 强制设置聊天室自定义属性 用户强制设置指定聊天室的自定义属性信息,即该方法可覆盖其他用户设置的聊天室自定义属性。UserApi.forceUserLogout(String username) 强制下线 强制用户即将用户状态改为离线,用户需要重新登录才能正常使用。okhttp3.CallUserApi.forceUserLogoutAsync(String username, ApiCallback<EMForceUserLogoutResult> _callback) 强制下线 (asynchronously) 强制用户即将用户状态改为离线,用户需要重新登录才能正常使用。okhttp3.CallUserApi.forceUserLogoutCall(String username, ApiCallback _callback) Build call for forceUserLogoutUserApi.forceUserLogoutFromSingleDevice(String username, String resourceId) 强制用户从单设备下线 如果用户在多个设备上登录,你可以调用该接口强制其在某一台设备上下线。okhttp3.CallUserApi.forceUserLogoutFromSingleDeviceAsync(String username, String resourceId, ApiCallback<EMForceUserLogoutFromSingleDeviceResult> _callback) 强制用户从单设备下线 (asynchronously) 如果用户在多个设备上登录,你可以调用该接口强制其在某一台设备上下线。okhttp3.CallUserApi.forceUserLogoutFromSingleDeviceCall(String username, String resourceId, ApiCallback _callback) Build call for forceUserLogoutFromSingleDeviceUserApi.forceUserLogoutFromSingleDeviceWithHttpInfo(String username, String resourceId) 强制用户从单设备下线 如果用户在多个设备上登录,你可以调用该接口强制其在某一台设备上下线。UserApi.forceUserLogoutWithHttpInfo(String username) 强制下线 强制用户即将用户状态改为离线,用户需要重新登录才能正常使用。ContactApi.getAllContactList(String ownerUsername) 一次性获取好友列表 一次性获取指定用户的好友列表。okhttp3.CallContactApi.getAllContactListAsync(String ownerUsername, ApiCallback<EMGetAllContactListResult> _callback) 一次性获取好友列表 (asynchronously) 一次性获取指定用户的好友列表。okhttp3.CallContactApi.getAllContactListCall(String ownerUsername, ApiCallback _callback) Build call for getAllContactListContactApi.getAllContactListWithHttpInfo(String ownerUsername) 一次性获取好友列表 一次性获取指定用户的好友列表。UserApi.getAllGloballyMutedUsers(Integer pageNum, Integer pageSize) 查询 app 下的所有全局禁言的用户 该方法查询 app 下所有全局禁言的用户及其禁言剩余时间。okhttp3.CallUserApi.getAllGloballyMutedUsersAsync(Integer pageNum, Integer pageSize, ApiCallback<EMGetAllGloballyMutedUsersResult> _callback) 查询 app 下的所有全局禁言的用户 (asynchronously) 该方法查询 app 下所有全局禁言的用户及其禁言剩余时间。okhttp3.CallUserApi.getAllGloballyMutedUsersCall(Integer pageNum, Integer pageSize, ApiCallback _callback) Build call for getAllGloballyMutedUsersUserApi.getAllGloballyMutedUsersWithHttpInfo(Integer pageNum, Integer pageSize) 查询 app 下的所有全局禁言的用户 该方法查询 app 下所有全局禁言的用户及其禁言剩余时间。GroupApi.getAppGroups(Integer limit, String cursor) 获取 App 中的群组 分页获取应用下的群组的信息。okhttp3.CallGroupApi.getAppGroupsAsync(Integer limit, String cursor, ApiCallback<EMGetAppGroupsResult> _callback) 获取 App 中的群组 (asynchronously) 分页获取应用下的群组的信息。okhttp3.CallGroupApi.getAppGroupsCall(Integer limit, String cursor, ApiCallback _callback) Build call for getAppGroupsGroupApi.getAppGroupsWithHttpInfo(Integer limit, String cursor) 获取 App 中的群组 分页获取应用下的群组的信息。BlockApi.getBlockList(String ownerUsername, Integer pageSize, String cursor) 获取黑名单列表 获取指定用户的好友列表。okhttp3.CallBlockApi.getBlockListAsync(String ownerUsername, Integer pageSize, String cursor, ApiCallback<EMGetBlockListResult> _callback) 获取黑名单列表 (asynchronously) 获取指定用户的好友列表。okhttp3.CallBlockApi.getBlockListCall(String ownerUsername, Integer pageSize, String cursor, ApiCallback _callback) Build call for getBlockListBlockApi.getBlockListWithHttpInfo(String ownerUsername, Integer pageSize, String cursor) 获取黑名单列表 获取指定用户的好友列表。ContactApi.getContactList(String ownerUsername, Integer limit, String cursor, Boolean needReturnRemark) 获取好友列表 获取指定用户的好友列表。okhttp3.CallContactApi.getContactListAsync(String ownerUsername, Integer limit, String cursor, Boolean needReturnRemark, ApiCallback<EMGetContactListResult> _callback) 获取好友列表 (asynchronously) 获取指定用户的好友列表。okhttp3.CallContactApi.getContactListCall(String ownerUsername, Integer limit, String cursor, Boolean needReturnRemark, ApiCallback _callback) Build call for getContactListContactApi.getContactListWithHttpInfo(String ownerUsername, Integer limit, String cursor, Boolean needReturnRemark) 获取好友列表 获取指定用户的好友列表。GroupApi.getGroupAdminList(String groupId) 获取群管理员列表 获取群组管理员列表。okhttp3.CallGroupApi.getGroupAdminListAsync(String groupId, ApiCallback<EMGetGroupAdminListResult> _callback) 获取群管理员列表 (asynchronously) 获取群组管理员列表。okhttp3.CallGroupApi.getGroupAdminListCall(String groupId, ApiCallback _callback) Build call for getGroupAdminListGroupApi.getGroupAdminListWithHttpInfo(String groupId) 获取群管理员列表 获取群组管理员列表。GroupApi.getGroupAnnouncement(String groupId) 获取群组公告 获取指定群组 ID 的群组公告。okhttp3.CallGroupApi.getGroupAnnouncementAsync(String groupId, ApiCallback<EMGetGroupAnnouncementResult> _callback) 获取群组公告 (asynchronously) 获取指定群组 ID 的群组公告。okhttp3.CallGroupApi.getGroupAnnouncementCall(String groupId, ApiCallback _callback) Build call for getGroupAnnouncementGroupApi.getGroupAnnouncementWithHttpInfo(String groupId) 获取群组公告 获取指定群组 ID 的群组公告。GroupApi.getGroupBlockList(String groupId) 查询群组黑名单 查询一个群组黑名单中的用户列表。okhttp3.CallGroupApi.getGroupBlockListAsync(String groupId, ApiCallback<EMGetGroupBlockListResult> _callback) 查询群组黑名单 (asynchronously) 查询一个群组黑名单中的用户列表。okhttp3.CallGroupApi.getGroupBlockListCall(String groupId, ApiCallback _callback) Build call for getGroupBlockListGroupApi.getGroupBlockListWithHttpInfo(String groupId) 查询群组黑名单 查询一个群组黑名单中的用户列表。GroupApi.getGroupInfo(String groupId) 获取群组详情 可以获取一个或多个群组的详情,最多可获取 100 个群组的详情。okhttp3.CallGroupApi.getGroupInfoAsync(String groupId, ApiCallback<EMGetGroupInfoResult> _callback) 获取群组详情 (asynchronously) 可以获取一个或多个群组的详情,最多可获取 100 个群组的详情。okhttp3.CallGroupApi.getGroupInfoCall(String groupId, ApiCallback _callback) Build call for getGroupInfoGroupApi.getGroupInfoWithHttpInfo(String groupId) 获取群组详情 可以获取一个或多个群组的详情,最多可获取 100 个群组的详情。MetadataApi.getGroupMemberAllCustomAttribute(String groupId, String username) 获取单个群成员的所有自定义属性 获取单个群成员的所有自定义属性。okhttp3.CallMetadataApi.getGroupMemberAllCustomAttributeAsync(String groupId, String username, ApiCallback<EMGetGroupMemberAllCustomAttributeResult> _callback) 获取单个群成员的所有自定义属性 (asynchronously) 获取单个群成员的所有自定义属性。okhttp3.CallMetadataApi.getGroupMemberAllCustomAttributeCall(String groupId, String username, ApiCallback _callback) Build call for getGroupMemberAllCustomAttributeMetadataApi.getGroupMemberAllCustomAttributeWithHttpInfo(String groupId, String username) 获取单个群成员的所有自定义属性 获取单个群成员的所有自定义属性。GroupApi.getGroupMemberCount(String groupId) 获取群组成员数量 获取群组成员数量。okhttp3.CallGroupApi.getGroupMemberCountAsync(String groupId, ApiCallback<EMGetGroupMemberCountResult> _callback) 获取群组成员数量 (asynchronously) 获取群组成员数量。okhttp3.CallGroupApi.getGroupMemberCountCall(String groupId, ApiCallback _callback) Build call for getGroupMemberCountGroupApi.getGroupMemberCountWithHttpInfo(String groupId) 获取群组成员数量 获取群组成员数量。GroupApi.getGroupMemberList(String groupId, Integer pagenum, Integer pagesize) 分页获取群成员列表 可以分页获取群组成员列表。okhttp3.CallGroupApi.getGroupMemberListAsync(String groupId, Integer pagenum, Integer pagesize, ApiCallback<EMGetGroupMemberListResult> _callback) 分页获取群成员列表 (asynchronously) 可以分页获取群组成员列表。okhttp3.CallGroupApi.getGroupMemberListCall(String groupId, Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getGroupMemberListGroupApi.getGroupMemberListWithHttpInfo(String groupId, Integer pagenum, Integer pagesize) 分页获取群成员列表 可以分页获取群组成员列表。GroupApi.getGroupMuteList(String groupId) 获取禁言列表 获取当前群组的禁言用户列表。okhttp3.CallGroupApi.getGroupMuteListAsync(String groupId, ApiCallback<EMGetGroupMuteListResult> _callback) 获取禁言列表 (asynchronously) 获取当前群组的禁言用户列表。okhttp3.CallGroupApi.getGroupMuteListCall(String groupId, ApiCallback _callback) Build call for getGroupMuteListGroupApi.getGroupMuteListWithHttpInfo(String groupId) 获取禁言列表 获取当前群组的禁言用户列表。PresenceApi.getGroupOnlineMemberCount(String groupId, Integer queryType) 查询单个群组的在线成员数量 你可以查询单个群组的在线成员数量。okhttp3.CallPresenceApi.getGroupOnlineMemberCountAsync(String groupId, Integer queryType, ApiCallback<EMGetGroupOnlineMemberCountResult> _callback) 查询单个群组的在线成员数量 (asynchronously) 你可以查询单个群组的在线成员数量。okhttp3.CallPresenceApi.getGroupOnlineMemberCountCall(String groupId, Integer queryType, ApiCallback _callback) Build call for getGroupOnlineMemberCountPresenceApi.getGroupOnlineMemberCountWithHttpInfo(String groupId, Integer queryType) 查询单个群组的在线成员数量 你可以查询单个群组的在线成员数量。GroupApi.getGroupShareFile(String groupId, Integer pagenum, Integer pagesize) 获取群组共享文件 可以分页获取指定群组 ID 的群组共享文件。okhttp3.CallGroupApi.getGroupShareFileAsync(String groupId, Integer pagenum, Integer pagesize, ApiCallback<EMGetGroupShareFileResult> _callback) 获取群组共享文件 (asynchronously) 可以分页获取指定群组 ID 的群组共享文件。okhttp3.CallGroupApi.getGroupShareFileCall(String groupId, Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getGroupShareFileGroupApi.getGroupShareFileWithHttpInfo(String groupId, Integer pagenum, Integer pagesize) 获取群组共享文件 可以分页获取指定群组 ID 的群组共享文件。GroupApi.getGroupWhiteList(String groupId) 查询群组白名单 查询群组白名单中的用户列表。okhttp3.CallGroupApi.getGroupWhiteListAsync(String groupId, ApiCallback<EMGetGroupWhiteListResult> _callback) 查询群组白名单 (asynchronously) 查询群组白名单中的用户列表。okhttp3.CallGroupApi.getGroupWhiteListCall(String groupId, ApiCallback _callback) Build call for getGroupWhiteListGroupApi.getGroupWhiteListWithHttpInfo(String groupId) 查询群组白名单 查询群组白名单中的用户列表。MetadataApi.getMultipleGroupMembersAttributes(String groupId, EMGetMultipleGroupMembersAttributes emGetMultipleGroupMembersAttributes) 根据属性 key 获取多个群成员的自定义属性 根据指定的属性 key 获取多个群成员的自定义属性。okhttp3.CallMetadataApi.getMultipleGroupMembersAttributesAsync(String groupId, EMGetMultipleGroupMembersAttributes emGetMultipleGroupMembersAttributes, ApiCallback<EMGetMultipleGroupMembersAttributes> _callback) 根据属性 key 获取多个群成员的自定义属性 (asynchronously) 根据指定的属性 key 获取多个群成员的自定义属性。okhttp3.CallMetadataApi.getMultipleGroupMembersAttributesCall(String groupId, EMGetMultipleGroupMembersAttributes emGetMultipleGroupMembersAttributes, ApiCallback _callback) Build call for getMultipleGroupMembersAttributesMetadataApi.getMultipleGroupMembersAttributesWithHttpInfo(String groupId, EMGetMultipleGroupMembersAttributes emGetMultipleGroupMembersAttributes) 根据属性 key 获取多个群成员的自定义属性 根据指定的属性 key 获取多个群成员的自定义属性。MetadataApi.getMultipleUserMetadata(EMGetMultipleUserMetadata emGetMultipleUserMetadata) 批量获取用户属性 根据指定的用户 ID 列表和属性列表,查询用户属性。okhttp3.CallMetadataApi.getMultipleUserMetadataAsync(EMGetMultipleUserMetadata emGetMultipleUserMetadata, ApiCallback<EMGetMultipleUserMetadataResult> _callback) 批量获取用户属性 (asynchronously) 根据指定的用户 ID 列表和属性列表,查询用户属性。okhttp3.CallMetadataApi.getMultipleUserMetadataCall(EMGetMultipleUserMetadata emGetMultipleUserMetadata, ApiCallback _callback) Build call for getMultipleUserMetadataMetadataApi.getMultipleUserMetadataWithHttpInfo(EMGetMultipleUserMetadata emGetMultipleUserMetadata) 批量获取用户属性 根据指定的用户 ID 列表和属性列表,查询用户属性。PresenceApi.getMultipleUserPresenceStatus(String username, EMGetMultipleUsersPresenceStatus emGetMultipleUsersPresenceStatus) 批量获取在线状态信息 你一次可获取多个用户的在线状态信息。okhttp3.CallPresenceApi.getMultipleUserPresenceStatusAsync(String username, EMGetMultipleUsersPresenceStatus emGetMultipleUsersPresenceStatus, ApiCallback<EMGetMultipleUsersPresenceStatusResult> _callback) 批量获取在线状态信息 (asynchronously) 你一次可获取多个用户的在线状态信息。okhttp3.CallPresenceApi.getMultipleUserPresenceStatusCall(String username, EMGetMultipleUsersPresenceStatus emGetMultipleUsersPresenceStatus, ApiCallback _callback) Build call for getMultipleUserPresenceStatusPresenceApi.getMultipleUserPresenceStatusWithHttpInfo(String username, EMGetMultipleUsersPresenceStatus emGetMultipleUsersPresenceStatus) 批量获取在线状态信息 你一次可获取多个用户的在线状态信息。RoomApi.getMuteRoomMemberList(String chatroomId) 获取禁言列表 获取当前聊天室的禁言用户列表。okhttp3.CallRoomApi.getMuteRoomMemberListAsync(String chatroomId, ApiCallback<EMGetMuteRoomMemberListResult> _callback) 获取禁言列表 (asynchronously) 获取当前聊天室的禁言用户列表。okhttp3.CallRoomApi.getMuteRoomMemberListCall(String chatroomId, ApiCallback _callback) Build call for getMuteRoomMemberListRoomApi.getMuteRoomMemberListWithHttpInfo(String chatroomId) 获取禁言列表 获取当前聊天室的禁言用户列表。UserApi.getOfflineMessageStatus(String username, String msgid) 获取指定离线消息的投递状态 获取用户的指定离线消息的投递状态,即查看该消息是否已投递。okhttp3.CallUserApi.getOfflineMessageStatusAsync(String username, String msgid, ApiCallback<EMGetOfflineMessageStatusResult> _callback) 获取指定离线消息的投递状态 (asynchronously) 获取用户的指定离线消息的投递状态,即查看该消息是否已投递。okhttp3.CallUserApi.getOfflineMessageStatusCall(String username, String msgid, ApiCallback _callback) Build call for getOfflineMessageStatusUserApi.getOfflineMessageStatusWithHttpInfo(String username, String msgid) 获取指定离线消息的投递状态 获取用户的指定离线消息的投递状态,即查看该消息是否已投递。PushApi.getOfflinePush(String username, String chattype, String key) 查询离线推送设置 查询指定单聊、指定群聊或全局的离线推送设置。okhttp3.CallPushApi.getOfflinePushAsync(String username, String chattype, String key, ApiCallback<EMGetOfflinePushResult> _callback) 查询离线推送设置 (asynchronously) 查询指定单聊、指定群聊或全局的离线推送设置。okhttp3.CallPushApi.getOfflinePushCall(String username, String chattype, String key, ApiCallback _callback) Build call for getOfflinePushPushApi.getOfflinePushTemplate(String name) 查询离线推送模板 查询离线推送消息使用的模板。okhttp3.CallPushApi.getOfflinePushTemplateAsync(String name, ApiCallback<EMGetOfflinePushTemplateResult> _callback) 查询离线推送模板 (asynchronously) 查询离线推送消息使用的模板。okhttp3.CallPushApi.getOfflinePushTemplateCall(String name, ApiCallback _callback) Build call for getOfflinePushTemplatePushApi.getOfflinePushTemplateWithHttpInfo(String name) 查询离线推送模板 查询离线推送消息使用的模板。PushApi.getOfflinePushWithHttpInfo(String username, String chattype, String key) 查询离线推送设置 查询指定单聊、指定群聊或全局的离线推送设置。PushApi.getPushBindingInfo(String username) 查询推送绑定信息 查询当前用户的所有设备的推送绑定信息。okhttp3.CallPushApi.getPushBindingInfoAsync(String username, ApiCallback<EMGetPushBindingInfoResult> _callback) 查询推送绑定信息 (asynchronously) 查询当前用户的所有设备的推送绑定信息。okhttp3.CallPushApi.getPushBindingInfoCall(String username, ApiCallback _callback) Build call for getPushBindingInfoPushApi.getPushBindingInfoWithHttpInfo(String username) 查询推送绑定信息 查询当前用户的所有设备的推送绑定信息。PushApi.getPushPreferredLanguage(String username) 获取推送通知的首选语言 获取推送通知的首选语言。okhttp3.CallPushApi.getPushPreferredLanguageAsync(String username, ApiCallback<EMGetPushPreferredLanguageResult> _callback) 获取推送通知的首选语言 (asynchronously) 获取推送通知的首选语言。okhttp3.CallPushApi.getPushPreferredLanguageCall(String username, ApiCallback _callback) Build call for getPushPreferredLanguagePushApi.getPushPreferredLanguageWithHttpInfo(String username) 获取推送通知的首选语言 获取推送通知的首选语言。根据消息 ID 获取 Reaction 该方法根据单聊或群聊中的消息 ID 获取单个或多个消息的 Reaction 信息,包括 Reaction ID、使用的表情 ID、以及使用该 Reaction 的用户 ID 及用户人数。okhttp3.CallReactionApi.getReactionAsync(String username, List<String> msgIdList, String msgType, String groupId, ApiCallback<EMGetReactionResult> _callback) 根据消息 ID 获取 Reaction (asynchronously) 该方法根据单聊或群聊中的消息 ID 获取单个或多个消息的 Reaction 信息,包括 Reaction ID、使用的表情 ID、以及使用该 Reaction 的用户 ID 及用户人数。okhttp3.CallReactionApi.getReactionCall(String username, List<String> msgIdList, String msgType, String groupId, ApiCallback _callback) Build call for getReactionReactionApi.getReactionDetail(String username, String msgId, String message, Integer limit, String cursor) 根据消息 ID 和表情 ID 获取 Reaction 信息 在单聊或群聊场景中对单条消息创建或追加 Reaction。okhttp3.CallReactionApi.getReactionDetailAsync(String username, String msgId, String message, Integer limit, String cursor, ApiCallback<EMGetReactionDetailResult> _callback) 根据消息 ID 和表情 ID 获取 Reaction 信息 (asynchronously) 在单聊或群聊场景中对单条消息创建或追加 Reaction。okhttp3.CallReactionApi.getReactionDetailCall(String username, String msgId, String message, Integer limit, String cursor, ApiCallback _callback) Build call for getReactionDetailReactionApi.getReactionDetailWithHttpInfo(String username, String msgId, String message, Integer limit, String cursor) 根据消息 ID 和表情 ID 获取 Reaction 信息 在单聊或群聊场景中对单条消息创建或追加 Reaction。ReactionApi.getReactionWithHttpInfo(String username, List<String> msgIdList, String msgType, String groupId) 根据消息 ID 获取 Reaction 该方法根据单聊或群聊中的消息 ID 获取单个或多个消息的 Reaction 信息,包括 Reaction ID、使用的表情 ID、以及使用该 Reaction 的用户 ID 及用户人数。RoomApi.getRoomAdminList(String chatroomId) 获取聊天室管理员列表 获取聊天室管理员列表的接口。okhttp3.CallRoomApi.getRoomAdminListAsync(String chatroomId, ApiCallback<EMGetRoomAdminListResult> _callback) 获取聊天室管理员列表 (asynchronously) 获取聊天室管理员列表的接口。okhttp3.CallRoomApi.getRoomAdminListCall(String chatroomId, ApiCallback _callback) Build call for getRoomAdminListRoomApi.getRoomAdminListWithHttpInfo(String chatroomId) 获取聊天室管理员列表 获取聊天室管理员列表的接口。RoomApi.getRoomAnnouncement(String chatroomId) 获取聊天室公告 获取指定聊天室 ID 的聊天室公告。okhttp3.CallRoomApi.getRoomAnnouncementAsync(String chatroomId, ApiCallback<EMGetRoomAnnouncementResult> _callback) 获取聊天室公告 (asynchronously) 获取指定聊天室 ID 的聊天室公告。okhttp3.CallRoomApi.getRoomAnnouncementCall(String chatroomId, ApiCallback _callback) Build call for getRoomAnnouncementRoomApi.getRoomAnnouncementWithHttpInfo(String chatroomId) 获取聊天室公告 获取指定聊天室 ID 的聊天室公告。RoomApi.getRoomBlockList(String chatroomId) 查询聊天室黑名单 查询一个聊天室黑名单中的用户列表。okhttp3.CallRoomApi.getRoomBlockListAsync(String chatroomId, ApiCallback<EMGetRoomBlockListResult> _callback) 查询聊天室黑名单 (asynchronously) 查询一个聊天室黑名单中的用户列表。okhttp3.CallRoomApi.getRoomBlockListCall(String chatroomId, ApiCallback _callback) Build call for getRoomBlockListRoomApi.getRoomBlockListWithHttpInfo(String chatroomId) 查询聊天室黑名单 查询一个聊天室黑名单中的用户列表。RoomApi.getRoomCustomAttributes(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes) 获取聊天室自定义属性 获取指定聊天室的自定义属性信息。okhttp3.CallRoomApi.getRoomCustomAttributesAsync(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes, ApiCallback<EMGetRoomCustomAttributesResult> _callback) 获取聊天室自定义属性 (asynchronously) 获取指定聊天室的自定义属性信息。okhttp3.CallRoomApi.getRoomCustomAttributesCall(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes, ApiCallback _callback) Build call for getRoomCustomAttributesRoomApi.getRoomCustomAttributesWithHttpInfo(String chatroomId, EMGetRoomCustomAttributes emGetRoomCustomAttributes) 获取聊天室自定义属性 获取指定聊天室的自定义属性信息。RoomApi.getRoomInfo(String chatroomId) 查询聊天室详情 查询一个聊天室的详情。okhttp3.CallRoomApi.getRoomInfoAsync(String chatroomId, ApiCallback<EMGetRoomInfoResult> _callback) 查询聊天室详情 (asynchronously) 查询一个聊天室的详情。okhttp3.CallRoomApi.getRoomInfoCall(String chatroomId, ApiCallback _callback) Build call for getRoomInfoRoomApi.getRoomInfoWithHttpInfo(String chatroomId) 查询聊天室详情 查询一个聊天室的详情。RoomApi.getRoomList(Integer limit, String cursor) 获取 app 中的聊天室 分页获取应用下的聊天室列表和信息。okhttp3.CallRoomApi.getRoomListAsync(Integer limit, String cursor, ApiCallback<EMGetRoomListResult> _callback) 获取 app 中的聊天室 (asynchronously) 分页获取应用下的聊天室列表和信息。okhttp3.CallRoomApi.getRoomListCall(Integer limit, String cursor, ApiCallback _callback) Build call for getRoomListRoomApi.getRoomListWithHttpInfo(Integer limit, String cursor) 获取 app 中的聊天室 分页获取应用下的聊天室列表和信息。RoomApi.getRoomMemberCount(String chatroomId) 获取聊天室成员数量 获取聊天室成员数量。okhttp3.CallRoomApi.getRoomMemberCountAsync(String chatroomId, ApiCallback<EMGetRoomMemberCountResult> _callback) 获取聊天室成员数量 (asynchronously) 获取聊天室成员数量。okhttp3.CallRoomApi.getRoomMemberCountCall(String chatroomId, ApiCallback _callback) Build call for getRoomMemberCountRoomApi.getRoomMemberCountWithHttpInfo(String chatroomId) 获取聊天室成员数量 获取聊天室成员数量。RoomApi.getRoomMemberList(String chatroomId, Integer pagenum, Integer pagesize) 分页获取聊天室成员列表 可以分页获取聊天室成员列表。okhttp3.CallRoomApi.getRoomMemberListAsync(String chatroomId, Integer pagenum, Integer pagesize, ApiCallback<EMGetRoomMemberListResult> _callback) 分页获取聊天室成员列表 (asynchronously) 可以分页获取聊天室成员列表。okhttp3.CallRoomApi.getRoomMemberListCall(String chatroomId, Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getRoomMemberListRoomApi.getRoomMemberListWithHttpInfo(String chatroomId, Integer pagenum, Integer pagesize) 分页获取聊天室成员列表 可以分页获取聊天室成员列表。RoomApi.getRoomSuperAdminList(Integer pagenum, Integer pagesize) 分页获取超级管理员列表 可以分页获取超级管理员列表的接口。okhttp3.CallRoomApi.getRoomSuperAdminListAsync(Integer pagenum, Integer pagesize, ApiCallback<EMGetRoomSuperAdminListResult> _callback) 分页获取超级管理员列表 (asynchronously) 可以分页获取超级管理员列表的接口。okhttp3.CallRoomApi.getRoomSuperAdminListCall(Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getRoomSuperAdminListRoomApi.getRoomSuperAdminListWithHttpInfo(Integer pagenum, Integer pagesize) 分页获取超级管理员列表 可以分页获取超级管理员列表的接口。RoomApi.getRoomWhiteList(String chatroomId) 查询聊天室白名单 查询一个聊天室白名单中的用户列表。okhttp3.CallRoomApi.getRoomWhiteListAsync(String chatroomId, ApiCallback<EMGetRoomWhiteListResult> _callback) 查询聊天室白名单 (asynchronously) 查询一个聊天室白名单中的用户列表。okhttp3.CallRoomApi.getRoomWhiteListCall(String chatroomId, ApiCallback _callback) Build call for getRoomWhiteListRoomApi.getRoomWhiteListWithHttpInfo(String chatroomId) 查询聊天室白名单 查询一个聊天室白名单中的用户列表。ThreadApi.getThreadMemberList(String threadId, Integer limit, String cursor) 获取子区成员列表(分页) 分页获取应用下的子区列表。okhttp3.CallThreadApi.getThreadMemberListAsync(String threadId, Integer limit, String cursor, ApiCallback<EMGetThreadMemberListResult> _callback) 获取子区成员列表(分页) (asynchronously) 分页获取应用下的子区列表。okhttp3.CallThreadApi.getThreadMemberListCall(String threadId, Integer limit, String cursor, ApiCallback _callback) Build call for getThreadMemberListThreadApi.getThreadMemberListWithHttpInfo(String threadId, Integer limit, String cursor) 获取子区成员列表(分页) 分页获取应用下的子区列表。ThreadApi.getThreadsUnderApp(Integer limit, String cursor, String sort) 获取 app 中的子区 分页获取应用下的子区列表。okhttp3.CallThreadApi.getThreadsUnderAppAsync(Integer limit, String cursor, String sort, ApiCallback<EMGetThreadsUnderAppResult> _callback) 获取 app 中的子区 (asynchronously) 分页获取应用下的子区列表。okhttp3.CallThreadApi.getThreadsUnderAppCall(Integer limit, String cursor, String sort, ApiCallback _callback) Build call for getThreadsUnderAppThreadApi.getThreadsUnderAppWithHttpInfo(Integer limit, String cursor, String sort) 获取 app 中的子区 分页获取应用下的子区列表。TokenApi.getToken(EMCreateToken emCreateToken) 获取 Token,可以获取管理员或者用户权限 Token 管理员权限 Token 可以用来调用环信 Rest API 接口,获取管理员 Token 文档介绍:https://docs-im-beta.easemob.com/document/server-side/easemob_app_token.html,获取用户 Token 文档介绍:https://docs-im-beta.easemob.com/document/server-side/easemob_user_token.htmlokhttp3.CallTokenApi.getTokenAsync(EMCreateToken emCreateToken, ApiCallback<EMGetToken> _callback) 获取 Token,可以获取管理员或者用户权限 Token (asynchronously) 管理员权限 Token 可以用来调用环信 Rest API 接口,获取管理员 Token 文档介绍:https://docs-im-beta.easemob.com/document/server-side/easemob_app_token.html,获取用户 Token 文档介绍:https://docs-im-beta.easemob.com/document/server-side/easemob_user_token.htmlokhttp3.CallTokenApi.getTokenCall(EMCreateToken emCreateToken, ApiCallback _callback) Build call for getTokenTokenApi.getTokenWithHttpInfo(EMCreateToken emCreateToken) 获取 Token,可以获取管理员或者用户权限 Token 管理员权限 Token 可以用来调用环信 Rest API 接口,获取管理员 Token 文档介绍:https://docs-im-beta.easemob.com/document/server-side/easemob_app_token.html,获取用户 Token 文档介绍:https://docs-im-beta.easemob.com/document/server-side/easemob_user_token.html获取用户详情 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E8%8E%B7%E5%8F%96%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E7%9A%84%E8%AF%A6%E6%83%85okhttp3.CallUserApi.getUserAsync(String username, ApiCallback<EMGetUserResult> _callback) 获取用户详情 (asynchronously) 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E8%8E%B7%E5%8F%96%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E7%9A%84%E8%AF%A6%E6%83%85okhttp3.CallUserApi.getUserCall(String username, ApiCallback _callback) Build call for getUserUserApi.getUserGlobalMute(String username) 查询单个用户 ID 全局禁言 查询单个用户的单聊、群聊和聊天室的全局禁言详情。okhttp3.CallUserApi.getUserGlobalMuteAsync(String username, ApiCallback<EMGetUserGlobalMuteResult> _callback) 查询单个用户 ID 全局禁言 (asynchronously) 查询单个用户的单聊、群聊和聊天室的全局禁言详情。okhttp3.CallUserApi.getUserGlobalMuteCall(String username, ApiCallback _callback) Build call for getUserGlobalMuteUserApi.getUserGlobalMuteWithHttpInfo(String username) 查询单个用户 ID 全局禁言 查询单个用户的单聊、群聊和聊天室的全局禁言详情。GroupApi.getUserJoinedGroups(String username, Integer pagenum, Integer pagesize) 获取单个用户加入的所有群组 根据用户 ID 分页获取指定用户加入的所有群组。okhttp3.CallGroupApi.getUserJoinedGroupsAsync(String username, Integer pagenum, Integer pagesize, ApiCallback<EMGetUserJoinedGroupsResult> _callback) 获取单个用户加入的所有群组 (asynchronously) 根据用户 ID 分页获取指定用户加入的所有群组。okhttp3.CallGroupApi.getUserJoinedGroupsCall(String username, Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getUserJoinedGroupsGroupApi.getUserJoinedGroupsWithHttpInfo(String username, Integer pagenum, Integer pagesize) 获取单个用户加入的所有群组 根据用户 ID 分页获取指定用户加入的所有群组。RoomApi.getUserJoinedRoomList(String username, Integer pagenum, Integer pagesize) 获取用户加入的聊天室 根据用户 ID 分页获取该用户加入的聊天室。okhttp3.CallRoomApi.getUserJoinedRoomListAsync(String username, Integer pagenum, Integer pagesize, ApiCallback<EMGetUserJoinedRoomListResult> _callback) 获取用户加入的聊天室 (asynchronously) 根据用户 ID 分页获取该用户加入的聊天室。okhttp3.CallRoomApi.getUserJoinedRoomListCall(String username, Integer pagenum, Integer pagesize, ApiCallback _callback) Build call for getUserJoinedRoomListRoomApi.getUserJoinedRoomListWithHttpInfo(String username, Integer pagenum, Integer pagesize) 获取用户加入的聊天室 根据用户 ID 分页获取该用户加入的聊天室。ThreadApi.getUserJoinedThreads(String username, Integer limit, String cursor, String sort) 获取单个用户加入的所有子区(分页获取) 根据用户 ID 获取该用户加入的所有子区。okhttp3.CallThreadApi.getUserJoinedThreadsAsync(String username, Integer limit, String cursor, String sort, ApiCallback<EMGetUserJoinedThreadsResult> _callback) 获取单个用户加入的所有子区(分页获取) (asynchronously) 根据用户 ID 获取该用户加入的所有子区。okhttp3.CallThreadApi.getUserJoinedThreadsCall(String username, Integer limit, String cursor, String sort, ApiCallback _callback) Build call for getUserJoinedThreadsThreadApi.getUserJoinedThreadsUnderGroup(String groupId, String username, Integer limit, String cursor, String sort) 获取单个用户在指定群组中加入的所有子区 (分页获取) 根据用户 ID 获取该用户在指定群组中加入的所有子区。okhttp3.CallThreadApi.getUserJoinedThreadsUnderGroupAsync(String groupId, String username, Integer limit, String cursor, String sort, ApiCallback<EMGetUserJoinedThreadsUnderGroupResult> _callback) 获取单个用户在指定群组中加入的所有子区 (分页获取) (asynchronously) 根据用户 ID 获取该用户在指定群组中加入的所有子区。okhttp3.CallThreadApi.getUserJoinedThreadsUnderGroupCall(String groupId, String username, Integer limit, String cursor, String sort, ApiCallback _callback) Build call for getUserJoinedThreadsUnderGroupThreadApi.getUserJoinedThreadsUnderGroupWithHttpInfo(String groupId, String username, Integer limit, String cursor, String sort) 获取单个用户在指定群组中加入的所有子区 (分页获取) 根据用户 ID 获取该用户在指定群组中加入的所有子区。ThreadApi.getUserJoinedThreadsWithHttpInfo(String username, Integer limit, String cursor, String sort) 获取单个用户加入的所有子区(分页获取) 根据用户 ID 获取该用户加入的所有子区。MetadataApi.getUserMetadata(String username) 获取用户属性 获取单个用户的全部用户属性键值对。okhttp3.CallMetadataApi.getUserMetadataAsync(String username, ApiCallback<EMGetUserMetadataResult> _callback) 获取用户属性 (asynchronously) 获取单个用户的全部用户属性键值对。okhttp3.CallMetadataApi.getUserMetadataCall(String username, ApiCallback _callback) Build call for getUserMetadataMetadataApi.getUserMetadataCapacity()设置用户属性 取该 app 下所有用户的属性数据大小,单位为字节。okhttp3.CallMetadataApi.getUserMetadataCapacityAsync(ApiCallback<EMGetUserMetadataCapacityResult> _callback) 设置用户属性 (asynchronously) 取该 app 下所有用户的属性数据大小,单位为字节。okhttp3.CallMetadataApi.getUserMetadataCapacityCall(ApiCallback _callback) Build call for getUserMetadataCapacityMetadataApi.getUserMetadataCapacityWithHttpInfo()设置用户属性 取该 app 下所有用户的属性数据大小,单位为字节。MetadataApi.getUserMetadataWithHttpInfo(String username) 获取用户属性 获取单个用户的全部用户属性键值对。UserApi.getUserOfflineMessageCount(String username) 获取用户离线消息数量 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E7%A6%BB%E7%BA%BF%E6%B6%88%E6%81%AF%E6%95%B0%E9%87%8Fokhttp3.CallUserApi.getUserOfflineMessageCountAsync(String username, ApiCallback<EMGetUserOfflineMessageCountResult> _callback) 获取用户离线消息数量 (asynchronously) 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E7%A6%BB%E7%BA%BF%E6%B6%88%E6%81%AF%E6%95%B0%E9%87%8Fokhttp3.CallUserApi.getUserOfflineMessageCountCall(String username, ApiCallback _callback) Build call for getUserOfflineMessageCountUserApi.getUserOfflineMessageCountWithHttpInfo(String username) 获取用户离线消息数量 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7%E7%A6%BB%E7%BA%BF%E6%B6%88%E6%81%AF%E6%95%B0%E9%87%8FUserApi.getUserOnlineLoginDeviceList(String username) 获取指定账号的在线登录设备列表 多设备登录情况下,你可以调用该接口获取指定账号的在线登录设备列表。okhttp3.CallUserApi.getUserOnlineLoginDeviceListAsync(String username, ApiCallback<EMGetUserOnlineLoginDeviceListResult> _callback) 获取指定账号的在线登录设备列表 (asynchronously) 多设备登录情况下,你可以调用该接口获取指定账号的在线登录设备列表。okhttp3.CallUserApi.getUserOnlineLoginDeviceListCall(String username, ApiCallback _callback) Build call for getUserOnlineLoginDeviceListUserApi.getUserOnlineLoginDeviceListWithHttpInfo(String username) 获取指定账号的在线登录设备列表 多设备登录情况下,你可以调用该接口获取指定账号的在线登录设备列表。UserApi.getUserOnlineState(String username) 获取单个用户在线状态 查看单个用户是在线还是离线状态。okhttp3.CallUserApi.getUserOnlineStateAsync(String username, ApiCallback<EMGetUserOnlineStateResult> _callback) 获取单个用户在线状态 (asynchronously) 查看单个用户是在线还是离线状态。okhttp3.CallUserApi.getUserOnlineStateCall(String username, ApiCallback _callback) Build call for getUserOnlineStateUserApi.getUserOnlineStateWithHttpInfo(String username) 获取单个用户在线状态 查看单个用户是在线还是离线状态。获取用户列表 该接口查询多个用户的信息列表,按照用户创建时间顺序返回。okhttp3.CallUserApi.getUsersAsync(Integer limit, String cursor, ApiCallback<EMGetUsersResult> _callback) 获取用户列表 (asynchronously) 该接口查询多个用户的信息列表,按照用户创建时间顺序返回。okhttp3.CallUserApi.getUsersCall(Integer limit, String cursor, ApiCallback _callback) Build call for getUsersUserApi.getUsersOnlineState(EMGetUsersOnlineState emGetUsersOnlineState) 批量获取用户在线状态 批量查看用户是在线还是离线状态,单次请求最多可查看 100 个用户的在线状态。okhttp3.CallUserApi.getUsersOnlineStateAsync(EMGetUsersOnlineState emGetUsersOnlineState, ApiCallback<EMGetUsersOnlineStateResult> _callback) 批量获取用户在线状态 (asynchronously) 批量查看用户是在线还是离线状态,单次请求最多可查看 100 个用户的在线状态。okhttp3.CallUserApi.getUsersOnlineStateCall(EMGetUsersOnlineState emGetUsersOnlineState, ApiCallback _callback) Build call for getUsersOnlineStateUserApi.getUsersOnlineStateWithHttpInfo(EMGetUsersOnlineState emGetUsersOnlineState) 批量获取用户在线状态 批量查看用户是在线还是离线状态,单次请求最多可查看 100 个用户的在线状态。PresenceApi.getUserSubscriptionList(String username, Integer pageNum, Integer pageSize) 查询订阅列表 查询当前用户已订阅在线状态的用户列表。okhttp3.CallPresenceApi.getUserSubscriptionListAsync(String username, Integer pageNum, Integer pageSize, ApiCallback<EMGetUserSubscriptionListResult> _callback) 查询订阅列表 (asynchronously) 查询当前用户已订阅在线状态的用户列表。okhttp3.CallPresenceApi.getUserSubscriptionListCall(String username, Integer pageNum, Integer pageSize, ApiCallback _callback) Build call for getUserSubscriptionListPresenceApi.getUserSubscriptionListWithHttpInfo(String username, Integer pageNum, Integer pageSize) 查询订阅列表 查询当前用户已订阅在线状态的用户列表。UserApi.getUsersWithHttpInfo(Integer limit, String cursor) 获取用户列表 该接口查询多个用户的信息列表,按照用户创建时间顺序返回。UserApi.getUserWithHttpInfo(String username) 获取用户详情 文档介绍:https://docs-im-beta.easemob.com/document/server-side/account_system.html#%E8%8E%B7%E5%8F%96%E5%8D%95%E4%B8%AA%E7%94%A8%E6%88%B7%E7%9A%84%E8%AF%A6%E6%83%85HistoryMessageApi.historyMessage(String time) 获取历史消息记录 你可以从服务端获取用户发送的历史消息的记录。okhttp3.CallHistoryMessageApi.historyMessageAsync(String time, ApiCallback<EMGetHistoryMessageResult> _callback) 获取历史消息记录 (asynchronously) 你可以从服务端获取用户发送的历史消息的记录。okhttp3.CallHistoryMessageApi.historyMessageCall(String time, ApiCallback _callback) Build call for historyMessageHistoryMessageApi.historyMessageWithHttpInfo(String time) 获取历史消息记录 你可以从服务端获取用户发送的历史消息的记录。MessageApi.importChatGroupMessage(EMImportChatGroupMessage emImportChatGroupMessage) 导入群聊消息 你可以在数据迁移时导入群聊消息。okhttp3.CallMessageApi.importChatGroupMessageAsync(EMImportChatGroupMessage emImportChatGroupMessage, ApiCallback<EMImportChatGroupMessageResult> _callback) 导入群聊消息 (asynchronously) 你可以在数据迁移时导入群聊消息。okhttp3.CallMessageApi.importChatGroupMessageCall(EMImportChatGroupMessage emImportChatGroupMessage, ApiCallback _callback) Build call for importChatGroupMessageMessageApi.importChatGroupMessageWithHttpInfo(EMImportChatGroupMessage emImportChatGroupMessage) 导入群聊消息 你可以在数据迁移时导入群聊消息。MessageApi.importChatUserMessage(EMImportChatUserMessage emImportChatUserMessage) 导入单聊消息 你可以在数据迁移时导入单聊消息。okhttp3.CallMessageApi.importChatUserMessageAsync(EMImportChatUserMessage emImportChatUserMessage, ApiCallback<EMImportChatUserMessageResult> _callback) 导入单聊消息 (asynchronously) 你可以在数据迁移时导入单聊消息。okhttp3.CallMessageApi.importChatUserMessageCall(EMImportChatUserMessage emImportChatUserMessage, ApiCallback _callback) Build call for importChatUserMessageMessageApi.importChatUserMessageWithHttpInfo(EMImportChatUserMessage emImportChatUserMessage) 导入单聊消息 你可以在数据迁移时导入单聊消息。ContactApi.importContactList(String username, Boolean isSendNotice, EMImportContactList emImportContactList) 导入好友列表 你可以调用该接口导入好友列表。okhttp3.CallContactApi.importContactListAsync(String username, Boolean isSendNotice, EMImportContactList emImportContactList, ApiCallback<EMImportContactListResult> _callback) 导入好友列表 (asynchronously) 你可以调用该接口导入好友列表。okhttp3.CallContactApi.importContactListCall(String username, Boolean isSendNotice, EMImportContactList emImportContactList, ApiCallback _callback) Build call for importContactListContactApi.importContactListWithHttpInfo(String username, Boolean isSendNotice, EMImportContactList emImportContactList) 导入好友列表 你可以调用该接口导入好友列表。GroupApi.modifyGroup(String groupId, EMModifyGroup emModifyGroup) 修改群组信息 修改指定的群组信息,可修改 groupname、description、maxusers、membersonly、allowinvites、invite_need_confirm、public 和 custom 属性。GroupApi.modifyGroupAnnouncement(String groupId, EMModifyGroupAnnouncement emModifyGroupAnnouncement) 修改群组公告 修改指定群组 ID 的群组公告。okhttp3.CallGroupApi.modifyGroupAnnouncementAsync(String groupId, EMModifyGroupAnnouncement emModifyGroupAnnouncement, ApiCallback<EMModifyGroupAnnouncementResult> _callback) 修改群组公告 (asynchronously) 修改指定群组 ID 的群组公告。okhttp3.CallGroupApi.modifyGroupAnnouncementCall(String groupId, EMModifyGroupAnnouncement emModifyGroupAnnouncement, ApiCallback _callback) Build call for modifyGroupAnnouncementGroupApi.modifyGroupAnnouncementWithHttpInfo(String groupId, EMModifyGroupAnnouncement emModifyGroupAnnouncement) 修改群组公告 修改指定群组 ID 的群组公告。okhttp3.CallGroupApi.modifyGroupAsync(String groupId, EMModifyGroup emModifyGroup, ApiCallback<EMModifyGroupResult> _callback) 修改群组信息 (asynchronously) 修改指定的群组信息,可修改 groupname、description、maxusers、membersonly、allowinvites、invite_need_confirm、public 和 custom 属性。okhttp3.CallGroupApi.modifyGroupCall(String groupId, EMModifyGroup emModifyGroup, ApiCallback _callback) Build call for modifyGroupGroupApi.modifyGroupWithHttpInfo(String groupId, EMModifyGroup emModifyGroup) 修改群组信息 修改指定的群组信息,可修改 groupname、description、maxusers、membersonly、allowinvites、invite_need_confirm、public 和 custom 属性。UserApi.modifyPushNicknames(List<EMModifyPushNickname> emModifyPushNickname) 批量修改用户推送昵称。okhttp3.CallUserApi.modifyPushNicknamesAsync(List<EMModifyPushNickname> emModifyPushNickname, ApiCallback<EMModifyPushNicknamesResult> _callback) 批量修改用户推送昵称 (asynchronously)。okhttp3.CallUserApi.modifyPushNicknamesCall(List<EMModifyPushNickname> emModifyPushNickname, ApiCallback _callback) Build call for modifyPushNicknamesUserApi.modifyPushNicknamesWithHttpInfo(List<EMModifyPushNickname> emModifyPushNickname) 批量修改用户推送昵称。RoomApi.modifyRoom(String chatroomId, EMModifyRoom emModifyRoom) 修改聊天室信息 修改指定聊天室的信息。RoomApi.modifyRoomAnnouncement(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement) 修改聊天室公告 修改指定聊天室 ID 的聊天室公告。okhttp3.CallRoomApi.modifyRoomAnnouncementAsync(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement, ApiCallback<EMModifyRoomAnnouncementResult> _callback) 修改聊天室公告 (asynchronously) 修改指定聊天室 ID 的聊天室公告。okhttp3.CallRoomApi.modifyRoomAnnouncementCall(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement, ApiCallback _callback) Build call for modifyRoomAnnouncementRoomApi.modifyRoomAnnouncementWithHttpInfo(String chatroomId, EMModifyRoomAnnouncement emModifyRoomAnnouncement) 修改聊天室公告 修改指定聊天室 ID 的聊天室公告。okhttp3.CallRoomApi.modifyRoomAsync(String chatroomId, EMModifyRoom emModifyRoom, ApiCallback<EMModifyRoomResult> _callback) 修改聊天室信息 (asynchronously) 修改指定聊天室的信息。okhttp3.CallRoomApi.modifyRoomCall(String chatroomId, EMModifyRoom emModifyRoom, ApiCallback _callback) Build call for modifyRoomRoomApi.modifyRoomWithHttpInfo(String chatroomId, EMModifyRoom emModifyRoom) 修改聊天室信息 修改指定聊天室的信息。MessageApi.modifyTextOrCustomizeMessage(String msgId, EMModifyTextOrCustomizeMessage emModifyTextOrCustomizeMessage) 修改文本或自定义消息 修改发送成功的文本消息或自定义消息。okhttp3.CallMessageApi.modifyTextOrCustomizeMessageAsync(String msgId, EMModifyTextOrCustomizeMessage emModifyTextOrCustomizeMessage, ApiCallback<EMModifyTextOrCustomizeMessageResult> _callback) 修改文本或自定义消息 (asynchronously) 修改发送成功的文本消息或自定义消息。okhttp3.CallMessageApi.modifyTextOrCustomizeMessageCall(String msgId, EMModifyTextOrCustomizeMessage emModifyTextOrCustomizeMessage, ApiCallback _callback) Build call for modifyTextOrCustomizeMessageMessageApi.modifyTextOrCustomizeMessageWithHttpInfo(String msgId, EMModifyTextOrCustomizeMessage emModifyTextOrCustomizeMessage) 修改文本或自定义消息 修改发送成功的文本消息或自定义消息。ThreadApi.modifyThread(String threadId, EMModifyThread emModifyThread) 修改子区 分页获取应用下的子区列表。okhttp3.CallThreadApi.modifyThreadAsync(String threadId, EMModifyThread emModifyThread, ApiCallback<EMModifyThreadResult> _callback) 修改子区 (asynchronously) 分页获取应用下的子区列表。okhttp3.CallThreadApi.modifyThreadCall(String threadId, EMModifyThread emModifyThread, ApiCallback _callback) Build call for modifyThreadThreadApi.modifyThreadWithHttpInfo(String threadId, EMModifyThread emModifyThread) 修改子区 分页获取应用下的子区列表。voidUserApi.modifyUserPassword(String username, EMModifyUserPassword emModifyUserPassword) 修改用户密码 通过服务端接口修改用户的登录密码,不需要提供原密码。okhttp3.CallUserApi.modifyUserPasswordAsync(String username, EMModifyUserPassword emModifyUserPassword, ApiCallback<Void> _callback) 修改用户密码 (asynchronously) 通过服务端接口修改用户的登录密码,不需要提供原密码。okhttp3.CallUserApi.modifyUserPasswordCall(String username, EMModifyUserPassword emModifyUserPassword, ApiCallback _callback) Build call for modifyUserPasswordUserApi.modifyUserPasswordWithHttpInfo(String username, EMModifyUserPassword emModifyUserPassword) 修改用户密码 通过服务端接口修改用户的登录密码,不需要提供原密码。GroupApi.muteAllGroupMembers(String groupId) 禁言全体群成员 对所有群组成员一键禁言,即将群组的所有成员加入禁言列表。okhttp3.CallGroupApi.muteAllGroupMembersAsync(String groupId, ApiCallback<EMMuteAllGroupMembersResult> _callback) 禁言全体群成员 (asynchronously) 对所有群组成员一键禁言,即将群组的所有成员加入禁言列表。okhttp3.CallGroupApi.muteAllGroupMembersCall(String groupId, ApiCallback _callback) Build call for muteAllGroupMembersGroupApi.muteAllGroupMembersWithHttpInfo(String groupId) 禁言全体群成员 对所有群组成员一键禁言,即将群组的所有成员加入禁言列表。RoomApi.muteAllRoomMember(String chatroomId) 禁言聊天室全体成员 对所有聊天室成员一键禁言。okhttp3.CallRoomApi.muteAllRoomMemberAsync(String chatroomId, ApiCallback<EMMuteAllRoomMemberResult> _callback) 禁言聊天室全体成员 (asynchronously) 对所有聊天室成员一键禁言。okhttp3.CallRoomApi.muteAllRoomMemberCall(String chatroomId, ApiCallback _callback) Build call for muteAllRoomMemberRoomApi.muteAllRoomMemberWithHttpInfo(String chatroomId) 禁言聊天室全体成员 对所有聊天室成员一键禁言。GroupApi.muteGroupMember(String groupId, EMMuteGroupMember emMuteGroupMember) 禁言指定群成员 对一个或多个群成员禁言。okhttp3.CallGroupApi.muteGroupMemberAsync(String groupId, EMMuteGroupMember emMuteGroupMember, ApiCallback<EMMuteGroupMemberResult> _callback) 禁言指定群成员 (asynchronously) 对一个或多个群成员禁言。okhttp3.CallGroupApi.muteGroupMemberCall(String groupId, EMMuteGroupMember emMuteGroupMember, ApiCallback _callback) Build call for muteGroupMemberGroupApi.muteGroupMemberWithHttpInfo(String groupId, EMMuteGroupMember emMuteGroupMember) 禁言指定群成员 对一个或多个群成员禁言。RoomApi.muteRoomMember(String chatroomId, EMMuteRoomMember emMuteRoomMember) 禁言聊天室成员 禁言单个或多个聊天室成员。okhttp3.CallRoomApi.muteRoomMemberAsync(String chatroomId, EMMuteRoomMember emMuteRoomMember, ApiCallback<EMMuteRoomMemberResult> _callback) 禁言聊天室成员 (asynchronously) 禁言单个或多个聊天室成员。okhttp3.CallRoomApi.muteRoomMemberCall(String chatroomId, EMMuteRoomMember emMuteRoomMember, ApiCallback _callback) Build call for muteRoomMemberRoomApi.muteRoomMemberWithHttpInfo(String chatroomId, EMMuteRoomMember emMuteRoomMember) 禁言聊天室成员 禁言单个或多个聊天室成员。MessageApi.oneWayClearGroupOrRoomRoamingMessagesWithinPeriod(String username, String groupId, BigDecimal delTime) 单向清空指定群组或聊天室会话一段时间内的漫游消息 将传入时间戳之前的漫游消息清空,清空后,该用户无法从环信服务端拉取到这些漫游消息。okhttp3.CallMessageApi.oneWayClearGroupOrRoomRoamingMessagesWithinPeriodAsync(String username, String groupId, BigDecimal delTime, ApiCallback<EMOneWayClearGroupOrRoomRoamingMessagesWithinPeriodResult> _callback) 单向清空指定群组或聊天室会话一段时间内的漫游消息 (asynchronously) 将传入时间戳之前的漫游消息清空,清空后,该用户无法从环信服务端拉取到这些漫游消息。okhttp3.CallMessageApi.oneWayClearGroupOrRoomRoamingMessagesWithinPeriodCall(String username, String groupId, BigDecimal delTime, ApiCallback _callback) Build call for oneWayClearGroupOrRoomRoamingMessagesWithinPeriodMessageApi.oneWayClearGroupOrRoomRoamingMessagesWithinPeriodWithHttpInfo(String username, String groupId, BigDecimal delTime) 单向清空指定群组或聊天室会话一段时间内的漫游消息 将传入时间戳之前的漫游消息清空,清空后,该用户无法从环信服务端拉取到这些漫游消息。MessageApi.oneWayClearGroupRoamingMessagesByMsgId(String username, String groupId, String msgIdList, Boolean isNotify) 根据消息 ID 单向删除群聊漫游消息 根据消息 ID 单向删除指定用户的某个群聊会话的一条或多条漫游消息。okhttp3.CallMessageApi.oneWayClearGroupRoamingMessagesByMsgIdAsync(String username, String groupId, String msgIdList, Boolean isNotify, ApiCallback<EMOneWayClearGroupRoamingMessagesByMsgIdResult> _callback) 根据消息 ID 单向删除群聊漫游消息 (asynchronously) 根据消息 ID 单向删除指定用户的某个群聊会话的一条或多条漫游消息。okhttp3.CallMessageApi.oneWayClearGroupRoamingMessagesByMsgIdCall(String username, String groupId, String msgIdList, Boolean isNotify, ApiCallback _callback) Build call for oneWayClearGroupRoamingMessagesByMsgIdMessageApi.oneWayClearGroupRoamingMessagesByMsgIdWithHttpInfo(String username, String groupId, String msgIdList, Boolean isNotify) 根据消息 ID 单向删除群聊漫游消息 根据消息 ID 单向删除指定用户的某个群聊会话的一条或多条漫游消息。MessageApi.oneWayClearUserRoamingMessages(String username) 单向清空指定用户的漫游消息 清空后,该用户无法从服务端拉取到漫游消息,而且该用户的所有会话也会被清除,也拉不到会话列表。okhttp3.CallMessageApi.oneWayClearUserRoamingMessagesAsync(String username, ApiCallback<EMOneWayClearUserRoamingMessagesResult> _callback) 单向清空指定用户的漫游消息 (asynchronously) 清空后,该用户无法从服务端拉取到漫游消息,而且该用户的所有会话也会被清除,也拉不到会话列表。MessageApi.oneWayClearUserRoamingMessagesByMsgId(String username, String userId, String msgIdList, Boolean isNotify) 根据消息 ID 单向删除单聊漫游消息 根据消息 ID 单向删除指定用户的单聊会话的一条或多条漫游消息。okhttp3.CallMessageApi.oneWayClearUserRoamingMessagesByMsgIdAsync(String username, String userId, String msgIdList, Boolean isNotify, ApiCallback<EMOneWayClearUserRoamingMessagesByMsgIdResult> _callback) 根据消息 ID 单向删除单聊漫游消息 (asynchronously) 根据消息 ID 单向删除指定用户的单聊会话的一条或多条漫游消息。okhttp3.CallMessageApi.oneWayClearUserRoamingMessagesByMsgIdCall(String username, String userId, String msgIdList, Boolean isNotify, ApiCallback _callback) Build call for oneWayClearUserRoamingMessagesByMsgIdMessageApi.oneWayClearUserRoamingMessagesByMsgIdWithHttpInfo(String username, String userId, String msgIdList, Boolean isNotify) 根据消息 ID 单向删除单聊漫游消息 根据消息 ID 单向删除指定用户的单聊会话的一条或多条漫游消息。okhttp3.CallMessageApi.oneWayClearUserRoamingMessagesCall(String username, ApiCallback _callback) Build call for oneWayClearUserRoamingMessagesMessageApi.oneWayClearUserRoamingMessagesWithHttpInfo(String username) 单向清空指定用户的漫游消息 清空后,该用户无法从服务端拉取到漫游消息,而且该用户的所有会话也会被清除,也拉不到会话列表。MessageApi.oneWayClearUserRoamingMessagesWithinPeriod(String username, String userId, BigDecimal delTime) 单向清空指定单聊会话一段时间内的漫游消息 将传入时间戳之前的漫游消息清空,清空后,该用户无法从环信服务端拉取到这些漫游消息。okhttp3.CallMessageApi.oneWayClearUserRoamingMessagesWithinPeriodAsync(String username, String userId, BigDecimal delTime, ApiCallback<EMOneWayClearUserRoamingMessagesWithinPeriodResult> _callback) 单向清空指定单聊会话一段时间内的漫游消息 (asynchronously) 将传入时间戳之前的漫游消息清空,清空后,该用户无法从环信服务端拉取到这些漫游消息。okhttp3.CallMessageApi.oneWayClearUserRoamingMessagesWithinPeriodCall(String username, String userId, BigDecimal delTime, ApiCallback _callback) Build call for oneWayClearUserRoamingMessagesWithinPeriodMessageApi.oneWayClearUserRoamingMessagesWithinPeriodWithHttpInfo(String username, String userId, BigDecimal delTime) 单向清空指定单聊会话一段时间内的漫游消息 将传入时间戳之前的漫游消息清空,清空后,该用户无法从环信服务端拉取到这些漫游消息。MessageApi.oneWayDeleteConversation(String username, EMOneWayDeleteConversation emOneWayDeleteConversation) 单向删除会话 该方法使聊天用户能够从服务器中删除会话。okhttp3.CallMessageApi.oneWayDeleteConversationAsync(String username, EMOneWayDeleteConversation emOneWayDeleteConversation, ApiCallback<EMOneWayDeleteConversationResult> _callback) 单向删除会话 (asynchronously) 该方法使聊天用户能够从服务器中删除会话。okhttp3.CallMessageApi.oneWayDeleteConversationCall(String username, EMOneWayDeleteConversation emOneWayDeleteConversation, ApiCallback _callback) Build call for oneWayDeleteConversationMessageApi.oneWayDeleteConversationWithHttpInfo(String username, EMOneWayDeleteConversation emOneWayDeleteConversation) 单向删除会话 该方法使聊天用户能够从服务器中删除会话。MessageApi.recallMessage(EMRecallMessage emRecallMessage) 撤回消息 发送方可以撤回一条发送成功的消息。okhttp3.CallMessageApi.recallMessageAsync(EMRecallMessage emRecallMessage, ApiCallback<EMRecallMessageResult> _callback) 撤回消息 (asynchronously) 发送方可以撤回一条发送成功的消息。okhttp3.CallMessageApi.recallMessageCall(EMRecallMessage emRecallMessage, ApiCallback _callback) Build call for recallMessageMessageApi.recallMessageWithHttpInfo(EMRecallMessage emRecallMessage) 撤回消息 发送方可以撤回一条发送成功的消息。PushApi.receiverConfigurationTemplateName(String username, EMReceiverConfigurationTemplateName emReceiverConfigurationTemplateName) 接收方配置模板名称 接收方可以调用该 API 设置推送模板。okhttp3.CallPushApi.receiverConfigurationTemplateNameAsync(String username, EMReceiverConfigurationTemplateName emReceiverConfigurationTemplateName, ApiCallback<EMReceiverConfigurationTemplateNameResult> _callback) 接收方配置模板名称 (asynchronously) 接收方可以调用该 API 设置推送模板。okhttp3.CallPushApi.receiverConfigurationTemplateNameCall(String username, EMReceiverConfigurationTemplateName emReceiverConfigurationTemplateName, ApiCallback _callback) Build call for receiverConfigurationTemplateNamePushApi.receiverConfigurationTemplateNameWithHttpInfo(String username, EMReceiverConfigurationTemplateName emReceiverConfigurationTemplateName) 接收方配置模板名称 接收方可以调用该 API 设置推送模板。ContactApi.removeContact(String ownerUsername, String friendUsername) 移除好友 从用户的好友列表中移除一个用户。okhttp3.CallContactApi.removeContactAsync(String ownerUsername, String friendUsername, ApiCallback<EMRemoveContactResult> _callback) 移除好友 (asynchronously) 从用户的好友列表中移除一个用户。okhttp3.CallContactApi.removeContactCall(String ownerUsername, String friendUsername, ApiCallback _callback) Build call for removeContactContactApi.removeContactWithHttpInfo(String ownerUsername, String friendUsername) 移除好友 从用户的好友列表中移除一个用户。GroupApi.removeGroupAdmin(String groupId, String username) 移除群管理员 将用户的角色从群管理员降为群普通成员。okhttp3.CallGroupApi.removeGroupAdminAsync(String groupId, String username, ApiCallback<EMRemoveGroupAdminResult> _callback) 移除群管理员 (asynchronously) 将用户的角色从群管理员降为群普通成员。okhttp3.CallGroupApi.removeGroupAdminCall(String groupId, String username, ApiCallback _callback) Build call for removeGroupAdminGroupApi.removeGroupAdminWithHttpInfo(String groupId, String username) 移除群管理员 将用户的角色从群管理员降为群普通成员。ThreadApi.removeMultipleUsersFromThread(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread) 批量踢出子区成员 批量踢出子区成员。okhttp3.CallThreadApi.removeMultipleUsersFromThreadAsync(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread, ApiCallback<EMRemoveMultipleUsersFromThreadResult> _callback) 批量踢出子区成员 (asynchronously) 批量踢出子区成员。okhttp3.CallThreadApi.removeMultipleUsersFromThreadCall(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread, ApiCallback _callback) Build call for removeMultipleUsersFromThreadThreadApi.removeMultipleUsersFromThreadWithHttpInfo(String threadId, EMRemoveMultipleUsersFromThread emRemoveMultipleUsersFromThread) 批量踢出子区成员 批量踢出子区成员。RoomApi.removeRoomAdmin(String chatroomId, String oldAdmin) 移除聊天室管理员 将用户的角色从聊天室管理员降为普通聊天室成员。okhttp3.CallRoomApi.removeRoomAdminAsync(String chatroomId, String oldAdmin, ApiCallback<EMRemoveRoomAdminResult> _callback) 移除聊天室管理员 (asynchronously) 将用户的角色从聊天室管理员降为普通聊天室成员。okhttp3.CallRoomApi.removeRoomAdminCall(String chatroomId, String oldAdmin, ApiCallback _callback) Build call for removeRoomAdminRoomApi.removeRoomAdminWithHttpInfo(String chatroomId, String oldAdmin) 移除聊天室管理员 将用户的角色从聊天室管理员降为普通聊天室成员。RoomApi.removeRoomSuperAdmin(String superAdmin) 撤销超级管理员 撤销超级管理员权限,用户将不能再创建聊天室。okhttp3.CallRoomApi.removeRoomSuperAdminAsync(String superAdmin, ApiCallback<EMRemoveRoomSuperAdminResult> _callback) 撤销超级管理员 (asynchronously) 撤销超级管理员权限,用户将不能再创建聊天室。okhttp3.CallRoomApi.removeRoomSuperAdminCall(String superAdmin, ApiCallback _callback) Build call for removeRoomSuperAdminRoomApi.removeRoomSuperAdminWithHttpInfo(String superAdmin) 撤销超级管理员 撤销超级管理员权限,用户将不能再创建聊天室。BlockApi.removeUserFromBlockList(String ownerUsername, String blockedUsername) 从黑名单中移除用户 从用户的黑名单中移除用户: 将好友从黑名单中移除后,恢复好友关系,可以正常收发消息; 将非好友从黑名单中移除后,恢复到未添加好友的状态。okhttp3.CallBlockApi.removeUserFromBlockListAsync(String ownerUsername, String blockedUsername, ApiCallback<EMRemoveUserFromBlockListResult> _callback) 从黑名单中移除用户 (asynchronously) 从用户的黑名单中移除用户: 将好友从黑名单中移除后,恢复好友关系,可以正常收发消息; 将非好友从黑名单中移除后,恢复到未添加好友的状态。okhttp3.CallBlockApi.removeUserFromBlockListCall(String ownerUsername, String blockedUsername, ApiCallback _callback) Build call for removeUserFromBlockListBlockApi.removeUserFromBlockListWithHttpInfo(String ownerUsername, String blockedUsername) 从黑名单中移除用户 从用户的黑名单中移除用户: 将好友从黑名单中移除后,恢复好友关系,可以正常收发消息; 将非好友从黑名单中移除后,恢复到未添加好友的状态。GroupApi.removeUserFromGroupBlockList(String groupId, String username) 从群组黑名单移除单个用户 将指定用户移出群组黑名单。okhttp3.CallGroupApi.removeUserFromGroupBlockListAsync(String groupId, String username, ApiCallback<EMRemoveUserFromGroupBlockListResult> _callback) 从群组黑名单移除单个用户 (asynchronously) 将指定用户移出群组黑名单。okhttp3.CallGroupApi.removeUserFromGroupBlockListCall(String groupId, String username, ApiCallback _callback) Build call for removeUserFromGroupBlockListGroupApi.removeUserFromGroupBlockListWithHttpInfo(String groupId, String username) 从群组黑名单移除单个用户 将指定用户移出群组黑名单。GroupApi.removeUserFromGroupWhiteList(String groupId, String username) 从群组白名单移除用户 将指定用户从群组白名单中移除。okhttp3.CallGroupApi.removeUserFromGroupWhiteListAsync(String groupId, String username, ApiCallback<EMRemoveUserFromGroupWhiteListResult> _callback) 从群组白名单移除用户 (asynchronously) 将指定用户从群组白名单中移除。okhttp3.CallGroupApi.removeUserFromGroupWhiteListCall(String groupId, String username, ApiCallback _callback) Build call for removeUserFromGroupWhiteListGroupApi.removeUserFromGroupWhiteListWithHttpInfo(String groupId, String username) 从群组白名单移除用户 将指定用户从群组白名单中移除。RoomApi.removeUserFromRoom(String chatroomId, String username) 移除单个聊天室成员 从聊天室移除一个成员。okhttp3.CallRoomApi.removeUserFromRoomAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomResult> _callback) 移除单个聊天室成员 (asynchronously) 从聊天室移除一个成员。RoomApi.removeUserFromRoomBlockList(String chatroomId, String username) 从聊天室黑名单移出单个用户 将指定用户移出聊天室黑名单。okhttp3.CallRoomApi.removeUserFromRoomBlockListAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomBlockListResult> _callback) 从聊天室黑名单移出单个用户 (asynchronously) 将指定用户移出聊天室黑名单。okhttp3.CallRoomApi.removeUserFromRoomBlockListCall(String chatroomId, String username, ApiCallback _callback) Build call for removeUserFromRoomBlockListRoomApi.removeUserFromRoomBlockListWithHttpInfo(String chatroomId, String username) 从聊天室黑名单移出单个用户 将指定用户移出聊天室黑名单。okhttp3.CallRoomApi.removeUserFromRoomCall(String chatroomId, String username, ApiCallback _callback) Build call for removeUserFromRoomRoomApi.removeUserFromRoomWhiteList(String chatroomId, String username) 将用户移出聊天室白名单 将指定用户从聊天室白名单移除。okhttp3.CallRoomApi.removeUserFromRoomWhiteListAsync(String chatroomId, String username, ApiCallback<EMRemoveUserFromRoomWhiteListResult> _callback) 将用户移出聊天室白名单 (asynchronously) 将指定用户从聊天室白名单移除。okhttp3.CallRoomApi.removeUserFromRoomWhiteListCall(String chatroomId, String username, ApiCallback _callback) Build call for removeUserFromRoomWhiteListRoomApi.removeUserFromRoomWhiteListWithHttpInfo(String chatroomId, String username) 将用户移出聊天室白名单 将指定用户从聊天室白名单移除。RoomApi.removeUserFromRoomWithHttpInfo(String chatroomId, String username) 移除单个聊天室成员 从聊天室移除一个成员。GroupApi.removeUsersToGroup(String groupId, List<String> usernames) 批量移除群组成员 一次移除多名群成员。GroupApi.removeUsersToGroupWithHttpInfo(String groupId, String usernames) 批量移除群组成员 一次移除多名群成员。GroupApi.removeUserToGroup(String groupId, String username) 移除单个群组成员 从群中移除指定成员。okhttp3.CallGroupApi.removeUserToGroupAsync(String groupId, String username, ApiCallback<EMRemoveUserToGroupResult> _callback) 移除单个群组成员 (asynchronously) 从群中移除指定成员。okhttp3.CallGroupApi.removeUserToGroupCall(String groupId, String username, ApiCallback _callback) Build call for removeUserToGroupGroupApi.removeUserToGroupWithHttpInfo(String groupId, String username) 移除单个群组成员 从群中移除指定成员。MessageApi.sendGroupDirectionalMessages(EMCreateMessage emCreateMessage) 发送群聊定向消息 你可以向群组中指定的一个或多个成员发送消息,但单次仅支持指定一个群组。okhttp3.CallMessageApi.sendGroupDirectionalMessagesAsync(EMCreateMessage emCreateMessage, ApiCallback<EMSendMessageResult> _callback) 发送群聊定向消息 (asynchronously) 你可以向群组中指定的一个或多个成员发送消息,但单次仅支持指定一个群组。okhttp3.CallMessageApi.sendGroupDirectionalMessagesCall(EMCreateMessage emCreateMessage, ApiCallback _callback) Build call for sendGroupDirectionalMessagesMessageApi.sendGroupDirectionalMessagesWithHttpInfo(EMCreateMessage emCreateMessage) 发送群聊定向消息 你可以向群组中指定的一个或多个成员发送消息,但单次仅支持指定一个群组。MessageApi.sendMessagesToGroup(EMCreateMessage emCreateMessage) 发送群聊消息 向群组发送消息。okhttp3.CallMessageApi.sendMessagesToGroupAsync(EMCreateMessage emCreateMessage, ApiCallback<EMSendMessageResult> _callback) 发送群聊消息 (asynchronously) 向群组发送消息。okhttp3.CallMessageApi.sendMessagesToGroupCall(EMCreateMessage emCreateMessage, ApiCallback _callback) Build call for sendMessagesToGroupMessageApi.sendMessagesToGroupWithHttpInfo(EMCreateMessage emCreateMessage) 发送群聊消息 向群组发送消息。MessageApi.sendMessagesToRoom(EMCreateMessage emCreateMessage) 发送聊天室消息 向聊天室发送消息。okhttp3.CallMessageApi.sendMessagesToRoomAsync(EMCreateMessage emCreateMessage, ApiCallback<EMSendMessageResult> _callback) 发送聊天室消息 (asynchronously) 向聊天室发送消息。okhttp3.CallMessageApi.sendMessagesToRoomCall(EMCreateMessage emCreateMessage, ApiCallback _callback) Build call for sendMessagesToRoomMessageApi.sendMessagesToRoomWithHttpInfo(EMCreateMessage emCreateMessage) 发送聊天室消息 向聊天室发送消息。MessageApi.sendMessagesToUser(EMCreateMessage emCreateMessage) 发送单聊消息 给用户发送消息。okhttp3.CallMessageApi.sendMessagesToUserAsync(EMCreateMessage emCreateMessage, ApiCallback<EMSendMessageResult> _callback) 发送单聊消息 (asynchronously) 给用户发送消息。okhttp3.CallMessageApi.sendMessagesToUserCall(EMCreateMessage emCreateMessage, ApiCallback _callback) Build call for sendMessagesToUserMessageApi.sendMessagesToUserWithHttpInfo(EMCreateMessage emCreateMessage) 发送单聊消息 给用户发送消息。MessageApi.sendOnlineUserBroadcastMessages(EMCreateOnlineUserBroadcastMessage emCreateOnlineUserBroadcastMessage) 向 app 在线用户发送广播消息 可通过该接口向 app 下的所有在线用户发送广播消息,支持所有消息类型。okhttp3.CallMessageApi.sendOnlineUserBroadcastMessagesAsync(EMCreateOnlineUserBroadcastMessage emCreateOnlineUserBroadcastMessage, ApiCallback<EMSendMessageResult> _callback) 向 app 在线用户发送广播消息 (asynchronously) 可通过该接口向 app 下的所有在线用户发送广播消息,支持所有消息类型。okhttp3.CallMessageApi.sendOnlineUserBroadcastMessagesCall(EMCreateOnlineUserBroadcastMessage emCreateOnlineUserBroadcastMessage, ApiCallback _callback) Build call for sendOnlineUserBroadcastMessagesMessageApi.sendOnlineUserBroadcastMessagesWithHttpInfo(EMCreateOnlineUserBroadcastMessage emCreateOnlineUserBroadcastMessage) 向 app 在线用户发送广播消息 可通过该接口向 app 下的所有在线用户发送广播消息,支持所有消息类型。MessageApi.sendRoomBroadcastMessages(EMCreateChatroomBroadcastMessage emCreateChatroomBroadcastMessage) 发送聊天室全局广播消息 可通过该接口向 app 下的所有活跃聊天室(聊天室至少存在一个成员,而且曾经至少发送过一条消息)发送广播消息,支持所有消息类型。。okhttp3.CallMessageApi.sendRoomBroadcastMessagesAsync(EMCreateChatroomBroadcastMessage emCreateChatroomBroadcastMessage, ApiCallback<EMSendMessageResult> _callback) 发送聊天室全局广播消息 (asynchronously) 可通过该接口向 app 下的所有活跃聊天室(聊天室至少存在一个成员,而且曾经至少发送过一条消息)发送广播消息,支持所有消息类型。。okhttp3.CallMessageApi.sendRoomBroadcastMessagesCall(EMCreateChatroomBroadcastMessage emCreateChatroomBroadcastMessage, ApiCallback _callback) Build call for sendRoomBroadcastMessagesMessageApi.sendRoomBroadcastMessagesWithHttpInfo(EMCreateChatroomBroadcastMessage emCreateChatroomBroadcastMessage) 发送聊天室全局广播消息 可通过该接口向 app 下的所有活跃聊天室(聊天室至少存在一个成员,而且曾经至少发送过一条消息)发送广播消息,支持所有消息类型。。MessageApi.sendRoomDirectionalMessages(EMCreateMessage emCreateMessage) 发送聊天室定向消息 你可以向聊天室中指定的一个或多个成员发送消息,但单次仅支持指定一个聊天室。okhttp3.CallMessageApi.sendRoomDirectionalMessagesAsync(EMCreateMessage emCreateMessage, ApiCallback<EMSendMessageResult> _callback) 发送聊天室定向消息 (asynchronously) 你可以向聊天室中指定的一个或多个成员发送消息,但单次仅支持指定一个聊天室。okhttp3.CallMessageApi.sendRoomDirectionalMessagesCall(EMCreateMessage emCreateMessage, ApiCallback _callback) Build call for sendRoomDirectionalMessagesMessageApi.sendRoomDirectionalMessagesWithHttpInfo(EMCreateMessage emCreateMessage) 发送聊天室定向消息 你可以向聊天室中指定的一个或多个成员发送消息,但单次仅支持指定一个聊天室。ContactApi.setContactNote(String ownerUsername, String friendUsername, EMSetContactNote emSetContactNote) 设置好友备注 你可以调用该接口设置你在当前 app 下的好友的备注,即你和要设置备注的好友需在同一个 App Key 下。okhttp3.CallContactApi.setContactNoteAsync(String ownerUsername, String friendUsername, EMSetContactNote emSetContactNote, ApiCallback<EMSetContactNoteResult> _callback) 设置好友备注 (asynchronously) 你可以调用该接口设置你在当前 app 下的好友的备注,即你和要设置备注的好友需在同一个 App Key 下。okhttp3.CallContactApi.setContactNoteCall(String ownerUsername, String friendUsername, EMSetContactNote emSetContactNote, ApiCallback _callback) Build call for setContactNoteContactApi.setContactNoteWithHttpInfo(String ownerUsername, String friendUsername, EMSetContactNote emSetContactNote) 设置好友备注 你可以调用该接口设置你在当前 app 下的好友的备注,即你和要设置备注的好友需在同一个 App Key 下。PushApi.setOfflinePushNew(String username, String chattype, String key, EMSetOfflinePushNew emSetOfflinePushNew) 设置离线推送(新) 你可以设置全局离线推送的通知方式和免打扰模式以及单个单聊或群聊会话的离线推送设置。okhttp3.CallPushApi.setOfflinePushNewAsync(String username, String chattype, String key, EMSetOfflinePushNew emSetOfflinePushNew, ApiCallback<EMSetOfflinePushNewResult> _callback) 设置离线推送(新) (asynchronously) 你可以设置全局离线推送的通知方式和免打扰模式以及单个单聊或群聊会话的离线推送设置。okhttp3.CallPushApi.setOfflinePushNewCall(String username, String chattype, String key, EMSetOfflinePushNew emSetOfflinePushNew, ApiCallback _callback) Build call for setOfflinePushNewPushApi.setOfflinePushNewWithHttpInfo(String username, String chattype, String key, EMSetOfflinePushNew emSetOfflinePushNew) 设置离线推送(新) 你可以设置全局离线推送的通知方式和免打扰模式以及单个单聊或群聊会话的离线推送设置。voidPushApi.setOfflinePushOld(String username, EMSetOfflinePushOld emSetOfflinePushOld) 离线推送设置。okhttp3.CallPushApi.setOfflinePushOldAsync(String username, EMSetOfflinePushOld emSetOfflinePushOld, ApiCallback<Void> _callback) 离线推送设置。okhttp3.CallPushApi.setOfflinePushOldCall(String username, EMSetOfflinePushOld emSetOfflinePushOld, ApiCallback _callback) Build call for setOfflinePushOldPushApi.setOfflinePushOldWithHttpInfo(String username, EMSetOfflinePushOld emSetOfflinePushOld) 离线推送设置。PushApi.setPushBindingInfo(String username, EMSetPushBindingInfo emSetPushBindingInfo) 绑定和解绑推送信息 推送消息时,设备与推送信息会进行绑定,包括设备 ID、推送证书和 device token。okhttp3.CallPushApi.setPushBindingInfoAsync(String username, EMSetPushBindingInfo emSetPushBindingInfo, ApiCallback<EMSetPushBindingInfoResult> _callback) 绑定和解绑推送信息 (asynchronously) 推送消息时,设备与推送信息会进行绑定,包括设备 ID、推送证书和 device token。okhttp3.CallPushApi.setPushBindingInfoCall(String username, EMSetPushBindingInfo emSetPushBindingInfo, ApiCallback _callback) Build call for setPushBindingInfoPushApi.setPushBindingInfoWithHttpInfo(String username, EMSetPushBindingInfo emSetPushBindingInfo) 绑定和解绑推送信息 推送消息时,设备与推送信息会进行绑定,包括设备 ID、推送证书和 device token。PushApi.setPushPreferredLanguage(String username, EMSetPushPreferredLanguage emSetPushPreferredLanguage) 设置推送通知的首选语言 设置离线推送消息的首选语言。okhttp3.CallPushApi.setPushPreferredLanguageAsync(String username, EMSetPushPreferredLanguage emSetPushPreferredLanguage, ApiCallback<EMSetPushPreferredLanguageResult> _callback) 设置推送通知的首选语言 (asynchronously) 设置离线推送消息的首选语言。okhttp3.CallPushApi.setPushPreferredLanguageCall(String username, EMSetPushPreferredLanguage emSetPushPreferredLanguage, ApiCallback _callback) Build call for setPushPreferredLanguagePushApi.setPushPreferredLanguageWithHttpInfo(String username, EMSetPushPreferredLanguage emSetPushPreferredLanguage) 设置推送通知的首选语言 设置离线推送消息的首选语言。ReactionApi.setReaction(String username, EMSetReaction emSetReaction) 创建/追加 Reaction 在单聊或群聊场景中对单条消息创建或追加 Reaction。okhttp3.CallReactionApi.setReactionAsync(String username, EMSetReaction emSetReaction, ApiCallback<EMSetReactionResult> _callback) 创建/追加 Reaction (asynchronously) 在单聊或群聊场景中对单条消息创建或追加 Reaction。okhttp3.CallReactionApi.setReactionCall(String username, EMSetReaction emSetReaction, ApiCallback _callback) Build call for setReactionReactionApi.setReactionWithHttpInfo(String username, EMSetReaction emSetReaction) 创建/追加 Reaction 在单聊或群聊场景中对单条消息创建或追加 Reaction。RoomApi.setRoomCustomAttributes(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes) 设置聊天室自定义属性 指定用户设置特定聊天室的自定义属性。okhttp3.CallRoomApi.setRoomCustomAttributesAsync(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes, ApiCallback<EMSetRoomCustomAttributesResult> _callback) 设置聊天室自定义属性 (asynchronously) 指定用户设置特定聊天室的自定义属性。okhttp3.CallRoomApi.setRoomCustomAttributesCall(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes, ApiCallback _callback) Build call for setRoomCustomAttributesRoomApi.setRoomCustomAttributesWithHttpInfo(String chatroomId, String username, EMSetRoomCustomAttributes emSetRoomCustomAttributes) 设置聊天室自定义属性 指定用户设置特定聊天室的自定义属性。UserApi.setUserGlobalMute(EMSetUserGlobalMute emSetUserGlobalMute) 设置用户全局禁言 设置单个用户 ID 的单聊、群组或聊天室消息的全局禁言。okhttp3.CallUserApi.setUserGlobalMuteAsync(EMSetUserGlobalMute emSetUserGlobalMute, ApiCallback<EMSetUserGlobalMuteResult> _callback) 设置用户全局禁言 (asynchronously) 设置单个用户 ID 的单聊、群组或聊天室消息的全局禁言。okhttp3.CallUserApi.setUserGlobalMuteCall(EMSetUserGlobalMute emSetUserGlobalMute, ApiCallback _callback) Build call for setUserGlobalMuteUserApi.setUserGlobalMuteWithHttpInfo(EMSetUserGlobalMute emSetUserGlobalMute) 设置用户全局禁言 设置单个用户 ID 的单聊、群组或聊天室消息的全局禁言。MetadataApi.setUserMetadata(String username, Map<String, String> metadata) 设置用户属性 用户属性的内容为一个或多个纯文本键值对,默认单个用户的属性总长度不能超过 2 KB,默认单个 app 下所有用户的属性总长度不能超过 10 GB。okhttp3.CallMetadataApi.setUserMetadataAsync(String username, Map<String, String> metadata, ApiCallback<EMSetUserMetadataResult> _callback) 设置用户属性 (asynchronously) 用户属性的内容为一个或多个纯文本键值对,默认单个用户的属性总长度不能超过 2 KB,默认单个 app 下所有用户的属性总长度不能超过 10 GB。okhttp3.CallMetadataApi.setUserMetadataCall(String username, Map<String, String> metadata, ApiCallback _callback) Build call for setUserMetadataMetadataApi.setUserMetadataWithHttpInfo(String username, Map<String, String> metadata) 设置用户属性 用户属性的内容为一个或多个纯文本键值对,默认单个用户的属性总长度不能超过 2 KB,默认单个 app 下所有用户的属性总长度不能超过 10 GB。PresenceApi.setUserPresenceStatus(String username, String resource, String status, EMSetUserPresenceStatus emSetUserPresenceStatus) 设置用户在线状态信息 可以设置用户在指定设备的在线状态信息。okhttp3.CallPresenceApi.setUserPresenceStatusAsync(String username, String resource, String status, EMSetUserPresenceStatus emSetUserPresenceStatus, ApiCallback<EMSetUserPresenceStatusResult> _callback) 设置用户在线状态信息 (asynchronously) 可以设置用户在指定设备的在线状态信息。okhttp3.CallPresenceApi.setUserPresenceStatusCall(String username, String resource, String status, EMSetUserPresenceStatus emSetUserPresenceStatus, ApiCallback _callback) Build call for setUserPresenceStatusPresenceApi.setUserPresenceStatusWithHttpInfo(String username, String resource, String status, EMSetUserPresenceStatus emSetUserPresenceStatus) 设置用户在线状态信息 可以设置用户在指定设备的在线状态信息。PresenceApi.subscribeMultipleUsersPresenceStatus(String username, String expiry, EMSubscribeMultipleUsersPresenceStatus emSubscribeMultipleUsersPresenceStatus) 批量订阅在线状态 一次可订阅多个用户的在线状态。okhttp3.CallPresenceApi.subscribeMultipleUsersPresenceStatusAsync(String username, String expiry, EMSubscribeMultipleUsersPresenceStatus emSubscribeMultipleUsersPresenceStatus, ApiCallback<EMSubscribeMultipleUsersPresenceStatusResult> _callback) 批量订阅在线状态 (asynchronously) 一次可订阅多个用户的在线状态。okhttp3.CallPresenceApi.subscribeMultipleUsersPresenceStatusCall(String username, String expiry, EMSubscribeMultipleUsersPresenceStatus emSubscribeMultipleUsersPresenceStatus, ApiCallback _callback) Build call for subscribeMultipleUsersPresenceStatusPresenceApi.subscribeMultipleUsersPresenceStatusWithHttpInfo(String username, String expiry, EMSubscribeMultipleUsersPresenceStatus emSubscribeMultipleUsersPresenceStatus) 批量订阅在线状态 一次可订阅多个用户的在线状态。GroupApi.unmuteAllGroupMembers(String groupId) 解除全员禁言 一键取消对群组全体成员的禁言。okhttp3.CallGroupApi.unmuteAllGroupMembersAsync(String groupId, ApiCallback<EMUnmuteAllGroupMembersResult> _callback) 解除全员禁言 (asynchronously) 一键取消对群组全体成员的禁言。okhttp3.CallGroupApi.unmuteAllGroupMembersCall(String groupId, ApiCallback _callback) Build call for unmuteAllGroupMembersGroupApi.unmuteAllGroupMembersWithHttpInfo(String groupId) 解除全员禁言 一键取消对群组全体成员的禁言。RoomApi.unmuteAllRoomMember(String chatroomId) 解除聊天室全员禁言 一键取消对聊天室全体成员的禁言。okhttp3.CallRoomApi.unmuteAllRoomMemberAsync(String chatroomId, ApiCallback<EMUnmuteAllRoomMemberResult> _callback) 解除聊天室全员禁言 (asynchronously) 一键取消对聊天室全体成员的禁言。okhttp3.CallRoomApi.unmuteAllRoomMemberCall(String chatroomId, ApiCallback _callback) Build call for unmuteAllRoomMemberRoomApi.unmuteAllRoomMemberWithHttpInfo(String chatroomId) 解除聊天室全员禁言 一键取消对聊天室全体成员的禁言。GroupApi.unmuteGroupMember(String groupId, String username) 解除成员禁言 将一个群成员移出禁言列表。okhttp3.CallGroupApi.unmuteGroupMemberAsync(String groupId, String username, ApiCallback<EMUnmuteGroupMemberResult> _callback) 解除成员禁言 (asynchronously) 将一个群成员移出禁言列表。okhttp3.CallGroupApi.unmuteGroupMemberCall(String groupId, String username, ApiCallback _callback) Build call for unmuteGroupMemberGroupApi.unmuteGroupMemberWithHttpInfo(String groupId, String username) 解除成员禁言 将一个群成员移出禁言列表。RoomApi.unmuteRoomMember(String chatroomId, String username) 解除聊天室禁言成员 解除对一个聊天室成员的禁言。okhttp3.CallRoomApi.unmuteRoomMemberAsync(String chatroomId, String username, ApiCallback<EMUnmuteRoomMemberResult> _callback) 解除聊天室禁言成员 (asynchronously) 解除对一个聊天室成员的禁言。okhttp3.CallRoomApi.unmuteRoomMemberCall(String chatroomId, String username, ApiCallback _callback) Build call for unmuteRoomMemberRoomApi.unmuteRoomMemberWithHttpInfo(String chatroomId, String username) 解除聊天室禁言成员 解除对一个聊天室成员的禁言。PresenceApi.unsubscribeMultipleUsersPresenceStatus(String username, List<String> requestBody) 取消订阅多个用户的在线状态 取消订阅多个用户的在线状态。okhttp3.CallPresenceApi.unsubscribeMultipleUsersPresenceStatusAsync(String username, List<String> requestBody, ApiCallback<EMUnsubscribeMultipleUsersPresenceStatusResult> _callback) 取消订阅多个用户的在线状态 (asynchronously) 取消订阅多个用户的在线状态。okhttp3.CallPresenceApi.unsubscribeMultipleUsersPresenceStatusCall(String username, List<String> requestBody, ApiCallback _callback) Build call for unsubscribeMultipleUsersPresenceStatusPresenceApi.unsubscribeMultipleUsersPresenceStatusWithHttpInfo(String username, List<String> requestBody) 取消订阅多个用户的在线状态 取消订阅多个用户的在线状态。ChatFileApi.uploadChatFile(Boolean restrictAccess, File _file) 上传文件 对于附件类型的消息,如图片、语音、视频或其他类型文件,发送消息前需上传文件。okhttp3.CallChatFileApi.uploadChatFileAsync(Boolean restrictAccess, File _file, ApiCallback<EMUploadChatFileResult> _callback) 上传文件 (asynchronously) 对于附件类型的消息,如图片、语音、视频或其他类型文件,发送消息前需上传文件。okhttp3.CallChatFileApi.uploadChatFileCall(Boolean restrictAccess, File _file, ApiCallback _callback) Build call for uploadChatFileChatFileApi.uploadChatFileWithHttpInfo(Boolean restrictAccess, File _file) 上传文件 对于附件类型的消息,如图片、语音、视频或其他类型文件,发送消息前需上传文件。GroupApi.uploadGroupShareFile(String groupId, File _file) 上传群组共享文件 上传指定群组 ID 的群组共享文件。okhttp3.CallGroupApi.uploadGroupShareFileAsync(String groupId, File _file, ApiCallback<EMUploadGroupShareFileResult> _callback) 上传群组共享文件 (asynchronously) 上传指定群组 ID 的群组共享文件。okhttp3.CallGroupApi.uploadGroupShareFileCall(String groupId, File _file, ApiCallback _callback) Build call for uploadGroupShareFileGroupApi.uploadGroupShareFileWithHttpInfo(String groupId, File _file) 上传群组共享文件 上传指定群组 ID 的群组共享文件。voidUserApi.userActivate(String username) 账号解禁 被解禁后用户才能恢复登录。okhttp3.CallUserApi.userActivateAsync(String username, ApiCallback<Void> _callback) 账号解禁 (asynchronously) 被解禁后用户才能恢复登录。okhttp3.CallUserApi.userActivateCall(String username, ApiCallback _callback) Build call for userActivateUserApi.userActivateWithHttpInfo(String username) 账号解禁 被解禁后用户才能恢复登录。ContactApi.userContactCheck(EMUserContactCheck emUserContactCheck) 校验好友 批量检查用户是否在好友列表中。okhttp3.CallContactApi.userContactCheckAsync(EMUserContactCheck emUserContactCheck, ApiCallback<EMUserContactCheckResult> _callback) 校验好友 (asynchronously) 批量检查用户是否在好友列表中。okhttp3.CallContactApi.userContactCheckCall(EMUserContactCheck emUserContactCheck, ApiCallback _callback) Build call for userContactCheckContactApi.userContactCheckWithHttpInfo(EMUserContactCheck emUserContactCheck) 校验好友 批量检查用户是否在好友列表中。UserApi.userDeactivate(String username) 账号封禁 环信即时通讯 IM 提供了对用户的禁用以及解禁接口操作,用户若被禁用将立即下线并无法登录进入环信即时通讯 IM,直到被解禁后才能恢复登录。okhttp3.CallUserApi.userDeactivateAsync(String username, ApiCallback<EMUserDeactivateResult> _callback) 账号封禁 (asynchronously) 环信即时通讯 IM 提供了对用户的禁用以及解禁接口操作,用户若被禁用将立即下线并无法登录进入环信即时通讯 IM,直到被解禁后才能恢复登录。okhttp3.CallUserApi.userDeactivateCall(String username, ApiCallback _callback) Build call for userDeactivateUserApi.userDeactivateWithHttpInfo(String username) 账号封禁 环信即时通讯 IM 提供了对用户的禁用以及解禁接口操作,用户若被禁用将立即下线并无法登录进入环信即时通讯 IM,直到被解禁后才能恢复登录。 -
com.easemob.im.auth中ApiException的使用
修饰符和类型方法说明voidApiKeyAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidAuthentication.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Apply authentication settings to header and query params.voidHttpBasicAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidHttpBearerAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri)