VoiceCommandServiceConnection.RequestConfirmationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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