Udostępnij za pośrednictwem


IRecognitionListener.OnRmsChanged(Single) Method

Definition

The sound level in the audio stream has changed.

[Android.Runtime.Register("onRmsChanged", "(F)V", "GetOnRmsChanged_FHandler:Android.Speech.IRecognitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnRmsChanged (float rmsdB);
[<Android.Runtime.Register("onRmsChanged", "(F)V", "GetOnRmsChanged_FHandler:Android.Speech.IRecognitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnRmsChanged : single -> unit

Parameters

rmsdB
Single

the new RMS dB value

Attributes

Remarks

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

Java documentation for android.speech.RecognitionListener.onRmsChanged(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