Share via


JetPlayer.TriggerClip(Int32) Method

Definition

Schedules the playback of a clip.

[Android.Runtime.Register("triggerClip", "(I)Z", "GetTriggerClip_IHandler")]
public virtual bool TriggerClip (int clipId);
[<Android.Runtime.Register("triggerClip", "(I)Z", "GetTriggerClip_IHandler")>]
abstract member TriggerClip : int -> bool
override this.TriggerClip : int -> bool

Parameters

clipId
Int32

the identifier of the clip to trigger.

Returns

true if the clip was successfully triggered, false otherwise.

Attributes

Remarks

Schedules the playback of a clip. This will automatically update the mute flags in sync with the JET Clip Marker (controller 103). The parameter clipID must be in the range of 0-63. After the call to triggerClip, when JET next encounters a controller event 103 with bits 0-5 of the value equal to clipID and bit 6 set to 1, it will automatically unmute the track containing the controller event. When JET encounters the complementary controller event 103 with bits 0-5 of the value equal to clipID and bit 6 set to 0, it will mute the track again.

Java documentation for android.media.JetPlayer.triggerClip(int).

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