ClearKeyConfigEntry

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

Represents a single ClearKey key/id pair.

Constructors

Link copied to clipboard
fun ClearKeyConfigEntry(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.