RecognitionPart.Builder.SetTimestampMillis(Int64) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果请求了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
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。