IClientSessionListener
Interface that provides API to handle the Voximplant cloud's connection events.
Methods
onConnectionClosed
void
 onConnectionClosed()Triggered if the connection to the Voximplant cloud has been closed as a result of IClient.disconnect() method call or due to network problems.
Returns
- type:- void 
onConnectionEstablished
void
 onConnectionEstablished()Triggered if the connection to the Voximplant cloud has been established successfully.
Returns
- type:- void 
onConnectionFailed
void
 onConnectionFailed(String
 error)Triggered if the connection to the Voximplant cloud cannot be established.
Parameters
- error:- String - Failure reason description 
Returns
- type:- void 
onReconnected
Since ver. 2.29.0
void
 onReconnected()Triggered if 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()Triggered if the connection to the Voximplant cloud is lost during a call and the client tries to restore it.
Returns
- type:- void