Added in API level 11
Deprecated in API level 30

DrmManagerClient.OnErrorListener


public static interface DrmManagerClient.OnErrorListener

android.drm.DrmManagerClient.OnErrorListener


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

Summary

Public methods

abstract void onError(DrmManagerClient client, DrmErrorEvent event)

Called when the DRM framework sends error information.

Public methods

onError

Added in API level 11
public abstract void onError (DrmManagerClient client, 
                DrmErrorEvent event)

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.