ClientSessionListener
This API is in beta and subject to change.
Interface that handles events related to the connection with the Voximplant Cloud.
Methods
onConnectionClosed
fun onConnectionClosed(reason: ): Unit
This API is in beta and subject to change.
Triggered when connection to the Voximplant Cloud is closed as a result of Client.disconnect method call or due to network issues.
Parameters
reason:
Specifies the reason why the connection to the Voximplant Cloud is closed
Returns
type:
Unit
onReconnecting
fun onReconnecting(): Unit
This API is in beta and subject to change.
Triggered when the connection to the Voximplant Cloud is lost during a call and the client tries to restore it.
Returns
type:
Unit
onReconnected
fun onReconnected(): Unit
This API is in beta and subject to change.
Triggered when the connection to the Voximplant Cloud is restored during a call.
After the client is reconnected, Client.clientState is changed to ClientState.LoggedIn.
Returns
type:
Unit