public interface MediaDrmCallback
ExoMediaDrm key and provisioning requests.| Modifier and Type | Method and Description |
|---|---|
byte[] |
executeKeyRequest(java.util.UUID uuid,
ExoMediaDrm.KeyRequest request,
java.lang.String mediaProvidedLicenseServerUrl)
Executes a key request.
|
byte[] |
executeProvisionRequest(java.util.UUID uuid,
ExoMediaDrm.ProvisionRequest request)
Executes a provisioning request.
|
byte[] executeProvisionRequest(java.util.UUID uuid,
ExoMediaDrm.ProvisionRequest request)
throws java.lang.Exception
uuid - The UUID of the content protection scheme.request - The request.java.lang.Exception - If an error occurred executing the request.byte[] executeKeyRequest(java.util.UUID uuid,
ExoMediaDrm.KeyRequest request,
@Nullable
java.lang.String mediaProvidedLicenseServerUrl)
throws java.lang.Exception
uuid - The UUID of the content protection scheme.request - The request generated by the content decryption module.mediaProvidedLicenseServerUrl - A license server URL provided by the media, or null if the
media does not include any license server URL.java.lang.Exception - If an error occurred executing the request.