Sdílet prostřednictvím


Visualizer.GetMeasurementPeakRms(Visualizer+MeasurementPeakRms) Method

Definition

Retrieves the latest peak and RMS measurement.

[Android.Runtime.Register("getMeasurementPeakRms", "(Landroid/media/audiofx/Visualizer$MeasurementPeakRms;)I", "GetGetMeasurementPeakRms_Landroid_media_audiofx_Visualizer_MeasurementPeakRms_Handler")]
public virtual int GetMeasurementPeakRms (Android.Media.Audiofx.Visualizer.MeasurementPeakRms? measurement);
[<Android.Runtime.Register("getMeasurementPeakRms", "(Landroid/media/audiofx/Visualizer$MeasurementPeakRms;)I", "GetGetMeasurementPeakRms_Landroid_media_audiofx_Visualizer_MeasurementPeakRms_Handler")>]
abstract member GetMeasurementPeakRms : Android.Media.Audiofx.Visualizer.MeasurementPeakRms -> int
override this.GetMeasurementPeakRms : Android.Media.Audiofx.Visualizer.MeasurementPeakRms -> int

Parameters

measurement
Visualizer.MeasurementPeakRms

a non-null Visualizer.MeasurementPeakRms instance to store the measurement values.

Returns

#SUCCESS in case of success, #ERROR_BAD_VALUE, #ERROR_NO_MEMORY, #ERROR_INVALID_OPERATION or #ERROR_DEAD_OBJECT in case of failure.

Attributes

Remarks

Java documentation for android.media.audiofx.Visualizer.getMeasurementPeakRms(android.media.audiofx.MeasurementPeakRms).

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