public class LCPushMessageListener extends Object implements com.tapsdk.lc.session.LCConnectionListener
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_ID |
| 限定符和类型 | 方法和说明 |
|---|---|
static LCPushMessageListener |
getInstance() |
LCNotificationManager |
getNotificationManager() |
void |
onError(Integer requestKey,
com.tapsdk.lc.Messages.ErrorCommand errorCommand) |
void |
onMessageArriving(String peerId,
Integer requestKey,
com.tapsdk.lc.Messages.GenericCommand genericCommand) |
void |
onWebSocketClose() |
void |
onWebSocketOpen() |
void |
setNotificationManager(LCNotificationManager manager) |
public static LCPushMessageListener getInstance()
public void setNotificationManager(LCNotificationManager manager)
public LCNotificationManager getNotificationManager()
public void onWebSocketOpen()
onWebSocketOpen 在接口中 com.tapsdk.lc.session.LCConnectionListenerpublic void onWebSocketClose()
onWebSocketClose 在接口中 com.tapsdk.lc.session.LCConnectionListenerpublic void onMessageArriving(String peerId, Integer requestKey, com.tapsdk.lc.Messages.GenericCommand genericCommand)
onMessageArriving 在接口中 com.tapsdk.lc.session.LCConnectionListenerpublic void onError(Integer requestKey, com.tapsdk.lc.Messages.ErrorCommand errorCommand)
onError 在接口中 com.tapsdk.lc.session.LCConnectionListenerCopyright © 2024. All rights reserved.