ChatConnection Class Callback Event Methods
The following are ChatConnection class callback event methods.
Syntax
onAccepted(event)
Description
Fires when chat is accepted by a agent.
Syntax
onAnswering(event)
Description
Fires when answering the chat.
Syntax
onCapabilitiesChanged(event)
Description
Fires when chat capabilities change.
Syntax
onChatdataChanged(event)
Description
Fires when there is a change in chat data.
Syntax
onConferencing(event)
Description
Fires when conferencing the chat.
Syntax
onDialing(event)
Description
Fires when chat is in the process of connecting.
Syntax
onDropped(event)
Description
Fires when chat is dropped.
Syntax
onError(event)
Description
Fires when a there is a chat connection error.
Syntax
onForwarded(event)
Description
Fires when chat is forwarded.
Syntax
onForwardError(event)
Description
Fires when there is error in forwarding the task.
Syntax
onForwarding(event)
Description
Fires when forwarding the chat.
Syntax
onHistory(event)
Description
Fires when agent receives chat history.
Syntax
onIncomingChat(event)
Description
Fires when ChatConnection state is changed to INCOMING.
Syntax
onMessage(event)
Description
Fires when there is incoming message.
Syntax
onPartyAdded(event)
Description
Fires when a new chat party is added.
Syntax
onPartyChanged(event)
Description
Fires when the chat party changes.
Syntax
onPartyRemoved(event)
Description
Fires when a chat party is removed.
Syntax
onProperties(event)
Description
Fires when a agent receives chat properties.
Syntax
onPushURL(event)
Description
Fires when a routing system push URL.
Syntax
onRejected(event)
Description
Fires when a chat is rejected.
Syntax
onReleased(event)
Description
Fires when a chat is released.
Syntax
onReleasing(event)
Description
Fires when conferencing the chat.
Syntax
onRevoked(event)
Description
Fires when a chat is revoked.
Syntax
onTalking(event)
Description
Fires when an agent/customer is in the state of talking.
Syntax
onTyping(event)
Description
Fires when typing in a chat conversation.
Syntax
onUserdataChanged(event)
Description
Fires when there is a change in user data.