NIMSDK-iOS
|
#import <NIMQChatServerManagerProtocol.h>
圈组服务器管理器
- (void) acceptServerApply: | (nonnull NIMQChatAcceptServerApplyParam *) | param | |
completion: | (nullable NIMQChatHandler) | completion | |
接受申请
param | 传入参数 |
completion | 结果回调 |
- (void) acceptServerInvite: | (nonnull NIMQChatAcceptServerInviteParam *) | param | |
completion: | (nullable NIMQChatHandler) | completion | |
接受邀请
param | 传入参数 |
completion | 结果回调 |
- (void) addDelegate: | (id< NIMQChatServerManagerDelegate >) | delegate |
添加通知对象
delegate | 通知对象 |
- (void) applyServerJoin: | (nonnull NIMQChatApplyServerJoinParam *) | param | |
completion: | (nullable NIMQChatApplyServerJoinHandler) | completion | |
申请加入服务器
param | 传入参数 |
completion | 结果回调 |
- (void) banServerMember: | (NIMQChatUpdateServerMemberBanParam *) | param | |
completion: | (nullable NIMQChatUpdateServerMemberBanHandler) | completion | |
对服务器成员进行封禁操作
param | 传入参数 |
completion | 结果回调 |
- (void) createServer: | (nonnull NIMQChatCreateServerParam *) | param | |
completion: | (nullable NIMQChatCreateServerHandler) | completion | |
创建服务器
param | 传入参数 |
completion | 结果回调 |
- (void) deleteServer: | (nonnull NIMQChatDeleteServerParam *) | param | |
completion: | (nullable NIMQChatHandler) | completion | |
删除服务器
param | 传入参数 |
completion | 结果回调 |
- (void) enterAsVisitor: | (nonnull NIMQChatEnterServerAsVisitorParam *) | param | |
completion: | (nullable NIMQChatEnterServerAsVisitorHandler) | completion | |
以游客身份加入服务器
param | 传入参数 |
completion | 结果回调 |
- (void) generateInviteCode: | (NIMQChatGenerateInviteCodeParam *) | param | |
completion: | (nullable NIMQChatGenerateInviteCodeHandler) | completion | |
生成邀请码
param | 传入参数 |
completion | 结果回调 |
- (void) getInviteApplyRecordOfSelf: | (NIMQChatGetInviteApplyRecordOfSelfParam *) | param | |
completion: | (nullable NIMQChatGetInviteApplyRecordOfSelfHandler) | completion | |
查询我的申请邀请记录
param | 传入参数 |
completion | 结果回调 |
- (void) getInviteApplyRecordOfServer: | (NIMQChatGetInviteApplyRecordOfServerParam *) | param | |
completion: | (nullable NIMQChatGetInviteApplyRecordOfServerHandler) | completion | |
查询服务器下的申请邀请记录
param | 传入参数 |
completion | 结果回调 |
- (void) getServerBanedMembersByPage: | (NIMQChatGetServerBanedMembersByPageParam *) | param | |
completion: | (nullable NIMQChatGetServerBanedMembersByPageHandler) | completion | |
分页获取封禁成员列表
param | 传入参数 |
completion | 结果回调 |
- (void) getServerMembers: | (NIMQChatGetServerMembersParam *) | param | |
completion: | (nullable NIMQChatGetServerMembersHandler) | completion | |
查询服务器成员信息
param | 传入参数 |
completion | 结果回调 |
- (void) getServerMembersByPage: | (NIMQChatGetServerMembersByPageParam *) | param | |
completion: | (nullable NIMQChatGetServerMembersByPageHandler) | completion | |
分页查询服务器成员信息
param | 传入参数 |
completion | 结果回调 |
- (void) getServers: | (nonnull NIMQChatGetServersParam *) | param | |
completion: | (nullable NIMQChatGetServersHandler) | completion | |
查询服务器信息
param | 传入参数 |
completion | 结果回调 |
- (void) getServersByPage: | (nonnull NIMQChatGetServersByPageParam *) | param | |
completion: | (nullable NIMQChatGetServersByPageHandler) | completion | |
查询服务器信息列表
param | 传入参数 |
completion | 结果回调 |
- (void) inviteServerMembers: | (nonnull NIMQChatInviteServerMembersParam *) | param | |
completion: | (nullable NIMQChatInviteServerMembersHandler) | completion | |
邀请服务器成员
param | 传入参数 |
completion | 结果回调 |
- (void) joinByInviteCode: | (NIMQChatJoinByInviteCodeParam *) | param | |
completion: | (nullable NIMQChatJoinByInviteCodeHandler) | completion | |
通过邀请码加入服务器
param | 传入参数 |
completion | 结果回调 |
- (void) kickServerMembers: | (NIMQChatKickServerMembersParam *) | param | |
completion: | (nullable NIMQChatHandler) | completion | |
踢除服务器成员
param | 传入参数 |
completion | 结果回调 |
- (void) leaveAsVisitor: | (nonnull NIMQChatLeaveServerAsVisitorParam *) | param | |
completion: | (nullable NIMQChatLeaveServerAsVisitorHandler) | completion | |
以游客身份退出服务器
param | 传入参数 |
completion | 结果回调 |
- (void) leaveServer: | (NIMQChatLeaveServerParam *) | param | |
completion: | (nullable NIMQChatHandler) | completion | |
主动离开服务器
param | 传入参数 |
completion | 结果回调 |
- (void) markServerRead: | (NIMQChatMarkServerReadParam *) | param | |
completion: | (nullable NIMQChatMarkServerReadHandler) | completion | |
清除服务器已读
param | 传入参数 |
completion | 结果回调 |
- (void) rejectServerApply: | (nonnull NIMQChatRejectServerApplyParam *) | param | |
completion: | (nullable NIMQChatHandler) | completion | |
拒绝申请
param | 传入参数 |
completion | 结果回调 |
- (void) rejectServerInvite: | (nonnull NIMQChatRejectServerInviteParam *) | param | |
completion: | (nullable NIMQChatHandler) | completion | |
拒绝邀请
param | 传入参数 |
completion | 结果回调 |
- (void) removeDelegate: | (id< NIMQChatServerManagerDelegate >) | delegate |
移除通知对象
delegate | 通知对象 |
- (void) searchServerByPage: | (NIMQChatSearchServerByPageParam *) | param | |
completion: | (nullable NIMQChatSearchServerByPageHandler) | completion | |
检索服务器列表
param | 传入参数 |
completion | 结果回调 |
- (void) searchServerChannelMember: | (NIMQChatSearchServerChannelMemberParam *) | param | |
completion: | (nullable NIMQChatSearchServerChannelMemberHandler) | completion | |
检索频道内成员
param | 传入参数 |
completion | 结果回调 |
- (void) searchServerMemberByPage: | (NIMQChatSearchServerMemberByPageParam *) | param | |
completion: | (nullable NIMQChatSearchServerMemberByPageHandler) | completion | |
检索服务器成员列表
param | 传入参数 |
completion | 结果回调 |
- (void) subscribeAllChannel: | (NIMQChatSubscribeAllChannelParam *) | param | |
completion: | (nullable NIMQChatSubscribeAllChannelHandler) | completion | |
订阅服务器下所有频道
param | 传入参数 |
completion | 结果回调 |
- (void) subscribeAsVisitor: | (nonnull NIMQChatSubscribeServerAsVisitorParam *) | param | |
completion: | (nullable NIMQChatSubscribeServerAsVisitorHandler) | completion | |
以游客身份订阅服务器
param | 传入参数 |
completion | 结果回调 |
- (void) subscribeServer: | (NIMQChatSubscribeServerParam *) | param | |
completion: | (nullable NIMQChatSubsribeServerHandler) | completion | |
订阅服务器请求
param | 传入参数 |
completion | 结果回调 |
- (void) unbanServerMember: | (NIMQChatUpdateServerMemberBanParam *) | param | |
completion: | (nullable NIMQChatUpdateServerMemberBanHandler) | completion | |
对服务器成员进行解封操作
param | 传入参数 |
completion | 结果回调 |
- (void) updateMyMemberInfo: | (NIMQChatUpdateMyMemberInfoParam *) | param | |
completion: | (nullable NIMQChatUpdateServerMemberHandler) | completion | |
修改服务器成员信息
param | 传入参数 |
completion | 结果回调 |
- (void) updateServer: | (nonnull NIMQChatUpdateServerParam *) | param | |
completion: | (nullable NIMQChatUpdateServerHandler) | completion | |
修改服务器信息
param | 传入参数 |
completion | 结果回调 |
- (void) updateServerMemberInfo: | (NIMQChatUpdateServerMemberInfoParam *) | param | |
completion: | (nullable NIMQChatUpdateServerMemberHandler) | completion | |
修改他人服务器成员信息
param | 传入参数 |
completion | 结果回调 |