Class AgentItem<T extends AgentItem>
- java.lang.Object
-
- com.zopim.android.sdk.model.items.RowItem<T>
-
- com.zopim.android.sdk.model.items.AgentItem<T>
-
- Direct Known Subclasses:
- AgentAttachment, AgentMessage, AgentOptions, AgentTyping
public abstract class AgentItem<T extends AgentItem> extends RowItem<T>
This is an abstract model class for agent events that will be created byLivechatChatLogPath.You can subscribe to chat item broadcast via
DataSource.addChatLogObserver(ChatLogObserver)usingChatItemsObserver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.zopim.android.sdk.model.items.RowItem
RowItem.Type
-
-
Constructor Summary
Constructors Modifier Constructor and Description protectedAgentItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object o)java.lang.StringgetAvatarUri()inthashCode()voidsetAvatarUri(java.lang.String avatarUri)voidupdate(T item)Updates this item with item passed as parameter.-
Methods inherited from class com.zopim.android.sdk.model.items.RowItem
canBeCastTo, compareTo, getDisplayName, getId, getParticipantId, getTimestamp, getType, setDisplayName, setId, setParticipantId, setTimestamp, setType, toString
-
-
-
-
Method Detail
-
update
public void update(T item)
Description copied from class:RowItemUpdates this item with item passed as parameter.This will update this instance with the parameter passed as value.
-
getAvatarUri
public java.lang.String getAvatarUri()
-
setAvatarUri
public void setAvatarUri(java.lang.String avatarUri)
-
equals
public boolean equals(java.lang.Object o)
-
-