Share via


Virtualizer.ForceVirtualizationMode(VirtualizationMode) Method

Definition

Forces the virtualizer effect to use the given processing mode.

[Android.Runtime.Register("forceVirtualizationMode", "(I)Z", "GetForceVirtualizationMode_IHandler")]
public virtual bool ForceVirtualizationMode (Android.Media.Audiofx.VirtualizationMode virtualizationMode);
[<Android.Runtime.Register("forceVirtualizationMode", "(I)Z", "GetForceVirtualizationMode_IHandler")>]
abstract member ForceVirtualizationMode : Android.Media.Audiofx.VirtualizationMode -> bool
override this.ForceVirtualizationMode : Android.Media.Audiofx.VirtualizationMode -> bool

Parameters

virtualizationMode
VirtualizationMode

one of #VIRTUALIZATION_MODE_BINAURAL, #VIRTUALIZATION_MODE_TRANSAURAL to force a particular processing mode, or #VIRTUALIZATION_MODE_AUTO to stop forcing a mode.

Returns

true if the processing mode is supported, and it is successfully set, or forcing was successfully disabled, false otherwise.

Attributes

Exceptions

Remarks

Forces the virtualizer effect to use the given processing mode. The effect must be enabled for the forced mode to be applied.

Java documentation for android.media.audiofx.Virtualizer.forceVirtualizationMode(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