OfflineConfig

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

Configures offline functionality.

Constructors

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

Properties

maxSimultaneousDownloads
Link copied to clipboard
var maxSimultaneousDownloads: Int = 3
The number of maximum allowed simultaneous download tasks.
maxSimultaneousSegmentDownloads
Link copied to clipboard
var maxSimultaneousSegmentDownloads: Int = 3
The number of maximum allowed simultaneous segment downloads per download task.
requirements
Link copied to clipboard
var requirements: Requirements
The requirements that must be met in order for downloads to be active.
tweaksConfig
Link copied to clipboard
val tweaksConfig: OfflineTweaksConfig
Configures experimental offline features.

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)