# Package com.castlabs.android.drm

package com.castlabs.android.drm

- Related Packages
  Package
  Description
  com.castlabs.android
- Class
  Description
  CastlabsMediaDrm
  A wrapper around `FrameworkMediaDrm` that provides asynchronous session management capabilities.
  CastlabsMediaDrm.CastlabsMediaDrmException
  Exception thrown when operations on the MediaDrm instance fail.
  CastlabsMediaDrm.CastlabsMediaDrmException.Type
  Defines the types of DRM exceptions that can occur.
  Drm
  The DRM types
  DrmConfiguration
  Basic DRM configuration that can be used to query keys from a widevine proxy.
  DrmConfiguration.Builder
  A builder implementation to create instances of `DrmConfiguration`s
  DrmEventListener
  A listener interface.
  DrmException
  Represents an exception that occurred during a DRM operation.
  DrmHdcpListener
  HDCP event listener interface
  DrmInitDataContainer
  Container for DRM initialization data for video and audio tracks.
  DrmLicenseManager
  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`.
  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
  DrmTodayConfiguration.Environment
  Specifies the environment for the DRM Today service.
  DrmTodayException
  Use this Exception class to report any errors from DrmToday services.
  DrmTodayException.ErrorCode
  Annotation interface for error codes used in DrmTodayException.
  DrmTodayResponseCode
  DRMToday response code holder and parser.
  DrmTodayResponseCode.ErrorCode
  Annotation that defines the valid error codes for DRMToday responses.
  DrmTodayUriFactory
  Factory class for creating DRMToday URIs and managing DRMToday request properties.
  DrmUtils
  Utility class providing DRM-related functionality for the Android SDK.
  DrmUtils.HttpExecutorException
  Exception thrown when HTTP execution fails.
  KeyStatus
  DRM key status types
  KeyStore
  Implementations of this interface are used by the DRM Session to store and retrieve keySetIds that are used to store offline licenses.
  LicenseServerTimeProvider
  Interface for providing server time information for DRM license requests.
  MemoryKeyStore
  Simple implementation of `KeyStore` that stores all keys in memory.
  ProvisioningManager
  Utility class that can handle device provisioning.
  ProvisioningManager.ProvisionedCallback
  You need to provide an implementation of this interface when you are triggering provisioning.
  ProvisioningManager.ProvisionException
  Exception thrown when there is an issue with provisioning.
  SecurityLevel
  DRM Security level definitions
  SharedPreferencesKeyStore
  KeyStore implementation that stores keySetIds in `SharedPreferences`.