NIMQChatManager Protocol Reference

Conforms to NSObject
Declared in NIMQChatManagerProtocol.h

Overview

圈组管理器

– login:completion: required method

进入圈组

- (void)login:(nullable NIMQChatLoginParam *)param completion:(nullable NIMQChatLoginHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

进入圈组

Declared In

NIMQChatManagerProtocol.h

– logout: required method

退出圈组

- (void)logout:(nullable NIMQChatHandler)completion

Parameters

completion

结果回调

Discussion

退出圈组

Declared In

NIMQChatManagerProtocol.h

– kickOtherClient:completion: required method

踢掉多端在线的其他端

- (void)kickOtherClient:(NIMLoginClient *)client completion:(nullable NIMQChatHandler)completion

Parameters

completion

结果回调

param

传入参数

Discussion

踢掉多端在线的其他端

Declared In

NIMQChatManagerProtocol.h

– currentAccount required method

返回当前登录帐号

- (nullable NSString *)currentAccount

Return Value

当前登录帐号

Discussion

返回当前登录帐号

Declared In

NIMQChatManagerProtocol.h

– currentLoginClients required method

获取当前登录圈组的设备列表

- (nullable NSArray<NIMLoginClient*> *)currentLoginClients

Return Value

当前登录设备列表 内部是NIMLoginClient,不包括自己

Discussion

获取当前登录圈组的设备列表

Declared In

NIMQChatManagerProtocol.h

– addDelegate: required method

添加通知对象

- (void)addDelegate:(id<NIMQChatManagerDelegate>)delegate

Parameters

delegate

通知对象

Discussion

添加通知对象

Declared In

NIMQChatManagerProtocol.h

– removeDelegate: required method

移除通知对象

- (void)removeDelegate:(id<NIMQChatManagerDelegate>)delegate

Parameters

delegate

通知对象

Discussion

移除通知对象

Declared In

NIMQChatManagerProtocol.h