IClientSessionListener
Interface that may be used to handle events for connection with the Voximplant Cloud.
Methods
onConnectionClosed
void
onConnectionClosed()
Invoked if the connection to the Voximplant Cloud was closed as a result of IClient.disconnect() method call or due to network problems
Returns
type:
void
onConnectionEstablished
void
onConnectionEstablished()
Invoked after the connection to the Voximplant Cloud was established successfully
Returns
type:
void
onConnectionFailed
void
onConnectionFailed(String
error)
Invoked if the connection to the Voximplant Cloud could not be established
Parameters
error:
String
Failure reason description
Returns
type:
void
onReconnected
Since ver. 2.29.0
void
onReconnected()
Invoked after the connection to the Voximplant Cloud is restored during a call.
After the client is reconnected, IClient.getClientState() is changed to ClientState.LOGGED_IN.
Returns
type:
void
onReconnecting
Since ver. 2.29.0
void
onReconnecting()
Invoked if the connection to the Voximplant Cloud is lost during a call and the client tries to restore it.
Returns
type:
void