Condividi tramite


RecognitionService.Callback.RmsChanged(Single) Method

Definition

The service should call this method when the sound level in the audio stream has changed.

[Android.Runtime.Register("rmsChanged", "(F)V", "GetRmsChanged_FHandler")]
public virtual void RmsChanged (float rmsdB);
[<Android.Runtime.Register("rmsChanged", "(F)V", "GetRmsChanged_FHandler")>]
abstract member RmsChanged : single -> unit
override this.RmsChanged : single -> unit

Parameters

rmsdB
Single

the new RMS dB value

Attributes

Exceptions

Remarks

The service should call this method when the sound level in the audio stream has changed. There is no guarantee that this method will be called.

Java documentation for android.speech.RecognitionService.Callback.rmsChanged(float).

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