VoiceCommandServiceConnection.RequestDisambiguationAsync 方法

定义

Cortana 发送响应,指示语音命令返回了多个结果,并要求用户选择一个结果。

public:
 virtual IAsyncOperation<VoiceCommandDisambiguationResult ^> ^ RequestDisambiguationAsync(VoiceCommandResponse ^ response) = RequestDisambiguationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VoiceCommandDisambiguationResult> RequestDisambiguationAsync(VoiceCommandResponse const& response);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VoiceCommandDisambiguationResult> RequestDisambiguationAsync(VoiceCommandResponse response);
function requestDisambiguationAsync(response)
Public Function RequestDisambiguationAsync (response As VoiceCommandResponse) As IAsyncOperation(Of VoiceCommandDisambiguationResult)

参数

response
VoiceCommandResponse

来自后台应用服务的响应,用于 在 Cortana 画布上显示的进度、确认、消除歧义、完成或失败屏幕。

返回

包含用户响应的 VoiceCommandDisambiguationResult 对象。

属性

适用于

另请参阅