OfflineConfig
data class OfflineConfig(var maxSimultaneousDownloads: Int = 3, var maxSimultaneousSegmentDownloads: Int = 3, var deviceStateRequirements: Set<DeviceStateRequirement> = BitmovinDownloadService.DEFAULT_DEVICE_STATE_REQUIREMENTS, val tweaksConfig: OfflineTweaksConfig = OfflineTweaksConfig()) : Parcelable
Configures offline functionality.
Constructors
Link copied to clipboard
constructor(maxSimultaneousDownloads: Int = 3, maxSimultaneousSegmentDownloads: Int = 3, deviceStateRequirements: Set<DeviceStateRequirement> = BitmovinDownloadService.DEFAULT_DEVICE_STATE_REQUIREMENTS, tweaksConfig: OfflineTweaksConfig = OfflineTweaksConfig())
Properties
Link copied to clipboard
The requirements that must be met in order for downloads to be active. Default: Any Network connection.
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
Link copied to clipboard
Configures experimental offline features. Default: A default OfflineTweaksConfig.