Agora Java API Reference for Android
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
io.agora.rte.scene.AgoraRteSceneConnState Enum Reference

Public Member Functions

 AgoraRteSceneConnState (int v)
 
int getValue ()
 

Static Public Member Functions

static AgoraRteSceneConnState valueOf (int v)
 

Public Attributes

 CONN_STATE_DISCONNECTED =(0)
 
 CONN_STATE_DISCONNECTING =(1)
 
 CONN_STATE_CONNECTING =(2)
 
 CONN_STATE_CONNECTED =(3)
 
 CONN_STATE_RECONNECTING =(4)
 
 CONN_STATE_FAILED =(5)
 

Member Data Documentation

◆ CONN_STATE_DISCONNECTED

io.agora.rte.scene.AgoraRteSceneConnState.CONN_STATE_DISCONNECTED =(0)

The connection is disconnected from the server.

◆ CONN_STATE_DISCONNECTING

io.agora.rte.scene.AgoraRteSceneConnState.CONN_STATE_DISCONNECTING =(1)

The connection is disconnecting to the server.

◆ CONN_STATE_CONNECTING

io.agora.rte.scene.AgoraRteSceneConnState.CONN_STATE_CONNECTING =(2)

The connection is connecting to the server.

◆ CONN_STATE_CONNECTED

io.agora.rte.scene.AgoraRteSceneConnState.CONN_STATE_CONNECTED =(3)

The connection is connected to the server and has joined a scene. You can now publish or subscribe data through the stream now.

◆ CONN_STATE_RECONNECTING

io.agora.rte.scene.AgoraRteSceneConnState.CONN_STATE_RECONNECTING =(4)

The connection keeps rejoining the scene after being disconnected,probably because of network issues.

◆ CONN_STATE_FAILED

io.agora.rte.scene.AgoraRteSceneConnState.CONN_STATE_FAILED =(5)

The connection failed to connect to the server or join the scene