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.