Visualizer.SetMeasurementMode(VisualizerMeasurementMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.