Overview of Event Listener APIs
The event listener API allows the toolbar register listeners to track events that are triggered by Service Center. This allows Service Center 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 Service Center. |
outboundCommError |
Notifies Service Center that an error occurred during initiation of the outbound event. |
onToolbarAgentCommand |
Registers a listener with Service Center to provide agent control functionality. |
onToolbarInteractionCommand |
Registers a listener with Service Center to provide interaction control functionality. |