Interface MediaDrmCallback


public interface MediaDrmCallback
Performs MediaDrm key and provisioning requests.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    executeKeyRequest(UUID uuid, ExoMediaDrm.KeyRequest request)
    Executes a key request.
    byte[]
    executeProvisionRequest(UUID uuid, ExoMediaDrm.ProvisionRequest request)
    Executes a provisioning request.
  • Method Details

    • executeProvisionRequest

      byte[] executeProvisionRequest(UUID uuid, ExoMediaDrm.ProvisionRequest request) throws Exception
      Executes a provisioning request.
      Parameters:
      uuid - The UUID of the content protection scheme.
      request - The request.
      Returns:
      The response data.
      Throws:
      Exception - If an error occurred executing the request.
    • executeKeyRequest

      byte[] executeKeyRequest(UUID uuid, ExoMediaDrm.KeyRequest request) throws Exception
      Executes a key request.
      Parameters:
      uuid - The UUID of the content protection scheme.
      request - The request.
      Returns:
      The response data.
      Throws:
      Exception - If an error occurred executing the request.