Share via


VoiceCommandConfirmationResult Class

Definition

The response to the question specified by the background app and shown on the Cortana confirmation screen. This screen is displayed when the background app service calls RequestConfirmationAsync.

public ref class VoiceCommandConfirmationResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandConfirmationResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandConfirmationResult
Public NotInheritable Class VoiceCommandConfirmationResult
Inheritance
Object Platform::Object IInspectable VoiceCommandConfirmationResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Access the VoiceCommandConfirmationResult object by calling RequestConfirmationAsync on a VoiceCommandServiceConnection that references the appropriate Windows.ApplicationModel.AppService object.

Properties

Confirmed

Gets the response to the question specified by the background app and shown on the Cortana confirmation screen.

Applies to

See also