Språk

SoundPool.Builder Constructors

Definition

Overloads

Name Description
SoundPool.Builder()

Constructs a new Builder with the defaults format values.

SoundPool.Builder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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)

Creates a managed instance that represents an existing Java object.

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

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

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