Class AgentTyping
- java.lang.Object
-
- com.zopim.android.sdk.model.items.RowItem<T>
-
- com.zopim.android.sdk.model.items.AgentItem<AgentTyping>
-
- com.zopim.android.sdk.model.items.AgentTyping
-
- All Implemented Interfaces:
- Updatable<AgentTyping>, java.lang.Comparable<RowItem>
public class AgentTyping extends AgentItem<AgentTyping>
This is a model class for agent typing events will be created byLivechatAgentsPath.It is used to get updates of
AgentTypingin the chat item list UI.You can subscribe to chat item broadcast via
DataSource.addAgentsObserver(AgentsObserver)usingAgentsTypingObserver- See Also:
- Agent Dashboard,
AgentItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.zopim.android.sdk.model.items.RowItem
RowItem.Type
-
-
Constructor Summary
Constructors Constructor and Description AgentTyping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object o)inthashCode()booleanisTyping()voidsetTyping(boolean typing)java.lang.StringtoString()voidupdate(AgentTyping item)Updates this item with item passed as parameter.-
Methods inherited from class com.zopim.android.sdk.model.items.AgentItem
getAvatarUri, setAvatarUri
-
Methods inherited from class com.zopim.android.sdk.model.items.RowItem
canBeCastTo, compareTo, getDisplayName, getId, getParticipantId, getTimestamp, getType, setDisplayName, setId, setParticipantId, setTimestamp, setType
-
-
-
-
Method Detail
-
update
public void update(AgentTyping item)
Description copied from class:RowItemUpdates this item with item passed as parameter.This will update this instance with the parameter passed as value.
- Specified by:
updatein interfaceUpdatable<AgentTyping>- Overrides:
updatein classAgentItem<AgentTyping>- Parameters:
item- that is an update
-
isTyping
public boolean isTyping()
-
setTyping
public void setTyping(boolean typing)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAgentItem<AgentTyping>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAgentItem<AgentTyping>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classRowItem<AgentTyping>
-
-