OfflineSourceConfig

open class OfflineSourceConfig(url: String, type: SourceType, val drmId: ByteArray?, cacheDirectory: File, trackStateFile: File?, val isRestrictToOffline: Boolean, resourceIdentifierCallback: ResourceIdentifierCallback? = null) : SourceConfig

Represents the offline version of a SourceConfig. Altering this object could result in undefined behaviour.

Constructors

Link copied to clipboard
constructor(url: String, type: SourceType, drmId: ByteArray?, cacheDirectory: File, trackStateFile: File?, isRestrictToOffline: Boolean, resourceIdentifierCallback: ResourceIdentifierCallback? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

If the playback is restricted to offline data only.

Functions

Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, flags: Int)