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)
Receive information about the Agent once they have accepted the chat session, and once an Agent
Transfer has completed.
| ||||||||||
abstract void |
onChatMessageReceived(ChatMessage chatMessage)
Called when a chat message has been received from the Agent.
| ||||||||||
abstract void |
onTransferToButtonInitiated()
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. |
---|
Receive information about the Agent once they have accepted the chat session, and once an Agent Transfer has completed.
agentInformation | Information about the Agent |
---|
Called when a chat message has been received from the Agent.
chatMessage | A chat message from the Agent |
---|
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.