BMPOfflineSourceItem

Objective-C


@interface BMPOfflineSourceItem : BMPSourceItem

Swift

class OfflineSourceItem : SourceItem

Represents a BMPSourceItem which references already downloaded or currently downloading offline content. It can be passed to a BMPBitmovinPlayer instance for playback. Do not create instances of this class on your own, instead use BMPOfflineManager#createOfflineSourceItemForSourceItem:restrictedToAssetCache:.

  • Defines if the player is restricted to the usage of completely offline stored media renditions

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isRestrictedToAssetCache) BOOL restrictedToAssetCache;

    Swift

    var isRestrictedToAssetCache: Bool { get }
  • The offline DRM license data which contains the content decryption keys needed to properly playback this asset

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSData *_offlineDRMLicense;

    Swift

    var _offlineDRMLicense: Data? { get }
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUrl:(nonnull NSURL *)url;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAdaptiveSource:
        (nonnull BMPAdaptiveSource *)adaptiveSource;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithProgressiveSource:
        (nonnull BMPProgressiveSource *)progressiveSource;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithProgressiveSources:
        (nonnull NSArray<BMPProgressiveSource *> *)progressiveSources;