PrepareLicenseCallback

PrepareLicenseCallback

fun interface PrepareLicenseCallback

Can be implemented to prepare the license acquisition response.

See also

WidevineConfig
NagraConnectConfig
PlayReadyConfig
PrepareLicenseCallback.prepareLicense

Functions

NameSummary
prepareLicenseabstract fun prepareLicense(licenseResponse: ByteArray): ByteArray
Is called with the response returned by the DRM license server for the DRM license request. Can be used to process the response of the Widevine or Nagra Connect servers. The returned ByteArray is treated as the new license response.