NIMQChatServerManager Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | NIMQChatServerManagerProtocol.h |
– createServer:completion:
required method
创建服务器
- (void)createServer:(nonnull NIMQChatCreateServerParam *)param completion:(nullable NIMQChatCreateServerHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
创建服务器
Declared In
NIMQChatServerManagerProtocol.h
– deleteServer:completion:
required method
删除服务器
- (void)deleteServer:(nonnull NIMQChatDeleteServerParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
删除服务器
Declared In
NIMQChatServerManagerProtocol.h
– updateServer:completion:
required method
修改服务器信息
- (void)updateServer:(nonnull NIMQChatUpdateServerParam *)param completion:(nullable NIMQChatUpdateServerHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
修改服务器信息
Declared In
NIMQChatServerManagerProtocol.h
– getServers:completion:
required method
查询服务器信息
- (void)getServers:(nonnull NIMQChatGetServersParam *)param completion:(nullable NIMQChatGetServersHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
查询服务器信息
Declared In
NIMQChatServerManagerProtocol.h
– getServersByPage:completion:
required method
查询服务器信息列表
- (void)getServersByPage:(nonnull NIMQChatGetServersByPageParam *)param completion:(nullable NIMQChatGetServersByPageHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
查询服务器信息列表
Declared In
NIMQChatServerManagerProtocol.h
– inviteServerMembers:completion:
required method
邀请服务器成员
- (void)inviteServerMembers:(nonnull NIMQChatInviteServerMembersParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
邀请服务器成员
Declared In
NIMQChatServerManagerProtocol.h
– acceptServerInvite:completion:
required method
接受邀请
- (void)acceptServerInvite:(nonnull NIMQChatAcceptServerInviteParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
接受邀请
Declared In
NIMQChatServerManagerProtocol.h
– rejectServerInvite:completion:
required method
拒绝邀请
- (void)rejectServerInvite:(nonnull NIMQChatRejectServerInviteParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
拒绝邀请
Declared In
NIMQChatServerManagerProtocol.h
– applyServerJoin:completion:
required method
申请加入服务器
- (void)applyServerJoin:(nonnull NIMQChatApplyServerJoinParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
申请加入服务器
Declared In
NIMQChatServerManagerProtocol.h
– acceptServerApply:completion:
required method
接受申请
- (void)acceptServerApply:(nonnull NIMQChatAcceptServerApplyParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
接受申请
Declared In
NIMQChatServerManagerProtocol.h
– rejectServerApply:completion:
required method
拒绝申请
- (void)rejectServerApply:(nonnull NIMQChatRejectServerApplyParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
拒绝申请
Declared In
NIMQChatServerManagerProtocol.h
– kickServerMembers:completion:
required method
踢除服务器成员
- (void)kickServerMembers:(NIMQChatKickServerMembersParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
踢除服务器成员
Declared In
NIMQChatServerManagerProtocol.h
– leaveServer:completion:
required method
主动离开服务器
- (void)leaveServer:(NIMQChatLeaveServerParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
主动离开服务器
Declared In
NIMQChatServerManagerProtocol.h
– updateMyMemberInfo:completion:
required method
修改服务器成员信息
- (void)updateMyMemberInfo:(NIMQChatUpdateMyMemberInfoParam *)param completion:(nullable NIMQChatUpdateServerMemberHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
修改服务器成员信息
Declared In
NIMQChatServerManagerProtocol.h
– updateServerMemberInfo:completion:
required method
修改他人服务器成员信息
- (void)updateServerMemberInfo:(NIMQChatUpdateServerMemberInfoParam *)param completion:(nullable NIMQChatUpdateServerMemberHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
修改他人服务器成员信息
Declared In
NIMQChatServerManagerProtocol.h
– getServerMembers:completion:
required method
查询服务器成员信息
- (void)getServerMembers:(NIMQChatGetServerMembersParam *)param completion:(nullable NIMQChatGetServerMembersHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
查询服务器成员信息
Declared In
NIMQChatServerManagerProtocol.h
– getServerMembersByPage:completion:
required method
分页查询服务器成员信息
- (void)getServerMembersByPage:(NIMQChatGetServerMembersByPageParam *)param completion:(nullable NIMQChatGetServerMembersByPageHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
分页查询服务器成员信息
Declared In
NIMQChatServerManagerProtocol.h
– subscribeServer:completion:
required method
订阅服务器请求
- (void)subscribeServer:(NIMQChatSubscribeServerParam *)param completion:(nullable NIMQChatHandler)completion
Parameters
param |
传入参数 |
---|---|
completion |
结果回调 |
Discussion
订阅服务器请求
Declared In
NIMQChatServerManagerProtocol.h
– addDelegate:
required method
添加通知对象
- (void)addDelegate:(id<NIMQChatServerManagerDelegate>)delegate
Parameters
delegate |
通知对象 |
---|
Discussion
添加通知对象
Declared In
NIMQChatServerManagerProtocol.h
– removeDelegate:
required method
移除通知对象
- (void)removeDelegate:(id<NIMQChatServerManagerDelegate>)delegate
Parameters
delegate |
通知对象 |
---|
Discussion
移除通知对象
Declared In
NIMQChatServerManagerProtocol.h