OfflineConfig

data class OfflineConfig(var maxSimultaneousDownloads: Int = 3, var maxSimultaneousSegmentDownloads: Int = 3, var requirements: Requirements = BitmovinDownloadService.DEFAULT_REQUIREMENTS, val tweaksConfig: OfflineTweaksConfig = OfflineTweaksConfig()) : Parcelable

Configures offline functionality.

Constructors

Link copied to clipboard
constructor(maxSimultaneousDownloads: Int = 3, maxSimultaneousSegmentDownloads: Int = 3, requirements: Requirements = BitmovinDownloadService.DEFAULT_REQUIREMENTS, tweaksConfig: OfflineTweaksConfig = OfflineTweaksConfig())

Properties

Link copied to clipboard

The number of maximum allowed simultaneous download tasks. Default value is 3.

Link copied to clipboard

The number of maximum allowed simultaneous segment downloads per download task. Default value is 3.

Link copied to clipboard
var requirements: Requirements

The requirements that must be met in order for downloads to be active. Default: Any Network connection.

Link copied to clipboard

Configures experimental offline features. Default: A default OfflineTweaksConfig.