Stay organized with collections
Save and categorize content based on your preferences.
ProcessedData
open class ProcessedData
An entity class that wraps the result of a processDrmInfo()
transaction between a device and a DRM server. In a license acquisition scenario this class holds the rights information in binary form.
Summary
Public methods |
open String! |
Retrieves the account ID associated with this object.
|
open ByteArray! |
Retrieves the processed data.
|
open String! |
Returns the subscription ID associated with this object.
|
Public methods
getAccountId
open fun getAccountId(): String!
Deprecated: Deprecated in Java.
Retrieves the account ID associated with this object.
Return |
String! |
The account ID of the user. |
getData
open fun getData(): ByteArray!
Deprecated: Deprecated in Java.
Retrieves the processed data.
getSubscriptionId
open fun getSubscriptionId(): String!
Deprecated: Deprecated in Java.
Returns the subscription ID associated with this object.
Return |
String! |
The subscription ID of the user. |
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,["# ProcessedData\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nProcessedData\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/drm/ProcessedData \"View this page in Java\") \n\n```\nopen class ProcessedData\n```\n\n|---|--------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.drm.ProcessedData](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 30.**\n|\n| Please use [android.media.MediaDrm](../media/MediaDrm.html#)\n\nAn 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. In a license acquisition scenario this class holds the rights information in binary form.\n\nSummary\n-------\n\n| Public methods ||\n|-----------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [getAccountId](#getAccountId())`()` Retrieves the account ID associated with this object. |\n| open [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)! | [getData](#getData())`()` Retrieves the processed data. |\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [getSubscriptionId](#getSubscriptionId())`()` Returns the subscription ID associated with this object. |\n\nPublic methods\n--------------\n\n### getAccountId\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getAccountId(): String!\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nRetrieves the account ID associated with this object.\n\n| Return ||\n|-----------------------------------------------------------------------------------|-----------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | The account ID of the user. |\n\n### getData\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getData(): ByteArray!\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nRetrieves the processed data.\n\n| Return ||\n|------------------------------------------------------------------------------------------|------------------|\n| [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)! | The rights data. |\n\n### getSubscriptionId\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getSubscriptionId(): String!\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nReturns the subscription ID associated with this object.\n\n| Return ||\n|-----------------------------------------------------------------------------------|----------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | The subscription ID of the user. |"]]