Stay organized with collections
Save and categorize content based on your preferences.
DrmManagerClient.OnEventListener
public
static
interface
DrmManagerClient.OnEventListener
android.drm.DrmManagerClient.OnEventListener
|
Interface definition for a callback that receives information
about DRM processing events.
Summary
Public methods |
abstract
void
|
onEvent(DrmManagerClient client, DrmEvent event)
Called when the DRM framework sends information about a DRM processing request.
|
Public methods
onEvent
public abstract void onEvent (DrmManagerClient client,
DrmEvent event)
Called when the DRM framework sends information about a DRM processing request.
Parameters |
client |
DrmManagerClient : The DrmManagerClient instance. |
event |
DrmEvent : The DrmEvent instance that wraps the information being
conveyed, such as the information type and message. |
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,["# DrmManagerClient.OnEventListener\n\nAdded in [API level 11](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nDeprecated in [API level\n30](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nDrmManagerClient.OnEventListener\n================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/drm/DrmManagerClient.OnEventListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nDrmManagerClient.OnEventListener\n`\n\n\n`\n\n\n`\n\n|----------------------------------------------|\n| android.drm.DrmManagerClient.OnEventListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface definition for a callback that receives information\nabout DRM processing events.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onEvent](/reference/android/drm/DrmManagerClient.OnEventListener#onEvent(android.drm.DrmManagerClient,%20android.drm.DrmEvent))`(`[DrmManagerClient](/reference/android/drm/DrmManagerClient)` client, `[DrmEvent](/reference/android/drm/DrmEvent)` event) ` Called when the DRM framework sends information about a DRM processing request. |\n\nPublic methods\n--------------\n\n### onEvent\n\nAdded in [API level 12](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nDeprecated in [API level\n30](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onEvent (DrmManagerClient client, \n DrmEvent event)\n```\n\nCalled when the DRM framework sends information about a DRM processing request.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `client` | `DrmManagerClient`: The `DrmManagerClient` instance. \u003cbr /\u003e |\n| `event` | `DrmEvent`: The [DrmEvent](/reference/android/drm/DrmEvent) instance that wraps the information being conveyed, such as the information type and message. \u003cbr /\u003e |"]]