CallState
This API is in beta and subject to change.
Enum representing call or conference states.
Consts
Created
The initial state of a call or a conference that is created, but not started.
Connecting
The call or the conference is connecting.
The call is in the connecting state since it is started via Call.start or Call.answer API til it is connected or failed to connect.
Connected
The call or the conference is connected.
Reconnecting
The call or the conference is reconnecting due to network issues.
Transfer to the Reconnecting state can happen from all states except Disconnecting, Disconnected, and Failed.
If the reconnect is successful, the state returns to the state before reconnect.
If the reconnect is not successful, the state becomes Failed if the call has not been established or Disconnected if the call has been established.
Disconnecting
The call or the conference is disconnecting.
The call is in the disconnecting state after Call.hangup or Conference.hangup is called.
The call state is changed to Disconnected when CallListener.onCallDisconnected or ConferenceListener.onConferenceDisconnected events are triggered.
Disconnected
The call or the conference has ended.
After reaching this state, you cannot use the current call's features.
Failed
The call or the conference has failed.
After reaching this state, you cannot use the current call's features.