public class EMError
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
ALREADY_LOGEDIN
连接已经存在,如果之前已经存在个连接并且正在重连,如果再次调用login,会返回此error
|
static int |
CONNECT_TIMER_OUT
连接服务器超时
|
static int |
CONNECTION_CLOSED
连接断开
|
static int |
CONNECTION_CONFLICT
其他设备登陆错误
|
static int |
CONNECTION_INIT_FAILED
由于登录失败导致的初始化连接失败
|
static int |
DNS_ERROR
DNS 错误
|
static int |
ENCRYPTION_ERROR
数据加密传输错误
|
static int |
ERROR_EXCEPTION
异常,为了和以前的error兼容
|
static int |
ERROR_FILE_NOT_FOUND
filt not found
|
static int |
ERROR_SEND
send message error
|
static int |
ERROR_SOCKET_TIME_OUT
socket timerout error
|
static int |
ERROR_UNBIND_DEVICETOKEN
unbind devicetoken failed
|
static int |
FILE_NOT_FOUND
文件不存在异常
|
static int |
GENERAL_ERROR
general error
|
static int |
GROUP_ADD_MEMBERS_TOO_MUCH
要加入的用户人数超过剩余可加入的人数
|
static int |
GROUP_MEMBERS_FULL
群组成员数已满
|
static int |
GROUP_NO_PERMISSIONS
群组权限问题
|
static int |
GROUP_NOT_EXIST
群组不存在
|
static int |
GROUP_NOT_EXIST_LOCAL
本地不存在这个群组
|
static int |
GROUP_USER_IN_BLACKLIST
用户在黑名单列表中
|
static int |
ILLEGAL_USER_NAME
不合法的用户名
|
static int |
INVALID_CERTIFICATE
证书认证错误
|
static int |
INVALID_FILE
无效文件异常,一般文件为0字节时为无效
(录制音频,在没有权限的时候会为0)
|
static int |
INVALID_KEYSTORE
密钥认证错误
|
static int |
INVALID_PASSWORD_USERNAME
用户名或密码错误
|
static int |
IO_EXCEPTION
数据读取错误
|
static int |
LOGOFFINPROGRESS_ERROR
Reserved for future usage
|
static int |
MESSAGE_SEND_FAILED
user add contact to blacklist for both side
|
static int |
MESSAGE_SEND_IN_BLACKLIST
user add contact to blacklist for both side
|
static int |
MESSAGE_SEND_INVALID_CONTENT
用户发了被禁止的内容,发消息后会收到此 error
|
static int |
MESSAGE_SEND_NOT_IN_THE_GROUP
用户已经不在群里,发消息后会收到此 error
|
static int |
MESSAGE_SEND_TRAFFIC_LIMIT
用户发的太快被服务端限流了
|
static int |
NO_ERROR
无错误
|
static int |
NONETWORK_ERROR
网络不可用
|
static int |
UNABLE_CONNECT_TO_SERVER
无法连接到服务器
|
static int |
UNAUTHORIZED
没有权限 (在注册授权模式下,手机端调用注册会有此问题)
|
static int |
UNKNOW_ERROR
unknow error
|
static int |
UNKNOWN_SERVER_ERROR
无法识别服务器返回值
|
static int |
USER_ALREADY_EXISTS
当前用户已存在(注册时会出现)
|
static int |
USER_BE_BLOCKED
用户被封禁
|
static int |
USER_REMOVED
用户被删除
|
构造器和说明 |
---|
EMError() |
public static final int NO_ERROR
public static final int ERROR_EXCEPTION
public static final int ERROR_SEND
public static final int ERROR_FILE_NOT_FOUND
public static final int GENERAL_ERROR
public static final int UNKNOW_ERROR
public static final int UNKNOWN_SERVER_ERROR
public static final int NONETWORK_ERROR
public static final int DNS_ERROR
public static final int UNABLE_CONNECT_TO_SERVER
public static final int CONNECT_TIMER_OUT
public static final int INVALID_PASSWORD_USERNAME
public static final int INVALID_KEYSTORE
public static final int IO_EXCEPTION
public static final int INVALID_CERTIFICATE
public static final int ENCRYPTION_ERROR
public static final int LOGOFFINPROGRESS_ERROR
public static final int INVALID_FILE
public static final int FILE_NOT_FOUND
public static final int CONNECTION_CLOSED
public static final int CONNECTION_CONFLICT
public static final int USER_ALREADY_EXISTS
public static final int GROUP_NOT_EXIST_LOCAL
public static final int GROUP_NOT_EXIST
public static final int GROUP_MEMBERS_FULL
public static final int GROUP_ADD_MEMBERS_TOO_MUCH
public static final int GROUP_NO_PERMISSIONS
public static final int UNAUTHORIZED
public static final int CONNECTION_INIT_FAILED
public static final int USER_REMOVED
public static final int ALREADY_LOGEDIN
public static final int ILLEGAL_USER_NAME
public static final int ERROR_SOCKET_TIME_OUT
public static final int GROUP_USER_IN_BLACKLIST
public static final int USER_BE_BLOCKED
public static final int MESSAGE_SEND_NOT_IN_THE_GROUP
public static final int MESSAGE_SEND_INVALID_CONTENT
public static final int MESSAGE_SEND_TRAFFIC_LIMIT
public static final int MESSAGE_SEND_IN_BLACKLIST
public static final int MESSAGE_SEND_FAILED
public static final int ERROR_UNBIND_DEVICETOKEN
Copyright © 2014 EaseMob.com. All Rights Reserved.