Stay organized with collections
Save and categorize content based on your preferences.
android.drm
Interfaces
OnErrorListener |
Interface definition for a callback that receives information about DRM framework errors.
|
OnEventListener |
Interface definition for a callback that receives information about DRM processing events.
|
OnInfoListener |
Interface definition for a callback that receives status messages and warnings during registration and rights acquisition.
|
ConstraintsColumns |
Interface definition for the columns that represent DRM constraints.
|
Classes
DrmConvertedStatus |
An entity class that wraps converted data, conversion status, and the offset for appending the header and body signature to the converted data.
|
DrmErrorEvent |
An entity class that is passed to the onError() callback.
|
DrmEvent |
A base class that is used to send asynchronous event information from the DRM framework.
|
DrmInfo |
An entity class that describes the information required to send transactions between a device and an online DRM server.
|
DrmInfoEvent |
An entity class that is passed to the onInfo() callback.
|
DrmInfoRequest |
An entity class that is used to pass information to an online DRM server.
|
DrmInfoStatus |
An entity class that wraps the result of communication between a device and an online DRM server.
|
DrmManagerClient |
The main programming interface for the DRM framework.
|
DrmRights |
An entity class that wraps the license information retrieved from the online DRM server.
|
DrmStore |
Defines constants that are used by the DRM framework.
|
DrmSupportInfo |
An entity class that wraps the capability of each DRM plug-in (agent), such as the MIME type and file suffix the DRM plug-in can handle.
|
DrmUtils |
A utility class that provides operations for parsing extended metadata embedded in DRM constraint information.
|
ProcessedData |
An entity class that wraps the result of a processDrmInfo() transaction between a device and a DRM server.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.drm\n===========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/drm/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| [OnErrorListener](/reference/kotlin/android/drm/DrmManagerClient.OnErrorListener) | Interface definition for a callback that receives information about DRM framework errors. |\n| [OnEventListener](/reference/kotlin/android/drm/DrmManagerClient.OnEventListener) | Interface definition for a callback that receives information about DRM processing events. |\n| [OnInfoListener](/reference/kotlin/android/drm/DrmManagerClient.OnInfoListener) | Interface definition for a callback that receives status messages and warnings during registration and rights acquisition. |\n| [ConstraintsColumns](/reference/kotlin/android/drm/DrmStore.ConstraintsColumns) | Interface definition for the columns that represent DRM constraints. |\n\nClasses\n-------\n\n|------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DrmConvertedStatus](/reference/kotlin/android/drm/DrmConvertedStatus) | An entity class that wraps converted data, conversion status, and the offset for appending the header and body signature to the converted data. |\n| [DrmErrorEvent](/reference/kotlin/android/drm/DrmErrorEvent) | An entity class that is passed to the [onError()](/reference/kotlin/android/drm/DrmManagerClient.OnErrorListener#onError(android.drm.DrmManagerClient,%20android.drm.DrmErrorEvent)) callback. |\n| [DrmEvent](/reference/kotlin/android/drm/DrmEvent) | A base class that is used to send asynchronous event information from the DRM framework. |\n| [DrmInfo](/reference/kotlin/android/drm/DrmInfo) | An entity class that describes the information required to send transactions between a device and an online DRM server. |\n| [DrmInfoEvent](/reference/kotlin/android/drm/DrmInfoEvent) | An entity class that is passed to the [onInfo()](/reference/kotlin/android/drm/DrmManagerClient.OnInfoListener#onInfo(android.drm.DrmManagerClient,%20android.drm.DrmInfoEvent)) callback. |\n| [DrmInfoRequest](/reference/kotlin/android/drm/DrmInfoRequest) | An entity class that is used to pass information to an online DRM server. |\n| [DrmInfoStatus](/reference/kotlin/android/drm/DrmInfoStatus) | An entity class that wraps the result of communication between a device and an online DRM server. |\n| [DrmManagerClient](/reference/kotlin/android/drm/DrmManagerClient) | The main programming interface for the DRM framework. |\n| [DrmRights](/reference/kotlin/android/drm/DrmRights) | An entity class that wraps the license information retrieved from the online DRM server. |\n| [DrmStore](/reference/kotlin/android/drm/DrmStore) | Defines constants that are used by the DRM framework. |\n| [DrmSupportInfo](/reference/kotlin/android/drm/DrmSupportInfo) | An entity class that wraps the capability of each DRM plug-in (agent), such as the MIME type and file suffix the DRM plug-in can handle. |\n| [DrmUtils](/reference/kotlin/android/drm/DrmUtils) | A utility class that provides operations for parsing extended metadata embedded in DRM constraint information. |\n| [ProcessedData](/reference/kotlin/android/drm/ProcessedData) | An entity class that wraps the result of a [processDrmInfo()](/reference/kotlin/android/drm/DrmManagerClient#processDrmInfo(android.drm.DrmInfo)) transaction between a device and a DRM server. |"]]