NIMSDK-AOS  9.16.0
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.qchat.QChatChannelService接口 参考

Public 成员函数

InvocationFuture< QChatCreateChannelResultcreateChannel (QChatCreateChannelParam param)
 创建频道 更多...
 
InvocationFuture< Void > deleteChannel (QChatDeleteChannelParam param)
 删除频道 更多...
 
InvocationFuture< QChatUpdateChannelResultupdateChannel (QChatUpdateChannelParam param)
 修改频道信息 更多...
 
InvocationFuture< QChatGetChannelsResultgetChannels (QChatGetChannelsParam param)
 通过频道Id查询频道 更多...
 
InvocationFuture< QChatGetChannelsByPageResultgetChannelsByPage (QChatGetChannelsByPageParam param)
 通过分页接口查询频道 更多...
 
InvocationFuture< QChatGetChannelMembersByPageResultgetChannelMembersByPage (QChatGetChannelMembersByPageParam param)
 通过分页接口查询频道成员 更多...
 
InvocationFuture< Void > updateChannelBlackWhiteRoles (QChatUpdateChannelBlackWhiteRolesParam param)
 更新频道黑白名单身份组 更多...
 
InvocationFuture< QChatGetChannelBlackWhiteRolesByPageResultgetChannelBlackWhiteRolesByPage (QChatGetChannelBlackWhiteRolesByPageParam param)
 分页查询频道黑白名单身份组列表 更多...
 
InvocationFuture< QChatGetExistingChannelBlackWhiteRolesResultgetExistingChannelBlackWhiteRoles (QChatGetExistingChannelBlackWhiteRolesParam param)
 批量查询频道黑白名单身份组列表 更多...
 
InvocationFuture< Void > updateChannelBlackWhiteMembers (QChatUpdateChannelBlackWhiteMembersParam param)
 更新频道黑白名单成员 更多...
 
InvocationFuture< QChatGetChannelBlackWhiteMembersByPageResultgetChannelBlackWhiteMembersByPage (QChatGetChannelBlackWhiteMembersByPageParam param)
 分页查询频道黑白名单成员列表 更多...
 
InvocationFuture< QChatGetExistingChannelBlackWhiteMembersResultgetExistingChannelBlackWhiteMembers (QChatGetExistingChannelBlackWhiteMembersParam param)
 批量查询频道黑白名单成员列表 更多...
 
InvocationFuture< QChatGetChannelUnreadInfosResultgetChannelUnreadInfos (QChatGetChannelUnreadInfosParam param)
 查询未读信息 更多...
 
InvocationFuture< QChatSubscribeChannelResultsubscribeChannel (QChatSubscribeChannelParam param)
 订阅频道 大服务器下,只有订阅频道后才能收到该频道的订阅内容(消息、未读数、未读状态);与你相关的消息不需要订阅频道就可以收到,比如@你的消息(的消息不属于与你相关的消息) 小服务器下,不需要订阅频道就可以收到所有该服务器下所有频道的消息 订阅正在输入事件不区分大服务器和小服务器,只有订阅了才会收到,默认最多订阅100个频道 更多...
 
InvocationFuture< Void > updateUserChannelPushConfig (QChatUpdateUserChannelPushConfigParam param)
 更新用户频道推送配置 更多...
 
InvocationFuture< QChatGetUserPushConfigsResultgetUserChannelPushConfigs (QChatGetUserChannelPushConfigsParam param)
 获取用户频道推送配置列表 更多...
 
InvocationFuture< Void > updateUserChannelCategoryPushConfig (QChatUpdateUserChannelCategoryPushConfigParam param)
 更新用户频道分组推送配置 更多...
 
InvocationFuture< QChatGetUserPushConfigsResultgetUserChannelCategoryPushConfigs (QChatGetUserChannelCategoryPushConfigsParam param)
 获取用户频道分组推送配置列表 更多...
 
InvocationFuture< QChatCreateChannelCategoryResultcreateChannelCategory (QChatCreateChannelCategoryParam param)
 创建频道分组 更多...
 
InvocationFuture< Void > deleteChannelCategory (QChatDeleteChannelCategoryParam param)
 删除频道分组 更多...
 
InvocationFuture< QChatUpdateChannelCategoryResultupdateChannelCategory (QChatUpdateChannelCategoryParam param)
 修改频道分组信息 更多...
 
InvocationFuture< QChatGetChannelCategoriesResultgetChannelCategories (QChatGetChannelCategoriesParam param)
 查询频道分组信息 更多...
 
InvocationFuture< QChatUpdateCategoryInfoOfChannelResultupdateCategoryInfoOfChannel (QChatUpdateCategoryInfoOfChannelParam param)
 修改频道中的频道分组信息 更多...
 
InvocationFuture< Void > updateChannelCategoryBlackWhiteRoles (QChatUpdateChannelCategoryBlackWhiteRolesParam param)
 更新频道分组黑白名单身份组 更多...
 
InvocationFuture< QChatGetChannelCategoryBlackWhiteRolesByPageResultgetChannelCategoryBlackWhiteRolesByPage (QChatGetChannelCategoryBlackWhiteRolesByPageParam param)
 分页查询频道分组黑白名单身份组列表 更多...
 
InvocationFuture< QChatGetExistingChannelCategoryBlackWhiteRolesResultgetExistingChannelCategoryBlackWhiteRoles (QChatGetExistingChannelCategoryBlackWhiteRolesParam param)
 批量查询频道分组黑白名单身份组列表 更多...
 
InvocationFuture< Void > updateChannelCategoryBlackWhiteMembers (QChatUpdateChannelCategoryBlackWhiteMembersParam param)
 更新频道分组黑白名单成员 更多...
 
InvocationFuture< QChatGetChannelCategoryBlackWhiteMembersByPageResultgetChannelCategoryBlackWhiteMembersByPage (QChatGetChannelCategoryBlackWhiteMembersByPageParam param)
 分页查询频道分组黑白名单成员列表 更多...
 
InvocationFuture< QChatGetExistingChannelCategoryBlackWhiteMembersResultgetExistingChannelCategoryBlackWhiteMembers (QChatGetExistingChannelCategoryBlackWhiteMembersParam param)
 批量查询频道分组黑白名单成员列表 更多...
 
InvocationFuture< QChatGetChannelCategoriesByPageResultgetChannelCategoriesByPage (QChatGetChannelCategoriesByPageParam param)
 分页查询服务器下频道类别列表 更多...
 
InvocationFuture< QChatGetChannelsInCategoryByPageResultgetChannelsInCategoryByPage (QChatGetChannelsInCategoryByPageParam param)
 分页查询频道分组下频道列表 更多...
 
InvocationFuture< QChatSearchChannelByPageResultsearchChannelByPage (QChatSearchChannelByPageParam param)
 分页检索频道列表 更多...
 
InvocationFuture< QChatSearchChannelMembersResultsearchChannelMembers (@NonNull QChatSearchChannelMembersParam param)
 检索频道内成员 更多...
 
InvocationFuture< QChatSubscribeChannelAsVisitorResultsubscribeAsVisitor (QChatSubscribeChannelAsVisitorParam param)
 以游客身份订阅频道 更多...
 

详细描述

在文件 QChatChannelService.java68 行定义.

成员函数说明

◆ createChannel()

InvocationFuture<QChatCreateChannelResult> com.netease.nimlib.sdk.qchat.QChatChannelService.createChannel ( QChatCreateChannelParam  param)

创建频道

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回创建成功的频道

◆ createChannelCategory()

InvocationFuture<QChatCreateChannelCategoryResult> com.netease.nimlib.sdk.qchat.QChatChannelService.createChannelCategory ( QChatCreateChannelCategoryParam  param)

创建频道分组

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回创建成功的频道

◆ deleteChannel()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatChannelService.deleteChannel ( QChatDeleteChannelParam  param)

删除频道

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ deleteChannelCategory()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatChannelService.deleteChannelCategory ( QChatDeleteChannelCategoryParam  param)

删除频道分组

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ getChannelBlackWhiteMembersByPage()

InvocationFuture<QChatGetChannelBlackWhiteMembersByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelBlackWhiteMembersByPage ( QChatGetChannelBlackWhiteMembersByPageParam  param)

分页查询频道黑白名单成员列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的黑白名单成员

◆ getChannelBlackWhiteRolesByPage()

InvocationFuture<QChatGetChannelBlackWhiteRolesByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelBlackWhiteRolesByPage ( QChatGetChannelBlackWhiteRolesByPageParam  param)

分页查询频道黑白名单身份组列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的黑白名单身份组

◆ getChannelCategories()

InvocationFuture<QChatGetChannelCategoriesResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelCategories ( QChatGetChannelCategoriesParam  param)

查询频道分组信息

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的频道分组列表

◆ getChannelCategoriesByPage()

InvocationFuture<QChatGetChannelCategoriesByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelCategoriesByPage ( QChatGetChannelCategoriesByPageParam  param)

分页查询服务器下频道类别列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的频道分组列表

◆ getChannelCategoryBlackWhiteMembersByPage()

InvocationFuture<QChatGetChannelCategoryBlackWhiteMembersByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelCategoryBlackWhiteMembersByPage ( QChatGetChannelCategoryBlackWhiteMembersByPageParam  param)

分页查询频道分组黑白名单成员列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的黑白名单成员

◆ getChannelCategoryBlackWhiteRolesByPage()

InvocationFuture<QChatGetChannelCategoryBlackWhiteRolesByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelCategoryBlackWhiteRolesByPage ( QChatGetChannelCategoryBlackWhiteRolesByPageParam  param)

分页查询频道分组黑白名单身份组列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的黑白名单身份组

◆ getChannelMembersByPage()

InvocationFuture<QChatGetChannelMembersByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelMembersByPage ( QChatGetChannelMembersByPageParam  param)

通过分页接口查询频道成员

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的频道成员

◆ getChannels()

InvocationFuture<QChatGetChannelsResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannels ( QChatGetChannelsParam  param)

通过频道Id查询频道

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的频道列表

◆ getChannelsByPage()

InvocationFuture<QChatGetChannelsByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelsByPage ( QChatGetChannelsByPageParam  param)

通过分页接口查询频道

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的频道列表

◆ getChannelsInCategoryByPage()

InvocationFuture<QChatGetChannelsInCategoryByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelsInCategoryByPage ( QChatGetChannelsInCategoryByPageParam  param)

分页查询频道分组下频道列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的频道分组列表

◆ getChannelUnreadInfos()

InvocationFuture<QChatGetChannelUnreadInfosResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getChannelUnreadInfos ( QChatGetChannelUnreadInfosParam  param)

查询未读信息

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的历史消息

◆ getExistingChannelBlackWhiteMembers()

InvocationFuture<QChatGetExistingChannelBlackWhiteMembersResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getExistingChannelBlackWhiteMembers ( QChatGetExistingChannelBlackWhiteMembersParam  param)

批量查询频道黑白名单成员列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的黑白名单成员

◆ getExistingChannelBlackWhiteRoles()

InvocationFuture<QChatGetExistingChannelBlackWhiteRolesResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getExistingChannelBlackWhiteRoles ( QChatGetExistingChannelBlackWhiteRolesParam  param)

批量查询频道黑白名单身份组列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的黑白名单身份组

◆ getExistingChannelCategoryBlackWhiteMembers()

InvocationFuture<QChatGetExistingChannelCategoryBlackWhiteMembersResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getExistingChannelCategoryBlackWhiteMembers ( QChatGetExistingChannelCategoryBlackWhiteMembersParam  param)

批量查询频道分组黑白名单成员列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的黑白名单成员

◆ getExistingChannelCategoryBlackWhiteRoles()

InvocationFuture<QChatGetExistingChannelCategoryBlackWhiteRolesResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getExistingChannelCategoryBlackWhiteRoles ( QChatGetExistingChannelCategoryBlackWhiteRolesParam  param)

批量查询频道分组黑白名单身份组列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调返回查询到的黑白名单身份组

◆ getUserChannelCategoryPushConfigs()

InvocationFuture<QChatGetUserPushConfigsResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getUserChannelCategoryPushConfigs ( QChatGetUserChannelCategoryPushConfigsParam  param)

获取用户频道分组推送配置列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果

◆ getUserChannelPushConfigs()

InvocationFuture<QChatGetUserPushConfigsResult> com.netease.nimlib.sdk.qchat.QChatChannelService.getUserChannelPushConfigs ( QChatGetUserChannelPushConfigsParam  param)

获取用户频道推送配置列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果

◆ searchChannelByPage()

InvocationFuture<QChatSearchChannelByPageResult> com.netease.nimlib.sdk.qchat.QChatChannelService.searchChannelByPage ( QChatSearchChannelByPageParam  param)

分页检索频道列表

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果

◆ searchChannelMembers()

InvocationFuture<QChatSearchChannelMembersResult> com.netease.nimlib.sdk.qchat.QChatChannelService.searchChannelMembers ( @NonNull QChatSearchChannelMembersParam  param)

检索频道内成员

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果

◆ subscribeAsVisitor()

InvocationFuture<QChatSubscribeChannelAsVisitorResult> com.netease.nimlib.sdk.qchat.QChatChannelService.subscribeAsVisitor ( QChatSubscribeChannelAsVisitorParam  param)

以游客身份订阅频道

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调中返回订阅结果

◆ subscribeChannel()

InvocationFuture<QChatSubscribeChannelResult> com.netease.nimlib.sdk.qchat.QChatChannelService.subscribeChannel ( QChatSubscribeChannelParam  param)

订阅频道 大服务器下,只有订阅频道后才能收到该频道的订阅内容(消息、未读数、未读状态);与你相关的消息不需要订阅频道就可以收到,比如@你的消息(的消息不属于与你相关的消息) 小服务器下,不需要订阅频道就可以收到所有该服务器下所有频道的消息 订阅正在输入事件不区分大服务器和小服务器,只有订阅了才会收到,默认最多订阅100个频道

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调中返回订阅结果

◆ updateCategoryInfoOfChannel()

InvocationFuture<QChatUpdateCategoryInfoOfChannelResult> com.netease.nimlib.sdk.qchat.QChatChannelService.updateCategoryInfoOfChannel ( QChatUpdateCategoryInfoOfChannelParam  param)

修改频道中的频道分组信息

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ updateChannel()

InvocationFuture<QChatUpdateChannelResult> com.netease.nimlib.sdk.qchat.QChatChannelService.updateChannel ( QChatUpdateChannelParam  param)

修改频道信息

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ updateChannelBlackWhiteMembers()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatChannelService.updateChannelBlackWhiteMembers ( QChatUpdateChannelBlackWhiteMembersParam  param)

更新频道黑白名单成员

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ updateChannelBlackWhiteRoles()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatChannelService.updateChannelBlackWhiteRoles ( QChatUpdateChannelBlackWhiteRolesParam  param)

更新频道黑白名单身份组

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ updateChannelCategory()

InvocationFuture<QChatUpdateChannelCategoryResult> com.netease.nimlib.sdk.qchat.QChatChannelService.updateChannelCategory ( QChatUpdateChannelCategoryParam  param)

修改频道分组信息

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ updateChannelCategoryBlackWhiteMembers()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatChannelService.updateChannelCategoryBlackWhiteMembers ( QChatUpdateChannelCategoryBlackWhiteMembersParam  param)

更新频道分组黑白名单成员

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ updateChannelCategoryBlackWhiteRoles()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatChannelService.updateChannelCategoryBlackWhiteRoles ( QChatUpdateChannelCategoryBlackWhiteRolesParam  param)

更新频道分组黑白名单身份组

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。

◆ updateUserChannelCategoryPushConfig()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatChannelService.updateUserChannelCategoryPushConfig ( QChatUpdateUserChannelCategoryPushConfigParam  param)

更新用户频道分组推送配置

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果

◆ updateUserChannelPushConfig()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatChannelService.updateUserChannelPushConfig ( QChatUpdateUserChannelPushConfigParam  param)

更新用户频道推送配置

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果

该接口的文档由以下文件生成: