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

Public 成员函数

InvocationFuture< Void > acceptServerApply (QChatAcceptServerApplyParam param)
 接受申请 更多...
 
InvocationFuture< Void > acceptServerInvite (QChatAcceptServerInviteParam param)
 接受邀请 更多...
 
InvocationFuture< QChatApplyServerJoinResultapplyServerJoin (QChatApplyServerJoinParam param)
 申请加入服务器 更多...
 
InvocationFuture< QChatCreateServerResultcreateServer (QChatCreateServerParam param)
 创建服务器 更多...
 
InvocationFuture< Void > deleteServer (QChatDeleteServerParam param)
 删除服务器 更多...
 
InvocationFuture< QChatGetServerMembersResultgetServerMembers (QChatGetServerMembersParam param)
 通过accid查询服务器成员 更多...
 
InvocationFuture< QChatGetServerMembersByPageResultgetServerMembersByPage (QChatGetServerMembersByPageParam param)
 通过分页信息查询服务器成员 更多...
 
InvocationFuture< QChatGetServersResultgetServers (QChatGetServersParam param)
 通过ServerId列表查询服务器 更多...
 
InvocationFuture< QChatGetServersByPageResultgetServersByPage (QChatGetServersByPageParam param)
 通过分页信息查询服务器 更多...
 
InvocationFuture< QChatInviteServerMembersResultinviteServerMembers (QChatInviteServerMembersParam param)
 邀请服务器成员 更多...
 
InvocationFuture< Void > kickServerMembers (QChatKickServerMembersParam param)
 踢除服务器成员 更多...
 
InvocationFuture< Void > leaveServer (QChatLeaveServerParam param)
 主动离开服务器 更多...
 
InvocationFuture< Void > rejectServerApply (QChatRejectServerApplyParam param)
 拒绝申请 更多...
 
InvocationFuture< Void > rejectServerInvite (QChatRejectServerInviteParam param)
 拒绝邀请 更多...
 
InvocationFuture< QChatUpdateServerResultupdateServer (QChatUpdateServerParam param)
 修改服务器信息 更多...
 
InvocationFuture< QChatUpdateServerMemberInfoResultupdateServerMemberInfo (QChatUpdateServerMemberInfoParam param)
 修改其他人的服务器成员信息 更多...
 
InvocationFuture< QChatUpdateMyMemberInfoResultupdateMyMemberInfo (QChatUpdateMyMemberInfoParam param)
 修改服务器成员信息 更多...
 
InvocationFuture< QChatSubscribeServerResultsubscribeServer (QChatSubscribeServerParam param)
 订阅服务器 与你相关的系统通知,比如你被邀请加入服务器、你从服务器被踢等,不需要订阅就可以收到 与你不相关的系统通知,大服务器下需要主动订阅服务器才能收到,小服务器下不需要订阅就可以收到 更多...
 
InvocationFuture< Void > banServerMember (QChatBanServerMemberParam param)
 封禁服务器成员 更多...
 
InvocationFuture< Void > unbanServerMember (QChatUnbanServerMemberParam param)
 解封服务器成员 更多...
 
InvocationFuture< QChatGetBannedServerMembersByPageResultgetBannedServerMembersByPage (QChatGetBannedServerMembersByPageParam param)
 查询服务器封禁成员列表(分页) 更多...
 
InvocationFuture< Void > updateUserServerPushConfig (QChatUpdateUserServerPushConfigParam param)
 更新用户服务器推送配置 更多...
 
InvocationFuture< QChatGetUserPushConfigsResultgetUserServerPushConfigs (QChatGetUserServerPushConfigsParam param)
 获取用户服务器推送配置列表 更多...
 
InvocationFuture< QChatSearchServerByPageResultsearchServerByPage (@NonNull QChatSearchServerByPageParam param)
 分页检索服务器列表 更多...
 
InvocationFuture< QChatSearchServerMemberByPageResultsearchServerMemberByPage (@NonNull QChatSearchServerMemberByPageParam param)
 检索服务器成员列表 更多...
 
InvocationFuture< QChatGenerateInviteCodeResultgenerateInviteCode (@NonNull QChatGenerateInviteCodeParam param)
 生成邀请码 更多...
 
InvocationFuture< Void > joinByInviteCode (@NonNull QChatJoinByInviteCodeParam param)
 通过邀请码加入服务器 更多...
 
InvocationFuture< QChatGetInviteApplyRecordOfServerResultgetInviteApplyRecordOfServer (@NonNull QChatGetInviteApplyRecordOfServerParam param)
 查询服务器下的申请邀请记录 更多...
 
InvocationFuture< QChatGetInviteApplyRecordOfSelfResultgetInviteApplyRecordOfSelf (@NonNull QChatGetInviteApplyRecordOfSelfParam param)
 查询我的申请邀请记录 更多...
 
InvocationFuture< QChatServerMarkReadResultmarkRead (@NonNull QChatServerMarkReadParam param)
 清空服务器未读数 更多...
 
InvocationFuture< QChatSubscribeAllChannelResultsubscribeAllChannel (@NonNull QChatSubscribeAllChannelParam param)
 订阅服务器下的所有频道的消息 更多...
 
InvocationFuture< QChatSubscribeServerAsVisitorResultsubscribeAsVisitor (QChatSubscribeServerAsVisitorParam param)
 以游客身份订阅服务器 更多...
 
InvocationFuture< QChatEnterServerAsVisitorResultenterAsVisitor (QChatEnterServerAsVisitorParam param)
 以游客身份加入服务器 更多...
 
InvocationFuture< QChatLeaveServerAsVisitorResultleaveAsVisitor (QChatLeaveServerAsVisitorParam param)
 以游客身份离开服务器 更多...
 

详细描述

在文件 QChatServerService.java65 行定义.

成员函数说明

◆ acceptServerApply()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.acceptServerApply ( QChatAcceptServerApplyParam  param)

接受申请

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

◆ acceptServerInvite()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.acceptServerInvite ( QChatAcceptServerInviteParam  param)

接受邀请

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

◆ applyServerJoin()

InvocationFuture<QChatApplyServerJoinResult> com.netease.nimlib.sdk.qchat.QChatServerService.applyServerJoin ( QChatApplyServerJoinParam  param)

申请加入服务器

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

◆ banServerMember()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.banServerMember ( QChatBanServerMemberParam  param)

封禁服务器成员

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

◆ createServer()

InvocationFuture<QChatCreateServerResult> com.netease.nimlib.sdk.qchat.QChatServerService.createServer ( QChatCreateServerParam  param)

创建服务器

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

◆ deleteServer()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.deleteServer ( QChatDeleteServerParam  param)

删除服务器

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

◆ enterAsVisitor()

InvocationFuture<QChatEnterServerAsVisitorResult> com.netease.nimlib.sdk.qchat.QChatServerService.enterAsVisitor ( QChatEnterServerAsVisitorParam  param)

以游客身份加入服务器

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

◆ generateInviteCode()

InvocationFuture<QChatGenerateInviteCodeResult> com.netease.nimlib.sdk.qchat.QChatServerService.generateInviteCode ( @NonNull QChatGenerateInviteCodeParam  param)

生成邀请码

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

◆ getBannedServerMembersByPage()

InvocationFuture<QChatGetBannedServerMembersByPageResult> com.netease.nimlib.sdk.qchat.QChatServerService.getBannedServerMembersByPage ( QChatGetBannedServerMembersByPageParam  param)

查询服务器封禁成员列表(分页)

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

◆ getInviteApplyRecordOfSelf()

InvocationFuture<QChatGetInviteApplyRecordOfSelfResult> com.netease.nimlib.sdk.qchat.QChatServerService.getInviteApplyRecordOfSelf ( @NonNull QChatGetInviteApplyRecordOfSelfParam  param)

查询我的申请邀请记录

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

◆ getInviteApplyRecordOfServer()

InvocationFuture<QChatGetInviteApplyRecordOfServerResult> com.netease.nimlib.sdk.qchat.QChatServerService.getInviteApplyRecordOfServer ( @NonNull QChatGetInviteApplyRecordOfServerParam  param)

查询服务器下的申请邀请记录

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

◆ getServerMembers()

InvocationFuture<QChatGetServerMembersResult> com.netease.nimlib.sdk.qchat.QChatServerService.getServerMembers ( QChatGetServerMembersParam  param)

通过accid查询服务器成员

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

◆ getServerMembersByPage()

InvocationFuture<QChatGetServerMembersByPageResult> com.netease.nimlib.sdk.qchat.QChatServerService.getServerMembersByPage ( QChatGetServerMembersByPageParam  param)

通过分页信息查询服务器成员

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

◆ getServers()

InvocationFuture<QChatGetServersResult> com.netease.nimlib.sdk.qchat.QChatServerService.getServers ( QChatGetServersParam  param)

通过ServerId列表查询服务器

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

◆ getServersByPage()

InvocationFuture<QChatGetServersByPageResult> com.netease.nimlib.sdk.qchat.QChatServerService.getServersByPage ( QChatGetServersByPageParam  param)

通过分页信息查询服务器

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

◆ getUserServerPushConfigs()

InvocationFuture<QChatGetUserPushConfigsResult> com.netease.nimlib.sdk.qchat.QChatServerService.getUserServerPushConfigs ( QChatGetUserServerPushConfigsParam  param)

获取用户服务器推送配置列表

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

◆ inviteServerMembers()

InvocationFuture<QChatInviteServerMembersResult> com.netease.nimlib.sdk.qchat.QChatServerService.inviteServerMembers ( QChatInviteServerMembersParam  param)

邀请服务器成员

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

◆ joinByInviteCode()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.joinByInviteCode ( @NonNull QChatJoinByInviteCodeParam  param)

通过邀请码加入服务器

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

◆ kickServerMembers()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.kickServerMembers ( QChatKickServerMembersParam  param)

踢除服务器成员

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

◆ leaveAsVisitor()

InvocationFuture<QChatLeaveServerAsVisitorResult> com.netease.nimlib.sdk.qchat.QChatServerService.leaveAsVisitor ( QChatLeaveServerAsVisitorParam  param)

以游客身份离开服务器

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

◆ leaveServer()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.leaveServer ( QChatLeaveServerParam  param)

主动离开服务器

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

◆ markRead()

InvocationFuture<QChatServerMarkReadResult> com.netease.nimlib.sdk.qchat.QChatServerService.markRead ( @NonNull QChatServerMarkReadParam  param)

清空服务器未读数

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

◆ rejectServerApply()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.rejectServerApply ( QChatRejectServerApplyParam  param)

拒绝申请

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

◆ rejectServerInvite()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.rejectServerInvite ( QChatRejectServerInviteParam  param)

拒绝邀请

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

◆ searchServerByPage()

InvocationFuture<QChatSearchServerByPageResult> com.netease.nimlib.sdk.qchat.QChatServerService.searchServerByPage ( @NonNull QChatSearchServerByPageParam  param)

分页检索服务器列表

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

◆ searchServerMemberByPage()

InvocationFuture<QChatSearchServerMemberByPageResult> com.netease.nimlib.sdk.qchat.QChatServerService.searchServerMemberByPage ( @NonNull QChatSearchServerMemberByPageParam  param)

检索服务器成员列表

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

◆ subscribeAllChannel()

InvocationFuture<QChatSubscribeAllChannelResult> com.netease.nimlib.sdk.qchat.QChatServerService.subscribeAllChannel ( @NonNull QChatSubscribeAllChannelParam  param)

订阅服务器下的所有频道的消息

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

◆ subscribeAsVisitor()

InvocationFuture<QChatSubscribeServerAsVisitorResult> com.netease.nimlib.sdk.qchat.QChatServerService.subscribeAsVisitor ( QChatSubscribeServerAsVisitorParam  param)

以游客身份订阅服务器

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

◆ subscribeServer()

InvocationFuture<QChatSubscribeServerResult> com.netease.nimlib.sdk.qchat.QChatServerService.subscribeServer ( QChatSubscribeServerParam  param)

订阅服务器 与你相关的系统通知,比如你被邀请加入服务器、你从服务器被踢等,不需要订阅就可以收到 与你不相关的系统通知,大服务器下需要主动订阅服务器才能收到,小服务器下不需要订阅就可以收到

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

◆ unbanServerMember()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.unbanServerMember ( QChatUnbanServerMemberParam  param)

解封服务器成员

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

◆ updateMyMemberInfo()

InvocationFuture<QChatUpdateMyMemberInfoResult> com.netease.nimlib.sdk.qchat.QChatServerService.updateMyMemberInfo ( QChatUpdateMyMemberInfoParam  param)

修改服务器成员信息

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

◆ updateServer()

InvocationFuture<QChatUpdateServerResult> com.netease.nimlib.sdk.qchat.QChatServerService.updateServer ( QChatUpdateServerParam  param)

修改服务器信息

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

◆ updateServerMemberInfo()

InvocationFuture<QChatUpdateServerMemberInfoResult> com.netease.nimlib.sdk.qchat.QChatServerService.updateServerMemberInfo ( QChatUpdateServerMemberInfoParam  param)

修改其他人的服务器成员信息

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

◆ updateUserServerPushConfig()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatServerService.updateUserServerPushConfig ( QChatUpdateUserServerPushConfigParam  param)

更新用户服务器推送配置

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

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