Agora Java API Reference for Android
|
Static Public Member Functions | |
static int | getValue (RtmLinkState state) |
static RtmLinkState | getEnum (int value) |
Public Attributes | |
IDLE =(0) | |
CONNECTING =(1) | |
CONNECTED =(2) | |
DISCONNECTED =(3) | |
SUSPENDED =(4) | |
FAILED =(5) | |
Rtm link state.
io.agora.rtm.RtmConstants.RtmLinkState.IDLE =(0) |
0: The initial state.
io.agora.rtm.RtmConstants.RtmLinkState.CONNECTING =(1) |
1: The SDK is connecting to the server.
io.agora.rtm.RtmConstants.RtmLinkState.CONNECTED =(2) |
2: The SDK has connected to the server.
io.agora.rtm.RtmConstants.RtmLinkState.DISCONNECTED =(3) |
3: The SDK is disconnected from the server.
io.agora.rtm.RtmConstants.RtmLinkState.SUSPENDED =(4) |
4: The SDK link is suspended.
io.agora.rtm.RtmConstants.RtmLinkState.FAILED =(5) |
5: The SDK is failed to connect to the server.