public class AVDefaultConnectionListener extends Object implements AVConnectionListener
| 构造器和说明 |
|---|
AVDefaultConnectionListener(AVSession session) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onError(Integer requestKey,
Messages.ErrorCommand errorCommand) |
void |
onMessageArriving(String peerId,
Integer requestKey,
Messages.GenericCommand command) |
void |
onWebSocketClose() |
void |
onWebSocketOpen() |
public AVDefaultConnectionListener(AVSession session)
public void onWebSocketOpen()
onWebSocketOpen 在接口中 AVConnectionListenerpublic void onWebSocketClose()
onWebSocketClose 在接口中 AVConnectionListenerpublic void onError(Integer requestKey, Messages.ErrorCommand errorCommand)
onError 在接口中 AVConnectionListenerpublic void onMessageArriving(String peerId, Integer requestKey, Messages.GenericCommand command)
onMessageArriving 在接口中 AVConnectionListenerCopyright © 2019. All rights reserved.