Public Member Functions

int getValue ()
 

Public Attributes

 CONNECTION_CHANGED_CONNECTING =(0)
 
 CONNECTION_CHANGED_JOIN_SUCCESS =(1)
 
 CONNECTION_CHANGED_INTERRUPTED =(2)
 
 CONNECTION_CHANGED_BANNED_BY_SERVER =(3)
 
 CONNECTION_CHANGED_JOIN_FAILED =(4)
 
 CONNECTION_CHANGED_LEAVE_CHANNEL =(5)
 

Detailed Description

Reasons for a connection state change.

Member Function Documentation

◆ getValue()

int io.agora.recording.common.Common.CONNECTION_CHANGED_REASON_TYPE.getValue ( )

Member Data Documentation

◆ CONNECTION_CHANGED_CONNECTING

io.agora.recording.common.Common.CONNECTION_CHANGED_REASON_TYPE.CONNECTION_CHANGED_CONNECTING =(0)

0: The SDK is connecting to Agora's edge server.

◆ CONNECTION_CHANGED_JOIN_SUCCESS

io.agora.recording.common.Common.CONNECTION_CHANGED_REASON_TYPE.CONNECTION_CHANGED_JOIN_SUCCESS =(1)

1: The SDK has joined the channel successfully.

◆ CONNECTION_CHANGED_INTERRUPTED

io.agora.recording.common.Common.CONNECTION_CHANGED_REASON_TYPE.CONNECTION_CHANGED_INTERRUPTED =(2)

2: The connection between the SDK and Agora's edge server is interrupted.

◆ CONNECTION_CHANGED_BANNED_BY_SERVER

io.agora.recording.common.Common.CONNECTION_CHANGED_REASON_TYPE.CONNECTION_CHANGED_BANNED_BY_SERVER =(3)

3: The connection between the SDK and Agora's edge server is banned by Agora's edge server.

◆ CONNECTION_CHANGED_JOIN_FAILED

io.agora.recording.common.Common.CONNECTION_CHANGED_REASON_TYPE.CONNECTION_CHANGED_JOIN_FAILED =(4)

4: The SDK fails to join the channel for more than 20 minutes and stops reconnecting to the channel.

◆ CONNECTION_CHANGED_LEAVE_CHANNEL

io.agora.recording.common.Common.CONNECTION_CHANGED_REASON_TYPE.CONNECTION_CHANGED_LEAVE_CHANNEL =(5)

5: The SDK has left the channel.