Agora Java API Reference for Android
|
Static Public Member Functions | |
static int | getValue (RtmConnectionState state) |
static RtmConnectionState | getEnum (int value) |
Public Attributes | |
DISCONNECTED =(1) | |
CONNECTING =(2) | |
CONNECTED =(3) | |
RECONNECTING =(4) | |
FAILED =(5) | |
Connection states between rtm sdk and agora server.
io.agora.rtm.RtmConstants.RtmConnectionState.DISCONNECTED =(1) |
1: The SDK is disconnected with server.
io.agora.rtm.RtmConstants.RtmConnectionState.CONNECTING =(2) |
2: The SDK is connecting to the server.
io.agora.rtm.RtmConstants.RtmConnectionState.CONNECTED =(3) |
3: The SDK is connected to the server and has joined a channel. You can now publish or subscribe to a track in the channel.
io.agora.rtm.RtmConstants.RtmConnectionState.RECONNECTING =(4) |
4: The SDK keeps rejoining the channel after being disconnected from the channel, probably because of network issues.
io.agora.rtm.RtmConstants.RtmConnectionState.FAILED =(5) |
5: The SDK fails to connect to the server or join the channel.