NIMSDK-AOS  9.16.0
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.qchat.QChatService接口 参考

圈组接口 更多...

Public 成员函数

AbortableFuture< QChatLoginResultlogin (QChatLoginParam param)
 登录接口 更多...
 
InvocationFuture< Void > logout ()
 登出接口 更多...
 
InvocationFuture< QChatKickOtherClientsResultkickOtherClients (QChatKickOtherClientsParam param)
 踢掉多端同时在线的其他端 更多...
 

详细描述

圈组接口

在文件 QChatService.java15 行定义.

成员函数说明

◆ kickOtherClients()

InvocationFuture<QChatKickOtherClientsResult> com.netease.nimlib.sdk.qchat.QChatService.kickOtherClients ( QChatKickOtherClientsParam  param)

踢掉多端同时在线的其他端

参数
param
返回
InvocationFuture 可设置回调函数,监听操作结果。回调中返回被踢掉的客户端的deviceId列表

◆ login()

AbortableFuture<QChatLoginResult> com.netease.nimlib.sdk.qchat.QChatService.login ( QChatLoginParam  param)

登录接口

参数
param
返回
AbortableFuture 可取消操作;可设置回调函数,监听操作结果。 回调中返回成功登陆后的客户端基本信息,以及同时在线的其他端列表

◆ logout()

InvocationFuture<Void> com.netease.nimlib.sdk.qchat.QChatService.logout ( )

登出接口

返回
InvocationFuture 可设置回调函数,监听操作结果。

该接口的文档由以下文件生成: