NIMSDK-AOS 10.3.1-beta
载入中...
搜索中...
未找到
QChatServerService.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.qchat;
2
3import androidx.annotation.NonNull;
4import com.netease.nimlib.apt.annotation.NIMService;
5import com.netease.nimlib.sdk.InvocationFuture;
6import com.netease.nimlib.sdk.qchat.param.QChatAcceptServerApplyParam;
7import com.netease.nimlib.sdk.qchat.param.QChatAcceptServerInviteParam;
8import com.netease.nimlib.sdk.qchat.param.QChatApplyServerJoinParam;
9import com.netease.nimlib.sdk.qchat.param.QChatBanServerMemberParam;
10import com.netease.nimlib.sdk.qchat.param.QChatCreateServerParam;
11import com.netease.nimlib.sdk.qchat.param.QChatDeleteServerParam;
12import com.netease.nimlib.sdk.qchat.param.QChatEnterServerAsVisitorParam;
13import com.netease.nimlib.sdk.qchat.param.QChatGenerateInviteCodeParam;
14import com.netease.nimlib.sdk.qchat.param.QChatGetBannedServerMembersByPageParam;
15import com.netease.nimlib.sdk.qchat.param.QChatGetInviteApplyRecordOfSelfParam;
16import com.netease.nimlib.sdk.qchat.param.QChatGetInviteApplyRecordOfServerParam;
17import com.netease.nimlib.sdk.qchat.param.QChatGetServerMembersByPageParam;
18import com.netease.nimlib.sdk.qchat.param.QChatGetServerMembersParam;
19import com.netease.nimlib.sdk.qchat.param.QChatGetServersByPageParam;
20import com.netease.nimlib.sdk.qchat.param.QChatGetServersParam;
21import com.netease.nimlib.sdk.qchat.param.QChatGetUserServerPushConfigsParam;
22import com.netease.nimlib.sdk.qchat.param.QChatInviteServerMembersParam;
23import com.netease.nimlib.sdk.qchat.param.QChatJoinByInviteCodeParam;
24import com.netease.nimlib.sdk.qchat.param.QChatKickServerMembersParam;
25import com.netease.nimlib.sdk.qchat.param.QChatLeaveServerAsVisitorParam;
26import com.netease.nimlib.sdk.qchat.param.QChatLeaveServerParam;
27import com.netease.nimlib.sdk.qchat.param.QChatRejectServerApplyParam;
28import com.netease.nimlib.sdk.qchat.param.QChatRejectServerInviteParam;
29import com.netease.nimlib.sdk.qchat.param.QChatSearchServerByPageParam;
30import com.netease.nimlib.sdk.qchat.param.QChatSearchServerMemberByPageParam;
31import com.netease.nimlib.sdk.qchat.param.QChatServerMarkReadParam;
32import com.netease.nimlib.sdk.qchat.param.QChatSubscribeAllChannelParam;
33import com.netease.nimlib.sdk.qchat.param.QChatSubscribeServerAsVisitorParam;
34import com.netease.nimlib.sdk.qchat.param.QChatSubscribeServerParam;
35import com.netease.nimlib.sdk.qchat.param.QChatUnbanServerMemberParam;
36import com.netease.nimlib.sdk.qchat.param.QChatUpdateMyMemberInfoParam;
37import com.netease.nimlib.sdk.qchat.param.QChatUpdateServerMemberInfoParam;
38import com.netease.nimlib.sdk.qchat.param.QChatUpdateServerParam;
39import com.netease.nimlib.sdk.qchat.param.QChatUpdateUserServerPushConfigParam;
40import com.netease.nimlib.sdk.qchat.result.QChatApplyServerJoinResult;
41import com.netease.nimlib.sdk.qchat.result.QChatCreateServerResult;
42import com.netease.nimlib.sdk.qchat.result.QChatEnterServerAsVisitorResult;
43import com.netease.nimlib.sdk.qchat.result.QChatGenerateInviteCodeResult;
44import com.netease.nimlib.sdk.qchat.result.QChatGetBannedServerMembersByPageResult;
45import com.netease.nimlib.sdk.qchat.result.QChatGetInviteApplyRecordOfSelfResult;
46import com.netease.nimlib.sdk.qchat.result.QChatGetInviteApplyRecordOfServerResult;
47import com.netease.nimlib.sdk.qchat.result.QChatGetServerMembersByPageResult;
48import com.netease.nimlib.sdk.qchat.result.QChatGetServerMembersResult;
49import com.netease.nimlib.sdk.qchat.result.QChatGetServersByPageResult;
50import com.netease.nimlib.sdk.qchat.result.QChatGetServersResult;
51import com.netease.nimlib.sdk.qchat.result.QChatGetUserPushConfigsResult;
52import com.netease.nimlib.sdk.qchat.result.QChatInviteServerMembersResult;
53import com.netease.nimlib.sdk.qchat.result.QChatLeaveServerAsVisitorResult;
54import com.netease.nimlib.sdk.qchat.result.QChatSearchServerByPageResult;
55import com.netease.nimlib.sdk.qchat.result.QChatSearchServerMemberByPageResult;
56import com.netease.nimlib.sdk.qchat.result.QChatServerMarkReadResult;
57import com.netease.nimlib.sdk.qchat.result.QChatSubscribeAllChannelResult;
58import com.netease.nimlib.sdk.qchat.result.QChatSubscribeServerAsVisitorResult;
59import com.netease.nimlib.sdk.qchat.result.QChatSubscribeServerResult;
60import com.netease.nimlib.sdk.qchat.result.QChatUpdateMyMemberInfoResult;
61import com.netease.nimlib.sdk.qchat.result.QChatUpdateServerMemberInfoResult;
62import com.netease.nimlib.sdk.qchat.result.QChatUpdateServerResult;
63
64@NIMService("圈组服务器服务")
65public interface QChatServerService {
72
79
86
93
100
107
114
121
128
135
142
149
156
163
170
177
184
193
200
207
214
221
228
235
242
243
250
257
264
271
278
285
292
299
306}
InvocationFuture< QChatGetBannedServerMembersByPageResult > getBannedServerMembersByPage(QChatGetBannedServerMembersByPageParam param)
查询服务器封禁成员列表(分页)
InvocationFuture< QChatGetInviteApplyRecordOfServerResult > getInviteApplyRecordOfServer(@NonNull QChatGetInviteApplyRecordOfServerParam param)
查询服务器下的申请邀请记录
InvocationFuture< Void > leaveServer(QChatLeaveServerParam param)
主动离开服务器
InvocationFuture< Void > unbanServerMember(QChatUnbanServerMemberParam param)
解封服务器成员
InvocationFuture< QChatGetServersByPageResult > getServersByPage(QChatGetServersByPageParam param)
通过分页信息查询服务器
InvocationFuture< QChatGetInviteApplyRecordOfSelfResult > getInviteApplyRecordOfSelf(@NonNull QChatGetInviteApplyRecordOfSelfParam param)
查询我的申请邀请记录
InvocationFuture< QChatSubscribeServerAsVisitorResult > subscribeAsVisitor(QChatSubscribeServerAsVisitorParam param)
以游客身份订阅服务器
InvocationFuture< QChatUpdateMyMemberInfoResult > updateMyMemberInfo(QChatUpdateMyMemberInfoParam param)
修改服务器成员信息
InvocationFuture< QChatSubscribeServerResult > subscribeServer(QChatSubscribeServerParam param)
订阅服务器 与你相关的系统通知,比如你被邀请加入服务器、你从服务器被踢等,不需要订阅就可以收到 与你不相关的系统通知,大服务器下需要主动订阅服务器才能收到,小服务器下不需要订阅就可以收到
InvocationFuture< Void > kickServerMembers(QChatKickServerMembersParam param)
踢除服务器成员
InvocationFuture< QChatGenerateInviteCodeResult > generateInviteCode(@NonNull QChatGenerateInviteCodeParam param)
生成邀请码
InvocationFuture< Void > deleteServer(QChatDeleteServerParam param)
删除服务器
InvocationFuture< QChatGetServerMembersByPageResult > getServerMembersByPage(QChatGetServerMembersByPageParam param)
通过分页信息查询服务器成员
InvocationFuture< Void > joinByInviteCode(@NonNull QChatJoinByInviteCodeParam param)
通过邀请码加入服务器
InvocationFuture< Void > rejectServerApply(QChatRejectServerApplyParam param)
拒绝申请
InvocationFuture< QChatSearchServerByPageResult > searchServerByPage(@NonNull QChatSearchServerByPageParam param)
分页检索服务器列表
InvocationFuture< QChatServerMarkReadResult > markRead(@NonNull QChatServerMarkReadParam param)
清空服务器未读数
InvocationFuture< Void > banServerMember(QChatBanServerMemberParam param)
封禁服务器成员
InvocationFuture< Void > rejectServerInvite(QChatRejectServerInviteParam param)
拒绝邀请
InvocationFuture< Void > updateUserServerPushConfig(QChatUpdateUserServerPushConfigParam param)
更新用户服务器推送配置
InvocationFuture< QChatSubscribeAllChannelResult > subscribeAllChannel(@NonNull QChatSubscribeAllChannelParam param)
订阅服务器下的所有频道的消息
InvocationFuture< QChatUpdateServerMemberInfoResult > updateServerMemberInfo(QChatUpdateServerMemberInfoParam param)
修改其他人的服务器成员信息
InvocationFuture< QChatGetUserPushConfigsResult > getUserServerPushConfigs(QChatGetUserServerPushConfigsParam param)
获取用户服务器推送配置列表
InvocationFuture< QChatEnterServerAsVisitorResult > enterAsVisitor(QChatEnterServerAsVisitorParam param)
以游客身份加入服务器
InvocationFuture< QChatInviteServerMembersResult > inviteServerMembers(QChatInviteServerMembersParam param)
邀请服务器成员
InvocationFuture< QChatUpdateServerResult > updateServer(QChatUpdateServerParam param)
修改服务器信息
InvocationFuture< Void > acceptServerInvite(QChatAcceptServerInviteParam param)
接受邀请
InvocationFuture< QChatSearchServerMemberByPageResult > searchServerMemberByPage(@NonNull QChatSearchServerMemberByPageParam param)
检索服务器成员列表
InvocationFuture< QChatCreateServerResult > createServer(QChatCreateServerParam param)
创建服务器
InvocationFuture< QChatApplyServerJoinResult > applyServerJoin(QChatApplyServerJoinParam param)
申请加入服务器
InvocationFuture< Void > acceptServerApply(QChatAcceptServerApplyParam param)
接受申请
InvocationFuture< QChatLeaveServerAsVisitorResult > leaveAsVisitor(QChatLeaveServerAsVisitorParam param)
以游客身份离开服务器
InvocationFuture< QChatGetServerMembersResult > getServerMembers(QChatGetServerMembersParam param)
通过accid查询服务器成员
InvocationFuture< QChatGetServersResult > getServers(QChatGetServersParam param)
通过ServerId列表查询服务器