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