VoiceCommandServiceConnection.ReportProgressAsync Method

Definition

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

public:
 virtual IAsyncAction ^ ReportProgressAsync(VoiceCommandResponse ^ response) = ReportProgressAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ReportProgressAsync(VoiceCommandResponse const& response);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ReportProgressAsync(VoiceCommandResponse response);
function reportProgressAsync(response)
Public Function ReportProgressAsync (response As VoiceCommandResponse) As IAsyncAction

Parameters

response
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.

Attributes

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).

Applies to

See also