Share via


AudioManager.SetStreamSolo(Stream, Boolean) Method

Definition

Solo or unsolo a particular stream.

[Android.Runtime.Register("setStreamSolo", "(IZ)V", "GetSetStreamSolo_IZHandler")]
public virtual void SetStreamSolo (Android.Media.Stream streamType, bool state);
[<Android.Runtime.Register("setStreamSolo", "(IZ)V", "GetSetStreamSolo_IZHandler")>]
abstract member SetStreamSolo : Android.Media.Stream * bool -> unit
override this.SetStreamSolo : Android.Media.Stream * bool -> unit

Parameters

streamType
Stream

The stream to be soloed/unsoloed.

state
Boolean

The required solo state: true for solo ON, false for solo OFF

Attributes

Remarks

Solo or unsolo a particular stream.

Do not use. This method has been deprecated and is now a no-op. #requestAudioFocus should be used for exclusive audio playback.

This member is deprecated. Do not use. If you need exclusive audio playback use #requestAudioFocus.

Java documentation for android.media.AudioManager.setStreamSolo(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

See also