Added in API level 11
Deprecated in API level 30

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

Added in API level 12
Deprecated in API level 30
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.