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

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

属性

注解

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

适用于 . 的 android.speech.RecognitionService.Callback.segmentResults(android.os.Bundle)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于