DrmManagerClient.IOnErrorListener.OnError Method

Definition

Called when the DRM framework sends error information.

[Android.Runtime.Register("onError", "(Landroid/drm/DrmManagerClient;Landroid/drm/DrmErrorEvent;)V", "GetOnError_Landroid_drm_DrmManagerClient_Landroid_drm_DrmErrorEvent_Handler:Android.Drm.DrmManagerClient/IOnErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnError (Android.Drm.DrmManagerClient? client, Android.Drm.DrmErrorEvent? e);
[<Android.Runtime.Register("onError", "(Landroid/drm/DrmManagerClient;Landroid/drm/DrmErrorEvent;)V", "GetOnError_Landroid_drm_DrmManagerClient_Landroid_drm_DrmErrorEvent_Handler:Android.Drm.DrmManagerClient/IOnErrorListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnError : Android.Drm.DrmManagerClient * Android.Drm.DrmErrorEvent -> unit

Parameters

client
DrmManagerClient

The DrmManagerClient instance.

e
DrmErrorEvent

The DrmErrorEvent instance that wraps the error type and message.

Attributes

Remarks

Called when the DRM framework sends error information.

Java documentation for android.drm.DrmManagerClient.OnErrorListener.onError(android.drm.DrmManagerClient, android.drm.DrmErrorEvent).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to