Added in API level 11
Deprecated in API level 30

OnEventListener


interface OnEventListener
android.drm.DrmManagerClient.OnEventListener

Interface definition for a callback that receives information about DRM processing events.

Summary

Public methods
abstract Unit
onEvent(client: DrmManagerClient!, event: DrmEvent!)

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
abstract fun onEvent(
    client: DrmManagerClient!,
    event: DrmEvent!
): Unit

Deprecated: Deprecated in Java.

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.