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

    BMPOfflineStateDownloaded

    Swift

    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

    BMPOfflineStateDownloading

    Swift

    case downloading = 1
  • Indicates that the downloading of the content was suspended and the locally stored data is incomplete.

    Declaration

    Objective-C

    BMPOfflineStateSuspended

    Swift

    case suspended = 2
  • Indicates that the content is not downloaded. There is no data stored on disk.

    Declaration

    Objective-C

    BMPOfflineStateNotDownloaded

    Swift

    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

    BMPOfflineStateCanceling

    Swift

    case canceling = 4