NIMSDK-AOS  9.16.0
| Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.qchat.param.QChatLoginParam类 参考

"圈组登录"接口入参 更多...

interface  QChatLoginCallback
 圈组登录独立模式回调 更多...
 

Public 成员函数

String getAppKey ()
 获取appKey 更多...
 
String getAccount ()
 获取用户账号 更多...
 
String getToken ()
 获取用户token 更多...
 
QChatAuthType getAuthType ()
 获取鉴权方式 更多...
 
String getLoginExt ()
 获取登录自定义字段 更多...
 
void setLoginExt (String loginExt)
 设置登录自定义字段 更多...
 
Integer getCustomClientType ()
 获取自定义客户端类型 更多...
 
void setCustomClientType (int customClientType)
 设置自定义客户端类型 更多...
 
String getCustomTag ()
 获取自定义Tag 更多...
 
void setCustomTag (String customTag)
 设置自定义Tag 更多...
 
String getCustomPushContentType ()
 获取自定义推送文案类型 更多...
 
void setCustomPushContentType (String customPushContentType)
 设置自定义推送文案类型,离线推送不显示详情时,要显示的文案对应的类型名称 更多...
 
QChatLoginCallback getLoginCallback ()
 获取圈组登录独立模式回调 更多...
 
 QChatLoginParam ()
 非独立模式下,圈组登录参数的构造函数, 不需要传入account、token、appKey、authType、loginCallback account、token、appKey、authType从IM模块获取,loginCallback设置为空 其他参数通过setter方法设置 更多...
 
boolean isValid ()
 数据是否有效,有效时才会进行登录操作,否则返回RES_EPARAM 更多...
 

详细描述

"圈组登录"接口入参

在文件 QChatLoginParam.java15 行定义.

构造及析构函数说明

◆ QChatLoginParam()

com.netease.nimlib.sdk.qchat.param.QChatLoginParam.QChatLoginParam ( )

非独立模式下,圈组登录参数的构造函数, 不需要传入account、token、appKey、authType、loginCallback account、token、appKey、authType从IM模块获取,loginCallback设置为空 其他参数通过setter方法设置

在文件 QChatLoginParam.java185 行定义.

成员函数说明

◆ getAccount()

String com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getAccount ( )

获取用户账号

返回
账号

在文件 QChatLoginParam.java85 行定义.

◆ getAppKey()

String com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getAppKey ( )

获取appKey

返回

在文件 QChatLoginParam.java75 行定义.

◆ getAuthType()

QChatAuthType com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getAuthType ( )

获取鉴权方式

返回

在文件 QChatLoginParam.java103 行定义.

◆ getCustomClientType()

Integer com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getCustomClientType ( )

获取自定义客户端类型

返回

在文件 QChatLoginParam.java127 行定义.

◆ getCustomPushContentType()

String com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getCustomPushContentType ( )

获取自定义推送文案类型

返回

在文件 QChatLoginParam.java159 行定义.

◆ getCustomTag()

String com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getCustomTag ( )

获取自定义Tag

返回

在文件 QChatLoginParam.java143 行定义.

◆ getLoginCallback()

QChatLoginCallback com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getLoginCallback ( )

获取圈组登录独立模式回调

返回

在文件 QChatLoginParam.java175 行定义.

◆ getLoginExt()

String com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getLoginExt ( )

获取登录自定义字段

返回

在文件 QChatLoginParam.java111 行定义.

◆ getToken()

String com.netease.nimlib.sdk.qchat.param.QChatLoginParam.getToken ( )

获取用户token

返回
登录口令

在文件 QChatLoginParam.java94 行定义.

◆ isValid()

boolean com.netease.nimlib.sdk.qchat.param.QChatLoginParam.isValid ( )

数据是否有效,有效时才会进行登录操作,否则返回RES_EPARAM

返回

在文件 QChatLoginParam.java222 行定义.

◆ setCustomClientType()

void com.netease.nimlib.sdk.qchat.param.QChatLoginParam.setCustomClientType ( int  customClientType)

设置自定义客户端类型

参数
customClientType

在文件 QChatLoginParam.java135 行定义.

◆ setCustomPushContentType()

void com.netease.nimlib.sdk.qchat.param.QChatLoginParam.setCustomPushContentType ( String  customPushContentType)

设置自定义推送文案类型,离线推送不显示详情时,要显示的文案对应的类型名称

参数
customPushContentType

在文件 QChatLoginParam.java167 行定义.

◆ setCustomTag()

void com.netease.nimlib.sdk.qchat.param.QChatLoginParam.setCustomTag ( String  customTag)

设置自定义Tag

参数
customTag

在文件 QChatLoginParam.java151 行定义.

◆ setLoginExt()

void com.netease.nimlib.sdk.qchat.param.QChatLoginParam.setLoginExt ( String  loginExt)

设置登录自定义字段

参数
loginExt

在文件 QChatLoginParam.java119 行定义.


该类的文档由以下文件生成: