OfflineConfig

@objc(BMPOfflineConfig)
@objcMembers
public final class OfflineConfig : NSObject

Configures the offline functionality

  • Specifies if an active WiFi connection is required for downloading media for offline playback Default value is false

    Declaration

    Swift

    public let restrictMediaDownloadsToWiFi: Bool
  • Declaration

    Swift

    override public convenience init()
  • Initialize a new OfflineConfig instance.

    Declaration

    Swift

    public init(restrictMediaDownloadsToWiFi: Bool)

    Parameters

    restrictMediaDownloadsToWiFi

    specifies if an active WiFi connection is required for downloading media for offline playback.