public class Agent extends Object
LivechatAgentsPath
.
It is used to tell available departments for in a chat session. Configuration of available departments can be done on the agent's dashboard.
You can subscribe to agent broadcast via DataSource.addAgentsObserver(java.util.Observer)
using AgentsObserver
This class is a model that will be serialised to JSON and deserialised from JSON to this model. As such it does not follow the m naming prefix for fields.
Constructor and Description |
---|
Agent() |
Modifier and Type | Method and Description |
---|---|
String |
getAvatarUri()
Gets agent avatar uri resource
|
String |
getDisplayName()
Gets display name of the agent as in agent dashboard
|
Boolean |
isTyping()
Indicates whether agent is currently typing
|
String |
toString() |
@Nullable public Boolean isTyping()
@Nullable public String getDisplayName()
Agent name is configurable in Agent Dashboard Profile
@Nullable public String getAvatarUri()