androidx.media3.exoplayer.drm
Interfaces
| DrmSession | A DRM session. | 
| DrmSessionEventListener | Listener of  | 
| DrmSessionManager | Manages a DRM session. | 
| DrmSessionManager.DrmSessionReference | Represents a single reference count of a  | 
| DrmSessionManagerProvider | A provider to obtain a  | 
| 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  | 
| MediaDrmCallback | Performs  | 
Classes
| DefaultDrmSessionManager | A  | 
| DefaultDrmSessionManager.Builder | Builder for  | 
| DefaultDrmSessionManagerProvider | Default implementation of  | 
| DrmSessionEventListener.EventDispatcher | Dispatches events to  | 
| DrmUtil | DRM-related utility methods. | 
| DummyExoMediaDrm | An  | 
| ErrorStateDrmSession | A  | 
| ExoMediaDrm.AppManagedProvider | Provides an  | 
| 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. | 
| FrameworkCryptoConfig | |
| FrameworkMediaDrm | An  | 
| HttpMediaDrmCallback | A  | 
| LocalMediaDrmCallback | A  | 
| OfflineLicenseHelper | Helper class to download, renew and release offline licenses. | 
| WidevineUtil | Utility methods for Widevine. | 
Exceptions
| DefaultDrmSessionManager.MissingSchemeDataException | Signals that the  | 
| 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  | 
| UnsupportedDrmException | Thrown when the requested DRM scheme is not supported. | 
Annotations
| DefaultDrmSessionManager.Mode | Determines the action to be done after a session acquired. | 
| DrmSession.State | The state of the DRM session. | 
| DrmUtil.ErrorSource | Identifies the operation which caused a DRM-related error. | 
| ExoMediaDrm.KeyRequest.RequestType | Key request types. | 
| UnsupportedDrmException.Reason | The reason for the exception. | 
