语言

RecognitionService.Callback.SegmentResults(Bundle) 方法

定义

服务应针对长识别会话的每个就绪段调用此方法。

[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

参数

results
Bundle

识别结果。 以格式ArrayList<String>Bundle#getStringArrayList(String)检索用作参数的结果SpeechRecognizer#RESULTS_RECOGNITION

特性

注解

服务应针对长识别会话的每个就绪段调用此方法。

Java文档android.speech.RecognitionService.Callback.segmentResults(android.os.Bundle)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于