Interface MediaDrmCallback
-
- All Known Implementing Classes:
FakeExoMediaDrm.LicenseServer
,HttpMediaDrmCallback
,LocalMediaDrmCallback
@Deprecated public interface MediaDrmCallback
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.PerformsExoMediaDrm
key and provisioning requests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description byte[]
executeKeyRequest(UUID uuid, ExoMediaDrm.KeyRequest request)
Deprecated.Executes a key request.byte[]
executeProvisionRequest(UUID uuid, ExoMediaDrm.ProvisionRequest request)
Deprecated.Executes a provisioning request.
-
-
-
Method Detail
-
executeProvisionRequest
byte[] executeProvisionRequest(UUID uuid, ExoMediaDrm.ProvisionRequest request) throws MediaDrmCallbackException
Deprecated.Executes a provisioning request.- Parameters:
uuid
- The UUID of the content protection scheme.request
- The request.- Returns:
- The response data.
- Throws:
MediaDrmCallbackException
- If an error occurred executing the request.
-
executeKeyRequest
byte[] executeKeyRequest(UUID uuid, ExoMediaDrm.KeyRequest request) throws MediaDrmCallbackException
Deprecated.Executes a key request.- Parameters:
uuid
- The UUID of the content protection scheme.request
- The request.- Returns:
- The response data.
- Throws:
MediaDrmCallbackException
- If an error occurred executing the request.
-
-