| Interface | Description |
|---|---|
| DrmSession |
A DRM session.
|
| DrmSessionEventListener |
Listener of
DrmSessionManager events. |
| DrmSessionManager |
Manages a DRM session.
|
| ExoMediaCrypto |
Enables decoding of encrypted data using keys in a DRM session.
|
| ExoMediaDrm |
Used to obtain keys for decrypting protected media streams.
|
| ExoMediaDrm.OnEventListener |
Called when a DRM event occurs.
|
| ExoMediaDrm.OnExpirationUpdateListener |
Called when a session expiration update occurs.
|
| ExoMediaDrm.OnKeyStatusChangeListener |
Called when the keys in a DRM session change state.
|
| ExoMediaDrm.Provider |
Provider for
ExoMediaDrm instances. |
| MediaDrmCallback |
Performs
ExoMediaDrm key and provisioning requests. |
| Class | Description |
|---|---|
| DefaultDrmSessionManager |
A
DrmSessionManager that supports playbacks using ExoMediaDrm. |
| DefaultDrmSessionManager.Builder |
Builder for
DefaultDrmSessionManager instances. |
| DrmInitData |
Initialization data for one or more DRM schemes.
|
| DrmInitData.SchemeData |
Scheme initialization data.
|
| DrmSessionEventListener.EventDispatcher |
Dispatches events to
DrmSessionEventListeners. |
| DummyExoMediaDrm |
An
ExoMediaDrm that does not support any protection schemes. |
| ErrorStateDrmSession |
A
DrmSession that's in a terminal error state. |
| ExoMediaDrm.AppManagedProvider |
Provides an
ExoMediaDrm instance owned by the app. |
| ExoMediaDrm.KeyRequest |
Contains data used to request keys from a license server.
|
| ExoMediaDrm.KeyStatus |
Defines the status of a key.
|
| ExoMediaDrm.ProvisionRequest |
Contains data to request a certificate from a provisioning server.
|
| FrameworkMediaCrypto |
An
ExoMediaCrypto implementation that contains the necessary information to build or
update a framework MediaCrypto. |
| FrameworkMediaDrm |
An
ExoMediaDrm implementation that wraps the framework MediaDrm. |
| HttpMediaDrmCallback |
A
MediaDrmCallback that makes requests using HttpDataSource instances. |
| UnsupportedMediaCrypto |
ExoMediaCrypto type that cannot be used to handle any type of protected content. |
| WidevineUtil |
Utility methods for Widevine.
|
| Exception | Description |
|---|---|
| DefaultDrmSessionManager.MissingSchemeDataException |
Signals that the drmInitData passed to
DefaultDrmSessionManager.acquireSession(android.os.Looper, tv.danmaku.ijk.media.drm.DrmSessionEventListener.EventDispatcher, tv.danmaku.ijk.media.drm.DrmInitData, java.lang.String) does not contain
scheme data for the required UUID. |
| DrmSession.DrmSessionException |
Wraps the throwable which is the cause of the error state.
|
| KeysExpiredException |
Thrown when the drm keys loaded into an open session expire.
|
| MediaDrmCallbackException |
Thrown when an error occurs while executing a DRM
key
or provisioning request. |
| UnsupportedDrmException |
Thrown when the requested DRM scheme is not supported.
|
| Annotation Type | Description |
|---|---|
| DefaultDrmSessionManager.Mode |
Determines the action to be done after a session acquired.
|
| DrmSession.State |
The state of the DRM session.
|
| ExoMediaDrm.KeyRequest.RequestType |
Key request types.
|
| UnsupportedDrmException.Reason |
The reason for the exception.
|