PresenceApiEvents

PresenceApiEvents

Methods

(abstract) channelsChanged(params) → {void}

Implement this callback to execute your code when a list of channels changed.

Parameters:
Name Type Description
params object
Name Type Description
channels Array.<Channel>

A new list of channels

Returns:
Type:
void

(abstract) notReadyCodesChanged(params) → {void}

Implement this callback to execute your code when a list of Not Ready Codes changed.

Parameters:
Name Type Description
params object
Name Type Description
notReadyCodes Array.<NotReadyCode>

A new list of Not Ready Codes

Returns:
Type:
void

(abstract) presenceChanged(params) → {void}

Implement this callback to execute your code when agent presence is changed.

Parameters:
Name Type Description
params object
Name Type Description
presence Presence

Current presence

context object

Event context

Name Type Description
eventReason PresenceEventReason

Event reason

Returns:
Type:
void