다음을 통해 공유


DrmManagerClient.IOnEventListener.OnEvent(DrmManagerClient, DrmEvent) Method

Definition

Called when the DRM framework sends information about a DRM processing request.

[Android.Runtime.Register("onEvent", "(Landroid/drm/DrmManagerClient;Landroid/drm/DrmEvent;)V", "GetOnEvent_Landroid_drm_DrmManagerClient_Landroid_drm_DrmEvent_Handler:Android.Drm.DrmManagerClient/IOnEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnEvent (Android.Drm.DrmManagerClient? client, Android.Drm.DrmEvent? e);
[<Android.Runtime.Register("onEvent", "(Landroid/drm/DrmManagerClient;Landroid/drm/DrmEvent;)V", "GetOnEvent_Landroid_drm_DrmManagerClient_Landroid_drm_DrmEvent_Handler:Android.Drm.DrmManagerClient/IOnEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnEvent : Android.Drm.DrmManagerClient * Android.Drm.DrmEvent -> unit

Parameters

client
DrmManagerClient

The DrmManagerClient instance.

e
DrmEvent

The DrmEvent instance that wraps the information being conveyed, such as the information type and message.

Attributes

Remarks

Called when the DRM framework sends information about a DRM processing request.

Java documentation for android.drm.DrmManagerClient.OnEventListener.onEvent(android.drm.DrmManagerClient, android.drm.DrmEvent).

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