Partager via


SoundPool.Builder Constructors

Definition

Overloads

SoundPool.Builder()

Constructs a new Builder with the defaults format values.

SoundPool.Builder(IntPtr, JniHandleOwnership)

SoundPool.Builder()

Constructs a new Builder with the defaults format values.

[Android.Runtime.Register(".ctor", "()V", "")]
public Builder ();
Attributes

Remarks

Constructs a new Builder with the defaults format values. If not provided, the maximum number of streams is 1 (see #setMaxStreams(int) to change it), and the audio attributes have a usage value of AudioAttributes#USAGE_MEDIA (see #setAudioAttributes(AudioAttributes) to change them).

Java documentation for android.media.SoundPool.Builder.SoundPool$Builder().

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

SoundPool.Builder(IntPtr, JniHandleOwnership)

protected Builder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.SoundPool.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.SoundPool.Builder

Parameters

javaReference
IntPtr

nativeint

Remarks

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