Lingua

SoundPool.Builder.SetMaxStreams(Int32) Method

Definition

Sets the maximum of number of simultaneous streams that can be played simultaneously.

[Android.Runtime.Register("setMaxStreams", "(I)Landroid/media/SoundPool$Builder;", "GetSetMaxStreams_IHandler")]
public virtual Android.Media.SoundPool.Builder? SetMaxStreams(int maxStreams);
[<Android.Runtime.Register("setMaxStreams", "(I)Landroid/media/SoundPool$Builder;", "GetSetMaxStreams_IHandler")>]
abstract member SetMaxStreams : int -> Android.Media.SoundPool.Builder
override this.SetMaxStreams : int -> Android.Media.SoundPool.Builder

Parameters

maxStreams
Int32

a value equal to 1 or greater.

Returns

the same Builder instance

Attributes

Remarks

Sets the maximum of number of simultaneous streams that can be played simultaneously.

Android reference for android.media.SoundPool.Builder.setMaxStreams.

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