public class Agent
extends java.lang.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 com.zopim.android.sdk.data.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 |
---|---|
java.lang.String |
getAvatarUri()
Gets agent avatar uri resource
|
java.lang.String |
getDisplayName()
Gets display name of the agent as in agent dashboard
|
java.lang.Boolean |
isTyping()
Indicates whether agent is currently typing
|
java.lang.String |
toString() |
@Nullable public java.lang.Boolean isTyping()
@Nullable public java.lang.String getDisplayName()
Agent name is configurable in Agent Dashboard Profile
@Nullable public java.lang.String getAvatarUri()
public java.lang.String toString()
toString
in class java.lang.Object