public class AgentTyping extends AgentItem<AgentTyping>
LivechatAgentsPath
.
It is used to get updates of AgentTyping
in the chat item list UI.
You can subscribe to chat item broadcast via DataSource.addAgentsObserver(AgentsObserver)
using AgentsTypingObserver
AgentItem
RowItem.Type
Constructor and Description |
---|
AgentTyping() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isTyping() |
void |
setTyping(boolean typing) |
java.lang.String |
toString() |
void |
update(AgentTyping item)
Updates this item with item passed as parameter.
|
getAvatarUri, setAvatarUri
compareTo, getDisplayName, getId, getParticipantId, getTimestamp, getType, setDisplayName, setId, setParticipantId, setTimestamp, setType
public void update(@NonNull AgentTyping item)
RowItem
This will update this instance with the parameter passed as value.
update
in interface Updatable<AgentTyping>
update
in class AgentItem<AgentTyping>
item
- that is an updatepublic boolean isTyping()
public void setTyping(boolean typing)
public boolean equals(java.lang.Object o)
equals
in class AgentItem<AgentTyping>
public int hashCode()
hashCode
in class AgentItem<AgentTyping>
public java.lang.String toString()
toString
in class RowItem<AgentTyping>