다음을 통해 공유


MediaCas.IEventListener.OnEvent(MediaCas, Int32, Int32, Byte[]) Method

Definition

Notify the listener of a scheme-specific event from the CA system.

[Android.Runtime.Register("onEvent", "(Landroid/media/MediaCas;II[B)V", "GetOnEvent_Landroid_media_MediaCas_IIarrayBHandler:Android.Media.MediaCas/IEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public void OnEvent (Android.Media.MediaCas mediaCas, int e, int arg, byte[]? data);
[<Android.Runtime.Register("onEvent", "(Landroid/media/MediaCas;II[B)V", "GetOnEvent_Landroid_media_MediaCas_IIarrayBHandler:Android.Media.MediaCas/IEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member OnEvent : Android.Media.MediaCas * int * int * byte[] -> unit

Parameters

mediaCas
MediaCas

the MediaCas object to receive this event.

e
Int32
arg
Int32

an integer whose meaning is scheme-specific.

data
Byte[]

a byte array of data whose format and meaning are scheme-specific.

Attributes

Remarks

Notify the listener of a scheme-specific event from the CA system.

Java documentation for android.media.MediaCas.EventListener.onEvent(android.media.MediaCas, int, int, byte[]).

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