BMPOfflineState
Objective-C
enum BMPOfflineState : NSInteger {}
Swift
enum OfflineState : Int, @unchecked Sendable
States a source config can have regarding to offline playback and offline DRM.
-
Indicates that the content is completely downloaded and stored on disk.
Declaration
Objective-C
BMPOfflineStateDownloadedSwift
case downloaded = 0 -
Indicates that the content is currently downloading. In this state there may be already some offline data stored on disk.
Declaration
Objective-C
BMPOfflineStateDownloadingSwift
case downloading = 1 -
Indicates that the downloading of the content was suspended and the locally stored data is incomplete.
Declaration
Objective-C
BMPOfflineStateSuspendedSwift
case suspended = 2 -
Indicates that the content is not downloaded. There is no data stored on disk.
Declaration
Objective-C
BMPOfflineStateNotDownloadedSwift
case notDownloaded = 3 -
Indicates that the download is cancelling. When cancellation succeeded and all partially downloaded data was deleted, the BMPOfflineManager sends offlineManagerDidCancelDownload:. At this point the according BMPSourceConfig is in state BMPOfflineStateNotDownloaded again.
Declaration
Objective-C
BMPOfflineStateCancelingSwift
case canceling = 4
BMPOfflineState Enumeration Reference