Share via


RecognitionService.Callback.Results(Bundle) Method

Definition

The service should call this method when recognition results are ready.

[Android.Runtime.Register("results", "(Landroid/os/Bundle;)V", "GetResults_Landroid_os_Bundle_Handler")]
public virtual void Results (Android.OS.Bundle? results);
[<Android.Runtime.Register("results", "(Landroid/os/Bundle;)V", "GetResults_Landroid_os_Bundle_Handler")>]
abstract member Results : Android.OS.Bundle -> unit
override this.Results : Android.OS.Bundle -> unit

Parameters

results
Bundle

the recognition results. To retrieve the results in ArrayList<String> format use Bundle#getStringArrayList(String) with SpeechRecognizer#RESULTS_RECOGNITION as a parameter

Attributes

Exceptions

Remarks

The service should call this method when recognition results are ready.

Java documentation for android.speech.RecognitionService.Callback.results(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