Agora Java API Reference for Android
|
Public Member Functions | |
int | getValue () |
Static Public Member Functions | |
static AgoraRteConnectionChangedReason | valueOf (int v) |
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_CONNECTING =(0) |
0: The SDK is connecting to the server.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_JOIN_SUCCESS =(1) |
1: The SDK has joined the channel successfully.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_INTERRUPTED =(2) |
2: The connection between the SDK and the server is interrupted.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_BANNED_BY_SERVER =(3) |
3: The connection between the SDK and the server is banned by the server.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_JOIN_FAILED =(4) |
4: The SDK fails to join the channel for more than 20 minutes and stops reconnecting to the channel.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_LEAVE_CHANNEL =(5) |
5: The SDK has left the channel.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_INVALID_APP_ID =(6) |
6: The connection fails because the App ID is not valid.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_INVALID_CHANNEL_NAME =(7) |
7: The connection fails because the channel name is not valid.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_INVALID_TOKEN =(8) |
8: The connection fails because the token is not valid.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_TOKEN_EXPIRED =(9) |
9: The connection fails because the token has expired.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_REJECTED_BY_SERVER =(10) |
10: The connection is rejected by the server.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_SETTING_PROXY_SERVER =(11) |
11: The connection changes to reconnecting because the SDK has set a proxy server.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_RENEW_TOKEN =(12) |
12: When the connection state changes because the app has renewed the token.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED =(13) |
13: The IP Address of the app has changed. A change in the network type or IP/Port changes the IP address of the app.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT =(14) |
14: A timeout occurs for the keep-alive of the connection between the SDK and the server.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_REJOIN_SUCCESS =(15) |
15: The SDK has rejoined the channel successfully.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_LOST =(16) |
16: The connection between the SDK and the server is lost.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_ECHO_TEST =(17) |
17: The change of connection state is caused by echo test.
io.agora.rte.scene.AgoraRteConnectionChangedReason.CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER =(18) |
18: The local IP Address is changed by user.