SIGN UP

Events

The events that are triggered by Client instance. See the getInstance method. Example:

var vox = VoxImplant.getInstance();
vox.init({micRequired: true});
vox.addEventListener(VoxImplant.Events.SDKReady, function() {
 vox.connect();
});

Enum constants

ACDError

The event is triggered when the Web SDK detects incorrect use of the ACD module, e.g., using the same credentials in the different browsers or multiple browser's windows.

ACDStatusUpdated

The event is triggered when ACD status of current user changed from SDK or from inside the ACD service.

AuthResult

The event is triggered after the Client.login, Client.loginWithOneTimeKey and Client.loginWithCode methods call. Handler function receives EventHandlers.AuthResult object as an argument.

ConnectionClosed

The event is triggered if a connection to VoxImplant Cloud was closed because of network problems. See the Client.connect function

Handler function receives no arguments.

ConnectionEstablished

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

ConnectionFailed

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

IncomingCall

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

PlaybackFinished

The event is triggered after sound playback was stopped. See Client.playToneScript and Client.stopPlayback functions

Handler function receives no arguments.

RefreshTokenResult

The event is triggered after the LoginTokens.refreshToken call Handler function receives the the EventHandlers.AuthTokenResult object as an argument.

SDKReady

The event is triggered after SDK was successfully initialized after the Client.init function call Handler function receives EventHandlers.SDKReady object as an argument.