Agora Java API Reference for Android
Public Attributes | List of all members
io.agora.streaming.StreamingConnectionState Interface Reference

Public Attributes

int STREAMING_CONNECTION_STATE_DISCONNECTED = 0
 
int STREAMING_CONNECTION_STATE_CONNECTED = 1
 
int STREAMING_CONNECTION_STATE_RECONNECTING = 2
 
int STREAMING_CONNECTION_STATE_FAILED = 3
 

Member Data Documentation

◆ STREAMING_CONNECTION_STATE_DISCONNECTED

int io.agora.streaming.StreamingConnectionState.STREAMING_CONNECTION_STATE_DISCONNECTED = 0

The SDK is disconnected from streaming server.

◆ STREAMING_CONNECTION_STATE_CONNECTED

int io.agora.streaming.StreamingConnectionState.STREAMING_CONNECTION_STATE_CONNECTED = 1

The SDK is connected to streaming server.

◆ STREAMING_CONNECTION_STATE_RECONNECTING

int io.agora.streaming.StreamingConnectionState.STREAMING_CONNECTION_STATE_RECONNECTING = 2

The SDK is trying to reconnect to streaming server.

◆ STREAMING_CONNECTION_STATE_FAILED

int io.agora.streaming.StreamingConnectionState.STREAMING_CONNECTION_STATE_FAILED = 3

The SDK fails to connect to streaming server.