BMPOfflineSourceConfig

Objective-C


@interface BMPOfflineSourceConfig : BMPSourceConfig

Swift

class OfflineSourceConfig : SourceConfig

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

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isRestrictedToAssetCache;

    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

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