1 package com.netease.nimlib.sdk;
96 return this == KICKOUT ||
this == KICK_BY_OTHER_CLIENT ||
this == FORBIDDEN ||
this == PWD_ERROR ||
this == DATA_UPGRADE;
106 return this == KICKOUT ||
this == KICK_BY_OTHER_CLIENT;
137 if (c.getValue() == value) {
static final short RES_DEVICE_NOT_TRUST
设备不在信任设备表里
static final short RES_EUIDPASS
密码不正确
static StatusCode typeOfValue(int value)
KICK_BY_OTHER_CLIENT
被同时在线的其他端主动踢掉
static final short RES_ACCOUNT_BLOCK
帐号被禁用
static final short RES_EEXIST
对象已经存在
boolean wontAutoLoginForever()
判断处于当前状态码时,SDK还会不会继续自动重连登录,即使进程杀掉重启,也不会再做自动登录。 FORBIDDEN可...
static final short RES_NEED_CHANGE_LBS
需要切换LBS 不在ResponseDispatcherPush::makeResponse中传给主进程,在其他地方直接通过RemoteAgent::resp...
static final short RES_ENONEXIST
目标(对象或用户)不存在
static final short RES_NEED_RECONNECT
需要重连 不在ResponseDispatcherPush::makeResponse中传给主进程,在其他地方直接通过RemoteAgent::respons...
static final short RES_SUCCESS
操作成功
static final short RES_FORBIDDEN
应用被封禁
boolean wontAutoLogin()
判断处于当前状态码时,SDK还会不会继续自动重连登录。
static StatusCode statusOfResCode(int resCode)
StatusCode(int value, String desc)
static final short RES_VERSION_EXPIRED
版本号太旧,需要升级
void setDesc(String desc)
static final short RES_EPARAM
参数错误