# Package com.castlabs.android.drm

- Interface Summary
  Interface | Description
  --- | ---
  DrmEventListener | A listener interface.
  DrmLicenseManager<T extends com.google.android.exoplayer2.drm.ExoMediaCrypto> | Extension of the `DrmSessionManager` that also allows to load licenses headless and in one blocking function.
  DrmLicenseManagerComponent | Extensions that add extra functionality to a `DrmLicenseManager`.
  LicenseServerTimeProvider |
  ProvisioningManager.ProvisionedCallback | You need to provide an implementation of this interface when you are triggering provisioning.

- Class Summary
  Class | Description
  --- | ---
  CastlabsMediaDrm | Wrapper of the `FrameworkMediaDrm` allowing asynchronously close the DRM session.
  DrmConfiguration | Basic DRM configuration that can be used to query keys from a widevine proxy.
  DrmInitDataContainer |
  DrmTodayConfiguration | This class contains the configuration parameters necessary to use DRMtoday with the player.
  DrmTodayConfiguration.Builder | A builder implementation to create instances of `DrmTodayConfiguration`s
  DrmTodayResponseCode | DRMToday response code holder and parser
  DrmTodayUriFactory | DRMToday clients helper.
  DrmUtils | Utility methods for the widevine applications.
  KeyStore | Implementations of this interface are used by the DRM Session to store and retrieve keySetIds that are used to store offline licenses.
  MemoryKeyStore | Simple implementation of `KeyStore` that stores all keys in memory.
  ProvisioningManager | Utility class that can handle device provisioning.
  SharedPreferencesKeyStore | KeyStore implementation that stores keySetIds in `SharedPreferences`.

- Enum Summary
  Enum | Description
  --- | ---
  Drm | The DRM types
  KeyStatus | DRM key status types
  SecurityLevel | DRM Security level definitions

- Exception Summary
  Exception | Description
  --- | ---
  CastlabsMediaDrm.CastlabsMediaDrmException |
  DrmException |
  DrmTodayException | Use this Exception class to report any errors from DrmToday services.
  DrmUtils.HttpExecutorException |
  ProvisioningManager.ProvisionException |

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  CastlabsMediaDrm.CastlabsMediaDrmException.Type |
  DrmTodayConfiguration.Environment |
  DrmTodayException.ErrorCode |
  DrmTodayResponseCode.ErrorCode |