DrmConfig

abstract class DrmConfig : Parcelable

Configures decryption of DRM protected content.

Constructors

DrmConfig
Link copied to clipboard
fun DrmConfig(licenseUrl: String?, uuid: UUID)

Types

Builder
Link copied to clipboard
class Builder(licenseUrl: String?, uuid: UUID?, httpHeaders: MutableMap<String?, String?>?)

Properties

httpHeaders
Link copied to clipboard
var httpHeaders: MutableMap<String?, String?>? = null
A Map containing the HTTP request headers, or null
isLicenseRenewable
Link copied to clipboard
var isLicenseRenewable: Boolean = true
Indicates if the license is renewable.
licenseUrl
Link copied to clipboard
var licenseUrl: String?
Returns the license url.
shouldKeepDrmSessionsAlive
Link copied to clipboard
var shouldKeepDrmSessionsAlive: Boolean = false
Indicates if the DRM sessions should be kept alive after a source is unloaded.
uuid
Link copied to clipboard
var uuid: UUID
Returns the UUID.

Functions

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

Inheritors

WidevineConfig
Link copied to clipboard
ClearKeyConfig
Link copied to clipboard