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 protected
AgentItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(java.lang.Object o)
java.lang.String
getAvatarUri()
int
hashCode()
void
setAvatarUri(java.lang.String avatarUri)
void
update(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:RowItem
Updates 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)
-
-