OfflineConfig

data class OfflineConfig(maxSimultaneousDownloads: Int, maxSimultaneousSegmentDownloads: Int, requirements: Requirements, tweaksConfig: OfflineTweaksConfig) : Parcelable

Configures offline functionality.

Constructors

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

Properties

Link copied to clipboard
var maxSimultaneousDownloads: Int = 3

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

Link copied to clipboard
var maxSimultaneousSegmentDownloads: Int = 3

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
val tweaksConfig: OfflineTweaksConfig

Configures experimental offline features. Default: A default OfflineTweaksConfig.