Added in API level 11
Deprecated in API level 30

OnErrorListener


interface OnErrorListener
android.drm.DrmManagerClient.OnErrorListener

Interface definition for a callback that receives information about DRM framework errors.

Summary

Public methods
abstract Unit

Called when the DRM framework sends error information.

Public methods

onError

Added in API level 11
abstract fun onError(
    client: DrmManagerClient!,
    event: DrmErrorEvent!
): Unit

Deprecated: Deprecated in Java.

Called when the DRM framework sends error information.

Parameters
client DrmManagerClient!: The DrmManagerClient instance.
event DrmErrorEvent!: The DrmErrorEvent instance that wraps the error type and message.