OTVDownloadState
Objective-C
enum OTVDownloadState : NSInteger {}
Swift
enum OTVPersistenceAssetState : Int
ObjectiveC compatible enumeration of the possible states of a persistence asset.
-
The initial state.
Declaration
Objective-C
OTVDownloadStateNotDownloaded = 0Swift
case notDownloaded = 0 -
OTVPersistenceAsset is being prepared.
Declaration
Objective-C
OTVDownloadStatePreparing = 1Swift
case preparing = 1 -
OTVPersistenceAsset is prepared and ready to be downloaded.
Declaration
Objective-C
OTVDownloadStatePrepared = 2Swift
case prepared = 2 -
Download is in progress.
Declaration
Objective-C
OTVDownloadStateDownloading = 3Swift
case downloading = 3 -
Download has been paused.
Declaration
Objective-C
OTVDownloadStatePaused = 4Swift
case paused = 4 -
Download has completed.
Declaration
Objective-C
OTVDownloadStateDownloaded = 5Swift
case downloaded = 5 -
An error has occurred during attempt to download.
Declaration
Objective-C
OTVDownloadStateError = 6Swift
case error = 6
OTVDownloadState Enumeration Reference