public interface EMCallBack
EMError
, so please stop using those errors.
We will keep those errors unremoved to keep the compatibility but new error codes will be added in EMError afterwards限定符和类型 | 字段和说明 |
---|---|
static java.lang.Object |
data
the addition data returned from callback
it maybe null
|
static int |
ERROR_EXCEPTION |
static int |
ERROR_EXCEPTION_CONNECT_TIMER_OUT
连接服务器超时
|
static int |
ERROR_EXCEPTION_DNS_ERROR
DNS 错误
|
static int |
ERROR_EXCEPTION_ENCRYPTION_ERROR
数据加密传输错误
|
static int |
ERROR_EXCEPTION_FILE_NOT_FOUND
文件不存在异常
|
static int |
ERROR_EXCEPTION_INVALID_CERTIFICATE
证书认证错误
|
static int |
ERROR_EXCEPTION_INVALID_FILE
无效文件异常,一般文件为0字节时为无效
|
static int |
ERROR_EXCEPTION_INVALID_KEYSTORE
密钥认证错误
|
static int |
ERROR_EXCEPTION_INVALID_PASSWORD_USERNAME
用户名或密码错误
|
static int |
ERROR_EXCEPTION_IO_EXCEPTION
数据读取错误
|
static int |
ERROR_EXCEPTION_LOGOFFINPROGRESS_ERROR |
static int |
ERROR_EXCEPTION_NO_ERROR
无任何异常
|
static int |
ERROR_EXCEPTION_NONETWORK_ERROR
网络不可用
|
static int |
ERROR_EXCEPTION_UNABLE_CONNECT_TO_SERVER
无法连接到服务器
|
static int |
ERROR_EXCEPTION_UNKNOWN_SERVER_ERROR
无法识别服务器返回值
|
static int |
ERROR_FILE_NOT_FOUND |
static int |
ERROR_SEND |
限定符和类型 | 方法和说明 |
---|---|
void |
onError(int code,
java.lang.String error) |
void |
onProgress(int progress,
java.lang.String status) |
void |
onSuccess() |
static final int ERROR_EXCEPTION
static final int ERROR_SEND
static final int ERROR_FILE_NOT_FOUND
static final int ERROR_EXCEPTION_NO_ERROR
static final int ERROR_EXCEPTION_UNKNOWN_SERVER_ERROR
static final int ERROR_EXCEPTION_NONETWORK_ERROR
static final int ERROR_EXCEPTION_DNS_ERROR
static final int ERROR_EXCEPTION_UNABLE_CONNECT_TO_SERVER
static final int ERROR_EXCEPTION_CONNECT_TIMER_OUT
static final int ERROR_EXCEPTION_INVALID_PASSWORD_USERNAME
static final int ERROR_EXCEPTION_INVALID_KEYSTORE
static final int ERROR_EXCEPTION_IO_EXCEPTION
static final int ERROR_EXCEPTION_INVALID_CERTIFICATE
static final int ERROR_EXCEPTION_ENCRYPTION_ERROR
static final int ERROR_EXCEPTION_LOGOFFINPROGRESS_ERROR
static final int ERROR_EXCEPTION_INVALID_FILE
static final int ERROR_EXCEPTION_FILE_NOT_FOUND
static final java.lang.Object data
Copyright © 2014 EaseMob.com. All Rights Reserved.