public final class ResponseCode
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static short |
DOWNLOAD_EXPIRE_FILE
下载过期文件失败(对应于nos token scene)
|
static short |
FILE_NOT_FOUND
找不到文件
|
static short |
FILE_UPLOAD_ERROR
文件上传失败
|
static short |
RES_ACCOUNT_BLOCK
帐号被禁用
|
static short |
RES_ADDR_BLOCKED
登录IP或MAC被禁
|
static short |
RES_API_SYNC_RUN_ON_LOOPER_THREAD_EXCEPTION
SDK 异步转同步调用发生在带Looper的线程上(不允许在带Looper的线程上做同步调用)
|
static short |
RES_API_SYNC_RUNTIME_EXCEPTION
SDK 异步转同步调用发生运行时异常(例如线程被中断异常)
|
static short |
RES_API_SYNC_TIMEOUT
SDK 异步转同步调用超时
|
static short |
RES_CALLBACK_APP_EXCEPTION
SDK 回调上层操作出现异常
|
static short |
RES_CALLBACK_CUSTOM_CODE_MAX
第三方回调自定义错误码返回最大值, 20000- 20099
|
static short |
RES_CALLBACK_CUSTOM_CODE_MIN
第三方回调自定义错误码返回最小值,范围[20000,20099], 具体错误码对应关系由用户决定
|
static short |
RES_CHANNEL_HAS_EXISTS
对应的频道已存在
|
static short |
RES_CHANNEL_MEMBER_EXCEED
频道人数超限
|
static short |
RES_CHANNEL_MEMBER_HAS_EXISTS
已经在频道内
|
static short |
RES_CHANNEL_MEMBER_HAS_EXISTS_OTHER_CLIENT
已经在频道内(自己的其他端)
|
static short |
RES_CHANNEL_MEMBER_NOT_EXISTS
不在频道内
|
static short |
RES_CHANNEL_NOT_EXISTS
对应的频道不存在
|
static short |
RES_CHATROOM_BLACKLIST
账号在黑名单中,不允许进入聊天室
|
static short |
RES_CHATROOM_IM_LINK_EXCEPTION
IM主连接状态异常
|
static short |
RES_CHATROOM_MUTED
在禁言列表中,不允许发言
|
static short |
RES_CHATROOM_ROOM_MUTED
聊天室处于整体禁言状态,只有管理员能发言
|
static short |
RES_CHATROOM_STATUS_EXCEPTION
聊天室状态异常
|
static short |
RES_CLEAR_UNREAD_PART_SUCCESS
清空会话未读数部分成功
|
static short |
RES_DB_EXCEPTION
操作数据库失败
|
static short |
RES_DEVICE_NOT_TRUST
设备不在信任设备表里
|
static short |
RES_ECONNECTION
网络连接出现问题
|
static short |
RES_EEXIST
对象已经存在
|
static short |
RES_EFREQUENTLY
操作太过频繁
|
static short |
RES_ENONEXIST
目标(对象或用户)不存在
|
static short |
RES_EPACKET
内部错误
|
static short |
RES_EPARAM
参数错误
|
static short |
RES_ETIMEOUT
操作超时
|
static short |
RES_EUIDPASS
密码不正确
|
static short |
RES_EUNKNOWN
服务器内部错误
|
static short |
RES_EUNPACKET
内部错误
|
static short |
RES_EXCEPTION
操作出现异常
|
static short |
RES_FORBIDDEN
应用被封禁
|
static short |
RES_IN_BLACK_LIST
被接收方加入黑名单
|
static short |
RES_INVALID
已经失效
|
static short |
RES_INVITE_HAS_ACCEPT
邀请已经接受了
|
static short |
RES_INVITE_HAS_REJECT
邀请已经拒绝
|
static short |
RES_INVITE_NOT_EXISTS
邀请不存在或已过期
|
static short |
RES_IP_NOT_ALLOWED
内部帐户不允许在该地址登陆
|
static short |
RES_JOIN_CHANNEL_UID_CONFLICT
加入频道uid 冲突
|
static short |
RES_NEED_CHANGE_LBS
需要切换LBS
不在ResponseDispatcherPush#makeResponse中传给主进程,在其他地方直接通过RemoteAgent#response上抛
|
static short |
RES_NEED_RECONNECT
需要重连
不在ResponseDispatcherPush#makeResponse中传给主进程,在其他地方直接通过RemoteAgent#response上抛
|
static short |
RES_OFFLINE
当前未在线,无法操作
|
static short |
RES_OVERDUE
超过期限
|
static short |
RES_PEER_NIM_OFFLINE
执行的操作已经成功,只是对方不在线(推送可达,但是离线)
|
static short |
RES_PEER_PUSH_OFFLINE
执行的操作已经成功,只是对方推送不可达
|
static short |
RES_REGISTER_PUSH_SDK_FAILED
注册第三方推送SDK获取token失败
|
static short |
RES_REGISTER_PUSH_SDK_TIME_OUT
注册第三方推送SDK超时
|
static short |
RES_RP_INVALID
红包功能不可用
|
static short |
RES_SUCCESS
操作成功
|
static short |
RES_TEAM_ALREADY_IN
用户已经在群里了
|
static short |
RES_TEAM_APPLY_SUCCESS
申请成功
|
static short |
RES_TEAM_ECOUNT_LIMIT
已达到人数限制
|
static short |
RES_TEAM_EMEMBER_NOTEXIST
用户不在群里面
|
static short |
RES_TEAM_ENACCESS
没有权限
|
static short |
RES_TEAM_ENOTEXIST
群不存在
|
static short |
RES_TEAM_ERR_TYPE
群类型不对
|
static short |
RES_TEAM_INFO_PART_SUCCESS
部分请求成功,同时会有失败列表
|
static short |
RES_TEAM_INVITE_PART_SUCCESS
部分邀请成功,同时会有失败列表
|
static short |
RES_TEAM_INVITE_SUCCESS
邀请成功
|
static short |
RES_TEAM_LIMIT
群数量达到上限
|
static short |
RES_TEAM_USER_STATUS_ERR
群成员状态不对
|
static short |
RES_TOOBUZY
服务器太忙
|
static short |
RES_UNKNOWN
未知
|
static short |
RES_UNSUPPORT
当前不支持的操作
|
static short |
RES_VERSION_EXPIRED
版本号太旧,需要升级
|
static short |
USE_INVALID_SCENE
使用了不合法的scene key
|
构造器和说明 |
---|
ResponseCode() |
public static final short RES_SUCCESS
public static final short RES_EUIDPASS
public static final short RES_ADDR_BLOCKED
public static final short RES_IP_NOT_ALLOWED
public static final short RES_VERSION_EXPIRED
public static final short RES_NEED_RECONNECT
public static final short RES_NEED_CHANGE_LBS
public static final short RES_FORBIDDEN
public static final short RES_ENONEXIST
public static final short RES_ETIMEOUT
public static final short RES_EPARAM
public static final short RES_ECONNECTION
public static final short RES_EFREQUENTLY
public static final short RES_EEXIST
public static final short RES_ACCOUNT_BLOCK
public static final short RES_DEVICE_NOT_TRUST
public static final short RES_EUNKNOWN
public static final short RES_DB_EXCEPTION
public static final short RES_TOOBUZY
public static final short RES_OVERDUE
public static final short RES_INVALID
public static final short RES_RP_INVALID
public static final short RES_CLEAR_UNREAD_PART_SUCCESS
public static final short RES_TEAM_ECOUNT_LIMIT
public static final short RES_TEAM_ENACCESS
public static final short RES_TEAM_ENOTEXIST
public static final short RES_TEAM_EMEMBER_NOTEXIST
public static final short RES_TEAM_ERR_TYPE
public static final short RES_TEAM_LIMIT
public static final short RES_TEAM_USER_STATUS_ERR
public static final short RES_TEAM_APPLY_SUCCESS
public static final short RES_TEAM_ALREADY_IN
public static final short RES_TEAM_INVITE_SUCCESS
public static final short RES_TEAM_INVITE_PART_SUCCESS
public static final short RES_TEAM_INFO_PART_SUCCESS
public static final short RES_EPACKET
public static final short RES_EUNPACKET
public static final short RES_IN_BLACK_LIST
public static final short RES_CHATROOM_IM_LINK_EXCEPTION
public static final short RES_CHATROOM_STATUS_EXCEPTION
public static final short RES_CHATROOM_BLACKLIST
public static final short RES_CHATROOM_MUTED
public static final short RES_CHATROOM_ROOM_MUTED
public static final short RES_PEER_NIM_OFFLINE
public static final short RES_PEER_PUSH_OFFLINE
public static final short RES_CHANNEL_NOT_EXISTS
public static final short RES_CHANNEL_HAS_EXISTS
public static final short RES_CHANNEL_MEMBER_NOT_EXISTS
public static final short RES_CHANNEL_MEMBER_HAS_EXISTS
public static final short RES_INVITE_NOT_EXISTS
public static final short RES_INVITE_HAS_REJECT
public static final short RES_INVITE_HAS_ACCEPT
public static final short RES_JOIN_CHANNEL_UID_CONFLICT
public static final short RES_CHANNEL_MEMBER_EXCEED
public static final short RES_CHANNEL_MEMBER_HAS_EXISTS_OTHER_CLIENT
public static final short RES_CALLBACK_CUSTOM_CODE_MIN
public static final short RES_CALLBACK_CUSTOM_CODE_MAX
public static final short RES_UNKNOWN
public static final short RES_EXCEPTION
public static final short RES_CALLBACK_APP_EXCEPTION
public static final short RES_API_SYNC_TIMEOUT
public static final short RES_API_SYNC_RUN_ON_LOOPER_THREAD_EXCEPTION
public static final short RES_API_SYNC_RUNTIME_EXCEPTION
public static final short RES_OFFLINE
public static final short RES_UNSUPPORT
public static final short RES_REGISTER_PUSH_SDK_FAILED
public static final short DOWNLOAD_EXPIRE_FILE
public static final short USE_INVALID_SCENE
public static final short FILE_NOT_FOUND
public static final short FILE_UPLOAD_ERROR
public static final short RES_REGISTER_PUSH_SDK_TIME_OUT