Class MediaDrmCallbackException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.google.android.exoplayer2.drm.MediaDrmCallbackException
-
- All Implemented Interfaces:
Serializable
@Deprecated public final class MediaDrmCallbackException extends IOException
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.Thrown when an error occurs while executing a DRMkey
orprovisioning
request.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description long
bytesLoaded
Deprecated.The number of bytes obtained from the server.DataSpec
dataSpec
Deprecated.TheDataSpec
associated with the request.Map<String,List<String>>
responseHeaders
Deprecated.The HTTP request headers included in the response.Uri
uriAfterRedirects
Deprecated.TheUri
after redirections, ordataSpec.uri
if no redirection occurred.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
uriAfterRedirects
public final Uri uriAfterRedirects
Deprecated.TheUri
after redirections, ordataSpec.uri
if no redirection occurred.
-
responseHeaders
public final Map<String,List<String>> responseHeaders
Deprecated.The HTTP request headers included in the response.
-
bytesLoaded
public final long bytesLoaded
Deprecated.The number of bytes obtained from the server.
-
-
Constructor Detail
-
MediaDrmCallbackException
public MediaDrmCallbackException(DataSpec dataSpec, Uri uriAfterRedirects, Map<String,List<String>> responseHeaders, long bytesLoaded, Throwable cause)
Deprecated.Creates a new instance with the given values.- Parameters:
dataSpec
- SeedataSpec
.uriAfterRedirects
- SeeuriAfterRedirects
.responseHeaders
- SeeresponseHeaders
.bytesLoaded
- SeebytesLoaded
.cause
- The cause of the exception.
-
-