Share via


IRecognitionListener.OnPartialResults(Bundle) Method

Definition

Called when partial recognition results are available.

[Android.Runtime.Register("onPartialResults", "(Landroid/os/Bundle;)V", "GetOnPartialResults_Landroid_os_Bundle_Handler:Android.Speech.IRecognitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnPartialResults (Android.OS.Bundle? partialResults);
[<Android.Runtime.Register("onPartialResults", "(Landroid/os/Bundle;)V", "GetOnPartialResults_Landroid_os_Bundle_Handler:Android.Speech.IRecognitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnPartialResults : Android.OS.Bundle -> unit

Parameters

partialResults
Bundle

the returned results. To retrieve the results in ArrayList&lt;String&gt; format use Bundle#getStringArrayList(String) with SpeechRecognizer#RESULTS_RECOGNITION as a parameter

Attributes

Remarks

Called when partial recognition results are available. The callback might be called at any time between #onBeginningOfSpeech() and #onResults(Bundle) when partial results are ready. This method may be called zero, one or multiple times for each call to SpeechRecognizer#startListening(Intent), depending on the speech recognition service implementation. To request partial results, use RecognizerIntent#EXTRA_PARTIAL_RESULTS

Java documentation for android.speech.RecognitionListener.onPartialResults(android.os.Bundle).

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