Visualizer.SetScalingMode(VisualizerScalingMode) Method

Definition

Set the type of scaling applied on the captured visualization data.

[Android.Runtime.Register("setScalingMode", "(I)I", "GetSetScalingMode_IHandler")]
public virtual int SetScalingMode (Android.Media.Audiofx.VisualizerScalingMode mode);
[<Android.Runtime.Register("setScalingMode", "(I)I", "GetSetScalingMode_IHandler")>]
abstract member SetScalingMode : Android.Media.Audiofx.VisualizerScalingMode -> int
override this.SetScalingMode : Android.Media.Audiofx.VisualizerScalingMode -> int

Parameters

mode
VisualizerScalingMode

see #SCALING_MODE_NORMALIZED and #SCALING_MODE_AS_PLAYED

Returns

#SUCCESS in case of success, #ERROR_BAD_VALUE in case of failure.

Attributes

Exceptions

Remarks

Set the type of scaling applied on the captured visualization data.

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