Partager via


BassBoost Constructors

Definition

Overloads

BassBoost(Int32, Int32)

Class constructor.

BassBoost(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

BassBoost(Int32, Int32)

Class constructor.

[Android.Runtime.Register(".ctor", "(II)V", "")]
public BassBoost (int priority, int audioSession);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Media.Audiofx.BassBoost : int * int -> Android.Media.Audiofx.BassBoost

Parameters

priority
Int32

the priority level requested by the application for controlling the BassBoost engine. As the same engine can be shared by several applications, this parameter indicates how much the requesting application needs control of effect parameters. The normal priority is 0, above normal is a positive number, below normal a negative number.

audioSession
Int32

system wide unique audio session identifier. The BassBoost will be attached to the MediaPlayer or AudioTrack in the same audio session.

Attributes

Exceptions

Remarks

Class constructor.

Java documentation for android.media.audiofx.BassBoost.BassBoost(int, int).

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

BassBoost(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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