Share via


VoiceCommandServiceConnection.RequestConfirmationAsync Method

Definition

Sends a response to Cortana indicating the voice command requires confirmation.

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)

Parameters

response
VoiceCommandResponse

The response from a background app service for progress, confirmation, disambiguation, completion, or failure screens displayed on the Cortana canvas.

Returns

The VoiceCommandConfirmationResult object with the user's response.

Attributes

Applies to

See also