public abstract class AVIMClientEventHandler extends AVIMEventHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected static cn.leancloud.AVLogger |
LOGGER |
| 构造器和说明 |
|---|
AVIMClientEventHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
onClientOffline(AVIMClient client,
int code)
实现本方法以处理当前登录被踢下线的情况
|
abstract void |
onConnectionPaused(AVIMClient client)
实现本方法以处理网络断开事件
|
abstract void |
onConnectionResume(AVIMClient client)
实现本方法以处理网络恢复事件
|
protected void |
processEvent0(int operation,
Object operator,
Object operand,
Object eventScene) |
processEventpublic abstract void onConnectionPaused(AVIMClient client)
client - public abstract void onConnectionResume(AVIMClient client)
client - public abstract void onClientOffline(AVIMClient client, int code)
client - code - 状态码说明被踢下线的具体原因protected final void processEvent0(int operation,
Object operator,
Object operand,
Object eventScene)
processEvent0 在类中 AVIMEventHandlerCopyright © 2018. All rights reserved.