ClearKeyConfigEntry

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

Represents a single ClearKey key/id pair.

Constructors

Link copied to clipboard
constructor(key: String, kid: String? = null)

Properties

Link copied to clipboard
val key: String

Hex String representation of the key.

Link copied to clipboard
val kid: String? = null

Hex String representation of the key ID. Optional if the same kid is used for the whole content (every audio and video track of each representation). Otherwise the player won’t know which kid has to be used.