PrepareMessageCallback

PrepareMessageCallback

fun interface PrepareMessageCallback

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

See also

WidevineConfig
NagraConnectConfig
PlayReadyConfig
PrepareMessageCallback.prepareMessage

Functions

NameSummary
prepareMessageabstract fun prepareMessage(keyMessage: ByteArray): ByteArray
Is called with the key message as provided by the content decryption module (CDM). Can be used to customize the license acquisition message which will be sent to the license acquisition server.