Android.Media.MediaDrm.IOnEventListener.OnEvent Method
Called when an event occurs that requires the app to be notified

Syntax

[Android.Runtime.Register("onEvent", "(Landroid/media/MediaDrm;[BII[B)V", "GetOnEvent_Landroid_media_MediaDrm_arrayBIIarrayBHandler:Android.Media.MediaDrm/IOnEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnEvent (MediaDrm md, byte[] sessionId, [Android.Runtime.GeneratedEnum] MediaDrmEventType e, int extra, byte[] data)

Parameters

md
the MediaDrm object on which the event occurred
sessionId
the DRM session ID on which the event occurred
e
indicates the event type
extra
an secondary error code
data
optional byte array of data that may be associated with the event

Remarks

Called when an event occurs that requires the app to be notified

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18