Dela via


DrmManagerClient.SetOnEventListener(DrmManagerClient+IOnEventListener) Method

Definition

Registers an DrmManagerClient.OnEventListener callback, which is invoked when the DRM framework sends information about DRM processing.

[Android.Runtime.Register("setOnEventListener", "(Landroid/drm/DrmManagerClient$OnEventListener;)V", "GetSetOnEventListener_Landroid_drm_DrmManagerClient_OnEventListener_Handler")]
public virtual void SetOnEventListener (Android.Drm.DrmManagerClient.IOnEventListener? eventListener);
[<Android.Runtime.Register("setOnEventListener", "(Landroid/drm/DrmManagerClient$OnEventListener;)V", "GetSetOnEventListener_Landroid_drm_DrmManagerClient_OnEventListener_Handler")>]
abstract member SetOnEventListener : Android.Drm.DrmManagerClient.IOnEventListener -> unit
override this.SetOnEventListener : Android.Drm.DrmManagerClient.IOnEventListener -> unit

Parameters

eventListener
DrmManagerClient.IOnEventListener

Interface definition for the callback.

Attributes

Remarks

Java documentation for android.drm.DrmManagerClient.setOnEventListener(android.drm.OnEventListener).

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