public static class SmallMessageSnapshot.ConnectedMessageSnapshot 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() |
java.lang.String |
getEtag() |
java.lang.String |
getFileName() |
int |
getSmallTotalBytes()
This method will be used when the downloading file isn't a large file.
|
byte |
getStatus() |
boolean |
isResuming() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getLargeSofarBytes, getLargeTotalBytesgetId, getRetryingTimes, getSmallSofarBytes, getThrowable, isLargeFile, isReusedDownloadedFilepublic 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 java.lang.String getFileName()
getFileName in class MessageSnapshotpublic byte getStatus()
public boolean isResuming()
isResuming in class MessageSnapshottrue if the downloading is resuming from the breakpoint, otherwise the
downloading is from the beginning.public int getSmallTotalBytes()
getSmallTotalBytes in class MessageSnapshotisLargeFile()public java.lang.String getEtag()
getEtag in class MessageSnapshot