Rate this page:

Events

The events that are triggered by Clientinstance. See the getInstancemethod.Example:

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

Constants

ACDError

Copy URL

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

Copy URL

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

AuthResult

Copy URL

The event is triggered after the Client.login Client.loginWithOneTimeKeyand [Client.loginWithCode] methods call.Handler function receives EventHandlers.AuthResultobject as an argument.

ConnectionClosed

Copy URL

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

Handler function receives no arguments.

ConnectionEstablished

Copy URL

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

ConnectionFailed

Copy URL

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

IncomingCall

Copy URL

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

PlaybackFinished

Copy URL

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

Handler function receives no arguments.

RefreshTokenResult

Copy URL

The event is triggered after the LoginTokens.refreshTokencall Handler function receives the the EventHandlers.AuthTokenResultobject as an argument.

SDKReady

Copy URL

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