MediaDrmCallbackException
@UnstableApi
public final class MediaDrmCallbackException extends IOException
| java.lang.Object | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.io.IOException | |||
| ↳ | androidx.media3.exoplayer.drm.MediaDrmCallbackException |
Thrown when an error occurs while executing a DRM key or provisioning request.
Summary
Public fields |
|
|---|---|
final long |
The number of bytes obtained from the server. |
final DataSpec |
The |
final Map<String, List<String>> |
The HTTP request headers included in the response. |
final Uri |
The |
Public constructors |
|---|
MediaDrmCallbackException(Creates a new instance with the given values. |
Inherited methods |
|---|
Public fields
responseHeaders
public final Map<String, List<String>> responseHeaders
The HTTP request headers included in the response.
uriAfterRedirects
public final Uri uriAfterRedirects
The Uri after redirections, or dataSpec.uri if no redirection occurred.
Public constructors
MediaDrmCallbackException
public MediaDrmCallbackException(
DataSpec dataSpec,
Uri uriAfterRedirects,
Map<String, List<String>> responseHeaders,
long bytesLoaded,
Throwable cause
)
Creates a new instance with the given values.
| Parameters | |
|---|---|
DataSpec dataSpec |
See |
Uri uriAfterRedirects |
See |
Map<String, List<String>> responseHeaders |
See |
long bytesLoaded |
See |
Throwable cause |
The cause of the exception. |