SIGN UP

Events

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

Example:

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

Enum constants

ACDStatusUpdated

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

AuthResult

Event is triggered after Client.login, Client.loginWithOneTimeKey, Client.requestonetimeloginkey or Events.loginWithCode function 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 VoxImplant Cloud couldn't be established.
See Client.connect function

Handler function receives [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 [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.