TTDownloadItemState Constants Reference
Declared in | TTDownloadData.h |
---|
TTDownloadItemState
Enumeration for download status.
Definition
typedef NS_ENUM(NSUInteger, TTDownloadItemState ) {
TTDownloadItemStateUnknown = 0,
TTDownloadItemStateDownloading,
TTDownloadItemStateErrorOccured,
TTDownloadItemStateFinished,
};
Constants
TTDownloadItemStateUnknown
-
The initial state of
TTDownloadDataRootObserver
andTTDownloadData
when it first gets initialized.Declared In
TTDownloadData.h
. TTDownloadItemStateDownloading
-
The initial state of
TTDownloadDataManager
when download is has started.Declared In
TTDownloadData.h
. TTDownloadItemStateErrorOccured
-
The state where an error has occurred when saving downloaded data to disk.
Declared In
TTDownloadData.h
. TTDownloadItemStateFinished
-
The state once a download is successfully saved to disk.
Declared In
TTDownloadData.h
.
Declared In
TTDownloadData.h