SoundPool.Builder.SetMaxStreams(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.