Sdílet prostřednictvím


Visualizer.SetMeasurementMode(VisualizerMeasurementMode) Method

Definition

Sets the combination of measurement modes to be performed by this audio effect.

[Android.Runtime.Register("setMeasurementMode", "(I)I", "GetSetMeasurementMode_IHandler")]
public virtual int SetMeasurementMode (Android.Media.Audiofx.VisualizerMeasurementMode mode);
[<Android.Runtime.Register("setMeasurementMode", "(I)I", "GetSetMeasurementMode_IHandler")>]
abstract member SetMeasurementMode : Android.Media.Audiofx.VisualizerMeasurementMode -> int
override this.SetMeasurementMode : Android.Media.Audiofx.VisualizerMeasurementMode -> int

Parameters

mode
VisualizerMeasurementMode

a mask of the measurements to perform. The valid values are #MEASUREMENT_MODE_NONE (to cancel any measurement) or #MEASUREMENT_MODE_PEAK_RMS.

Returns

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

Attributes

Exceptions

Remarks

Sets the combination of measurement modes to be performed by this audio effect.

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