com.bitmovin.player.api.drm

com.bitmovin.player.api.drm

Contains API to enable DRM playback.

Types

NameSummary
ClearKeyConfigclass ClearKeyConfig(val entries: ClearKeyConfigEntry) : DrmConfig
Configures ClearKey key/value pairs to enable decryption of ClearKey protected content.
ClearKeyConfigEntrydata class ClearKeyConfigEntry(val key: String, val kid: String? = null) : Parcelable
Represents a single ClearKey key/id pair.
DrmConfigabstract class DrmConfig : Parcelable
Configures decryption of DRM protected content.
DrmDatadata class DrmData(val data: ByteArray, val type: DrmData.Type)
Represents DRM information of type DrmData.Type.
DrmRequestclass DrmRequest(val drmData: DrmData, url: String, headers: Map<String, String>?, body: ByteArray?, httpMethod: String) : HttpRequest
An HTTP request for DRM information.
NagraConnectConfigclass NagraConnectConfig : DrmConfig
Configures decryption of a NAGRA PRM protected Source.
PlayReadyConfigclass PlayReadyConfig : DrmConfig
Configures decryption of a PlayReady DRM protected Source.
PrepareLicenseCallbackfun interface PrepareLicenseCallback
Can be implemented to prepare the license acquisition response.
PrepareMessageCallbackfun interface PrepareMessageCallback
Can be implemented to prepare the license acquisition message which will be sent to the license acquisition server.
WidevineConfigclass WidevineConfig : DrmConfig
Configures decryption of a Widevine DRM protected Source.