public static class SmallMessageSnapshot.CompletedSnapshot extends SmallMessageSnapshot
SmallMessageSnapshot.CompletedFlowDirectlySnapshot, SmallMessageSnapshot.CompletedSnapshot, SmallMessageSnapshot.ConnectedMessageSnapshot, SmallMessageSnapshot.ErrorMessageSnapshot, SmallMessageSnapshot.PausedSnapshot, SmallMessageSnapshot.PendingMessageSnapshot, SmallMessageSnapshot.ProgressMessageSnapshot, SmallMessageSnapshot.RetryMessageSnapshot, SmallMessageSnapshot.WarnFlowDirectlySnapshot, SmallMessageSnapshot.WarnMessageSnapshotMessageSnapshot.IWarnMessageSnapshot, MessageSnapshot.NoFieldException, MessageSnapshot.StartedMessageSnapshotCREATOR, isLargeFile| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getSmallTotalBytes()
This method will be used when the downloading file isn't a large file.
|
byte |
getStatus() |
boolean |
isReusedDownloadedFile() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getLargeSofarBytes, getLargeTotalBytesgetEtag, getFileName, getId, getRetryingTimes, getSmallSofarBytes, getThrowable, isLargeFile, isResumingpublic int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class MessageSnapshotpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class MessageSnapshotpublic byte getStatus()
public int getSmallTotalBytes()
getSmallTotalBytes 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.