VoiceCommandServiceConnection.ReportProgressAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportProgressAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportProgressAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportProgressAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportProgressAsync(VoiceCommandResponse) Method

Definition

Sends a response to Cortana indicating voice command is being processed.

public : IAsyncAction ReportProgressAsync(VoiceCommandResponse response)
IAsyncAction ReportProgressAsync(VoiceCommandResponse response) const;
public IAsyncAction ReportProgressAsync(VoiceCommandResponse response)
Public Function ReportProgressAsync(response As VoiceCommandResponse) As IAsyncAction
Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection.reportProgressAsync(response).done( /* Your success and error handlers */ );

Parameters

response
VoiceCommandResponse VoiceCommandResponse VoiceCommandResponse

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

Returns

An asynchronous handler called when the operation is complete.

Remarks

Cortana presents the progress screen to the user for up to 5 seconds. The background app service send another progress message by calling ReportProgressAsync again, or move to the next screen in the interaction flow (confirmation, disambiguation, or completion).

See also