Package-level declarations

Contains API to enable DRM playback.

Types

Link copied to clipboard
@RequiresApi(value = 21)
class ClearKeyConfig(val entries: ClearKeyConfigEntry) : DrmConfig

Configures ClearKey key/value pairs to enable decryption of ClearKey protected content.

Link copied to clipboard
@RequiresApi(value = 21)
data class ClearKeyConfigEntry(val key: String, val kid: String? = null) : Parcelable

Represents a single ClearKey key/id pair.

Link copied to clipboard
abstract class DrmConfig : Parcelable

Configures decryption of DRM protected content.

Link copied to clipboard
data class DrmData(val data: ByteArray, val type: DrmData.Type)

Represents DRM information of type DrmData.Type.

Link copied to clipboard
class DrmRequest(val drmData: DrmData, url: String, headers: Map<String?, String?>?, body: ByteArray?, httpMethod: String) : HttpRequest

An HTTP request for DRM information.

Link copied to clipboard

Can be implemented to prepare the license acquisition response.

Link copied to clipboard

Can be implemented to prepare the license acquisition message which will be sent to the license acquisition server.

Link copied to clipboard

Configures decryption of a Widevine DRM protected Source.