com.salesforce.android.chat.core.AgentListener |
Listener interface for retrieving agent information during a chat session.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onAgentIsTyping(boolean isAgentTyping)
Called when the agent has begun typing and when they have stopped typing.
| ||||||||||
abstract void |
onAgentJoined(AgentInformation agentInformation)
Called when an agent has accepted a chat session or an agent transfer has been completed.
| ||||||||||
abstract void |
onAgentJoinedConference(String agentName)
Called when a new agent has joined an existing chat session as a result of an agent group
conference invitation.
| ||||||||||
abstract void |
onAgentLeftConference(String agentName)
Called when a new agent has left an existing group conferencing chat session.
| ||||||||||
abstract void |
onChatMessageReceived(ChatMessage chatMessage)
Called when a chat message has been received from the agent.
| ||||||||||
abstract void |
onTransferToButtonInitiated()
Called when an agent transfer has been initiated and the current agent has left the chat.
|
Called when the agent has begun typing and when they have stopped typing.
isAgentTyping | True when the agent is typing, false when they have stopped. |
---|
Called when an agent has accepted a chat session or an agent transfer has been completed.
agentInformation | Information about the agent |
---|
Called when a new agent has joined an existing chat session as a result of an agent group conference invitation.
agentName | The agent's name who is joining the chat |
---|
Called when a new agent has left an existing group conferencing chat session.
agentName | The agent's name who is leaving the chat |
---|
Called when a chat message has been received from the agent.
chatMessage | A chat message from the agent |
---|
Called when an agent transfer has been initiated and the current agent has left the chat. Please note that this is only called during a LiveAgent button transfer and not during a skill or User transfer.