Overview of Event Listener APIs

The event listener API allows the toolbar register listeners to track events that are triggered by Fusion Service. This allows Fusion Service to initiate outbound interaction events and send updates to the toolbar.

Here's a list of the Event Listener APIs and their usage.

Method

Usage

agentStateEvent

Notifies the application of changes in a user's signed in or availability status for the specified channel.

onDataUpdated

Registers a callback for customer data update events to be transmitted to the media toolbar with the updated information.

focusInteractionEvent

Notifies the application that the toolbar has changed the previously active interaction slot to a different interaction slot.

onOutgoingEvent

Registers a toolbar-initiated callback for the start of an outgoing event triggered from Fusion Service.

outboundCommError

Notifies Fusion Service that an error occurred during initiation of the outbound event.

onToolbarAgentCommand

Registers a listener with Fusion Service to provide agent control functionality.

onToolbarInteractionCommand

Registers a listener with Fusion Service to provide interaction control functionality.