VoiceCommandServiceConnection.RequestConfirmationAsync 方法

定义

Cortana 发送响应,指示语音命令需要确认。

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

参数

response
VoiceCommandResponse

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

返回

包含用户响应的 VoiceCommandConfirmationResult 对象。

属性

适用于

另请参阅