public class AgentAttachment extends AgentItem<AgentAttachment>
LivechatChatLogPath
.
It is used to get updates of AgentAttachment
in the chat item list UI.
You can subscribe to chat item broadcast via DataSource.addChatLogObserver(ChatLogObserver)
using ChatItemsObserver
AgentItem
RowItem.Type
Constructor and Description |
---|
AgentAttachment() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.io.File |
getAttachmentFile() |
java.lang.String |
getAttachmentName() |
java.lang.Long |
getAttachmentSize() |
java.net.URL |
getAttachmentUrl() |
int |
hashCode() |
void |
setAttachmentFile(java.io.File attachmentFile) |
void |
setAttachmentName(java.lang.String attachmentName) |
void |
setAttachmentSize(java.lang.Long attachmentSize) |
void |
setAttachmentUrl(java.net.URL attachmentUrl) |
java.lang.String |
toString() |
void |
update(AgentAttachment 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 AgentAttachment item)
RowItem
This will update this instance with the parameter passed as value.
update
in interface Updatable<AgentAttachment>
update
in class AgentItem<AgentAttachment>
item
- that is an updatepublic java.net.URL getAttachmentUrl()
public void setAttachmentUrl(java.net.URL attachmentUrl)
public java.lang.Long getAttachmentSize()
public void setAttachmentSize(java.lang.Long attachmentSize)
public java.lang.String getAttachmentName()
public void setAttachmentName(java.lang.String attachmentName)
public java.io.File getAttachmentFile()
public void setAttachmentFile(java.io.File attachmentFile)
public boolean equals(java.lang.Object o)
equals
in class AgentItem<AgentAttachment>
public int hashCode()
hashCode
in class AgentItem<AgentAttachment>
public java.lang.String toString()
toString
in class RowItem<AgentAttachment>