语言

VoiceInteractionSession.CommandRequest.SendIntermediateResult(Bundle) 方法

定义

报告请求的中间结果,而不完成该请求(请求仍然处于活动状态,并且应用正在等待最终结果),导致对 isCompleted 的调用 android.app.VoiceInteractor.CommandRequest#onCommandResult VoiceInteractor.CommandRequest.onCommandResult 为 false。

[Android.Runtime.Register("sendIntermediateResult", "(Landroid/os/Bundle;)V", "", ApiSince=23)]
public void SendIntermediateResult(Android.OS.Bundle? result);
[<Android.Runtime.Register("sendIntermediateResult", "(Landroid/os/Bundle;)V", "", ApiSince=23)>]
member this.SendIntermediateResult : Android.OS.Bundle -> unit

参数

result
Bundle

中间结果数据。 发送此结果不会完成请求。

特性

注解

报告请求的中间结果,而不完成该请求(请求仍然处于活动状态,并且应用正在等待最终结果),导致对 isCompleted 的调用 android.app.VoiceInteractor.CommandRequest#onCommandResult VoiceInteractor.CommandRequest.onCommandResult 为 false。

Java文档android.service.voice.VoiceInteractionSession.CommandRequest.sendIntermediateResult(android.os.Bundle)。

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

适用于