JetPlayer.SetMuteArray(Boolean[], Boolean) Method

Definition

Modifies the mute flags for the current active segment.

[Android.Runtime.Register("setMuteArray", "([ZZ)Z", "GetSetMuteArray_arrayZZHandler")]
public virtual bool SetMuteArray (bool[]? muteArray, bool sync);
[<Android.Runtime.Register("setMuteArray", "([ZZ)Z", "GetSetMuteArray_arrayZZHandler")>]
abstract member SetMuteArray : bool[] * bool -> bool
override this.SetMuteArray : bool[] * bool -> bool

Parameters

muteArray
Boolean[]

an array of booleans to specify which MIDI tracks are muted. The value at index 0 affects track 0, value at index 1 affects track 1 etc. The length of the array must be #getMaxTracks() for the call to succeed.

sync
Boolean

if false, the new mute flags will be applied as soon as possible by the JET render and playback engine. If true, the mute flags will be updated at the start of the next segment. If the segment is repeated, the flags will take effect the next time segment is repeated.

Returns

true if the mute flags were successfully updated, false otherwise.

Attributes

Remarks

Modifies the mute flags for the current active segment.

Java documentation for android.media.JetPlayer.setMuteArray(boolean[], boolean).

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