SIGN UP

ClientEvents

The events that are triggered by Client instance. See Voximplant.getInstance.

Properties

AuthResult

Event is triggered after Client.login, Client.loginWithOneTimeKey, Client.requestOneTimeLoginKey or Client.loginWithToken methods. Handler function receives AuthResult object as an argument.

ConnectionClosed

The event is triggered if a connection to the Voximplant Cloud was closed because of network problems. See Client.connect method. Handler function receives no arguments.

ConnectionEstablished

The event is triggered after connection to the Voximplant Cloud was established successfully. See Client.connect method. Handler function receives no arguments.

ConnectionFailed

The event is triggered if a connection to the Voximplant Cloud couldn't be established. See Client.connect method. Handler function receives ConnectionFailed object as an argument.

IncomingCall

The event is triggered when there is a new incoming call to current user. Handler function receives IncomingCall object as an argument.

RefreshTokenResult

The event is triggered after the Client.tokenRefresh method call. Handler function receives AuthTokenResult object as an argument.