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