Condividi tramite


JetPlayer.SetMuteFlags(Int32, Boolean) Method

Definition

Modifies the mute flags.

[Android.Runtime.Register("setMuteFlags", "(IZ)Z", "GetSetMuteFlags_IZHandler")]
public virtual bool SetMuteFlags (int muteFlags, bool sync);
[<Android.Runtime.Register("setMuteFlags", "(IZ)Z", "GetSetMuteFlags_IZHandler")>]
abstract member SetMuteFlags : int * bool -> bool
override this.SetMuteFlags : int * bool -> bool

Parameters

muteFlags
Int32

a bitmask to specify which MIDI tracks are muted. Bit 0 affects track 0, bit 1 affects track 1 etc.

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.

Java documentation for android.media.JetPlayer.setMuteFlags(int, 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