public static class LargeMessageSnapshot.CompletedSnapshot extends LargeMessageSnapshot
LargeMessageSnapshot.CompletedFlowDirectlySnapshot, LargeMessageSnapshot.CompletedSnapshot, LargeMessageSnapshot.ConnectedMessageSnapshot, LargeMessageSnapshot.ErrorMessageSnapshot, LargeMessageSnapshot.PausedSnapshot, LargeMessageSnapshot.PendingMessageSnapshot, LargeMessageSnapshot.ProgressMessageSnapshot, LargeMessageSnapshot.RetryMessageSnapshot, LargeMessageSnapshot.WarnFlowDirectlySnapshot, LargeMessageSnapshot.WarnMessageSnapshotMessageSnapshot.IWarnMessageSnapshot, MessageSnapshot.NoFieldException, MessageSnapshot.StartedMessageSnapshotParcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CREATOR, isLargeFileCONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
long |
getLargeTotalBytes()
This method will be used when the downloading file is a large file.
|
byte |
getStatus() |
boolean |
isReusedDownloadedFile() |
void |
writeToParcel(Parcel dest,
int flags) |
getSmallSofarBytes, getSmallTotalBytesgetEtag, getFileName, getId, getLargeSofarBytes, getRetryingTimes, getThrowable, isLargeFile, isResumingpublic int describeContents()
describeContents in interface ParcelabledescribeContents in class MessageSnapshotpublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface ParcelablewriteToParcel in class MessageSnapshotpublic byte getStatus()
public long getLargeTotalBytes()
getLargeTotalBytes in class MessageSnapshotisLargeFile()public boolean isReusedDownloadedFile()
isReusedDownloadedFile in class MessageSnapshottrue if the task isn't real started, and we find the target file is already
exist, so the task will receive the completed callback directly, false otherwise.