Constructor for CXoneEventMessenger
Method to create singleton object of the class
@example
const cxoneAcdClient = CXoneAcdClient.instance();
Method to check if session info can be sent
subscriber
Method to check for subscription type
subscriber
type
Check subscriber for event
subscriber
event
Check subscriber for event
subscriber
event
clean subscription event
event
Method to get events from state
Method to get next event received
Method to initiate the event messenger
Method to handle received events
event
Method to handle session token update
Set up the window in windowEventSubscribers
event
Method to handle unsubscribe event
event
Method to process the pending subscriptions
pending subscriptions
@example
processPendingSubscriptions(pendingSubscriptions);
Publish events to windows
events
Send events to window
events
Returns an array with all of the subscription types in a cleaned state.Will not include any invalid subscription types.
subscriptionTypes
validate and clean contact id
contactId
validate subscription event
event
Returns true if the window object is not one we already have a reference to This will help avoid sending double messages to a window if they call subscribe twice
Generated using TypeDoc
This class is used to send events from the CXone Agent application.