Udostępnij za pośrednictwem


JetPlayer.IOnJetEventListener.OnJetEvent Method

Definition

Callback for when the JET engine generates a new event.

[Android.Runtime.Register("onJetEvent", "(Landroid/media/JetPlayer;SBBBB)V", "GetOnJetEvent_Landroid_media_JetPlayer_SBBBBHandler:Android.Media.JetPlayer/IOnJetEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnJetEvent (Android.Media.JetPlayer? player, short segment, sbyte track, sbyte channel, sbyte controller, sbyte value);
[<Android.Runtime.Register("onJetEvent", "(Landroid/media/JetPlayer;SBBBB)V", "GetOnJetEvent_Landroid_media_JetPlayer_SBBBBHandler:Android.Media.JetPlayer/IOnJetEventListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnJetEvent : Android.Media.JetPlayer * int16 * sbyte * sbyte * sbyte * sbyte -> unit

Parameters

player
JetPlayer

the JET player the event is coming from

segment
Int16

8 bit unsigned value

track
SByte

6 bit unsigned value

channel
SByte

4 bit unsigned value

controller
SByte

7 bit unsigned value

value
SByte

7 bit unsigned value

Attributes

Remarks

Callback for when the JET engine generates a new event.

Java documentation for android.media.JetPlayer.OnJetEventListener.onJetEvent(android.media.JetPlayer, short, byte, byte, byte, 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