语言

RecognitionPart.Builder.SetTimestampMillis(Int64) 方法

定义

如果请求了RecognizerIntent.EXTRA_REQUEST_WORD_TIMING,则此部分开头的非负偏移量(以毫秒为单位)。

[Android.Runtime.Register("setTimestampMillis", "(J)Landroid/speech/RecognitionPart$Builder;", "", ApiSince=34)]
public Android.Speech.RecognitionPart.Builder SetTimestampMillis(long value);
[<Android.Runtime.Register("setTimestampMillis", "(J)Landroid/speech/RecognitionPart$Builder;", "", ApiSince=34)>]
member this.SetTimestampMillis : int64 -> Android.Speech.RecognitionPart.Builder

参数

value
Int64

从识别会话开始部分开始的非负偏移量(以毫秒为单位)。

返回

此生成器。

特性

注解

如果请求了RecognizerIntent.EXTRA_REQUEST_WORD_TIMING,则此部分开头的非负偏移量(以毫秒为单位)。

否则,这应等于 0。

Android 参考。android.speech.RecognitionPart.Builder.setTimestampMillis

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

适用于