lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 11

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.