Sdílet prostřednictvím


RecognitionService.Callback.SegmentResults(Bundle) Method

Definition

The service should call this method for each ready segment of a long recognition session.

[Android.Runtime.Register("segmentResults", "(Landroid/os/Bundle;)V", "GetSegmentResults_Landroid_os_Bundle_Handler", ApiSince=33)]
public virtual void SegmentResults (Android.OS.Bundle results);
[<Android.Runtime.Register("segmentResults", "(Landroid/os/Bundle;)V", "GetSegmentResults_Landroid_os_Bundle_Handler", ApiSince=33)>]
abstract member SegmentResults : Android.OS.Bundle -> unit
override this.SegmentResults : 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

Remarks

The service should call this method for each ready segment of a long recognition session.

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