public class VisitorAttachment extends VisitorItem<VisitorAttachment>
LivechatChatLogPath
.
It is used to get updates of VisitorAttachment
in the chat item list UI.
You can subscribe to chat item broadcast via DataSource.addChatLogObserver(ChatLogObserver)
using ChatItemsObserver
VisitorItem
RowItem.Type
Constructor and Description |
---|
VisitorAttachment() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getError() |
java.io.File |
getFile() |
int |
getUploadProgress() |
java.net.URL |
getUploadUrl() |
int |
hashCode() |
void |
setError(java.lang.String error) |
void |
setFile(java.io.File file) |
void |
setUploadProgress(int uploadProgress) |
void |
setUploadUrl(java.net.URL uploadUrl) |
java.lang.String |
toString() |
void |
update(VisitorAttachment item)
Updates this item with item passed as parameter.
|
isFailed, isUnverified, setFailed, setUnverified
compareTo, getDisplayName, getId, getParticipantId, getTimestamp, getType, setDisplayName, setId, setParticipantId, setTimestamp, setType
public void update(@NonNull VisitorAttachment item)
RowItem
This will update this instance with the parameter passed as value.
update
in interface Updatable<VisitorAttachment>
update
in class VisitorItem<VisitorAttachment>
item
- that is an update@Nullable public java.io.File getFile()
public void setFile(@NonNull java.io.File file)
@Nullable public java.net.URL getUploadUrl()
public void setUploadUrl(@NonNull java.net.URL uploadUrl)
public int getUploadProgress()
public void setUploadProgress(int uploadProgress)
@Nullable public java.lang.String getError()
public void setError(@NonNull java.lang.String error)
public boolean equals(java.lang.Object o)
equals
in class VisitorItem<VisitorAttachment>
public int hashCode()
hashCode
in class VisitorItem<VisitorAttachment>
public java.lang.String toString()
toString
in class VisitorItem<VisitorAttachment>