JetPlayer.SetMuteFlag(Int32, Boolean, Boolean) Method

Definition

Mutes or unmutes a single track.

[Android.Runtime.Register("setMuteFlag", "(IZZ)Z", "GetSetMuteFlag_IZZHandler")]
public virtual bool SetMuteFlag (int trackId, bool muteFlag, bool sync);
[<Android.Runtime.Register("setMuteFlag", "(IZZ)Z", "GetSetMuteFlag_IZZHandler")>]
abstract member SetMuteFlag : int * bool * bool -> bool
override this.SetMuteFlag : int * bool * bool -> bool

Parameters

trackId
Int32

the index of the track to mute.

muteFlag
Boolean

set to true to mute, false to unmute.

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 flag will be updated at the start of the next segment. If the segment is repeated, the flag will take effect the next time segment is repeated.

Returns

true if the mute flag was successfully updated, false otherwise.

Attributes

Remarks

Mutes or unmutes a single track.

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