Serializablepublic final class MediaDrmCallbackException extends IOException
key
or provisioning request.| Modifier and Type | Field | Description |
|---|---|---|
long |
bytesLoaded |
The number of bytes obtained from the server.
|
DataSpec |
dataSpec |
The
DataSpec associated with the request. |
Map<String,List<String>> |
responseHeaders |
The HTTP request headers included in the response.
|
Uri |
uriAfterRedirects |
The
Uri after redirections, or dataSpec.uri if no redirection
occurred. |
| Constructor | Description |
|---|---|
MediaDrmCallbackException(DataSpec dataSpec,
Uri uriAfterRedirects,
Map<String,List<String>> responseHeaders,
long bytesLoaded,
Throwable cause) |
Creates a new instance with the given values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic final Uri uriAfterRedirects
Uri after redirections, or dataSpec.uri if no redirection
occurred.public final Map<String,List<String>> responseHeaders
public final long bytesLoaded
public MediaDrmCallbackException(DataSpec dataSpec, Uri uriAfterRedirects, Map<String,List<String>> responseHeaders, long bytesLoaded, Throwable cause)
dataSpec - See dataSpec.uriAfterRedirects - See uriAfterRedirects.responseHeaders - See responseHeaders.bytesLoaded - See bytesLoaded.cause - The cause of the exception.