VoiceCommandConfirmationResult
VoiceCommandConfirmationResult
VoiceCommandConfirmationResult
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 : sealed class VoiceCommandConfirmationResult : IVoiceCommandConfirmationResultpublic sealed class VoiceCommandConfirmationResult : IVoiceCommandConfirmationResultPublic NotInheritable Class VoiceCommandConfirmationResult Implements IVoiceCommandConfirmationResult// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Access the VoiceCommandConfirmationResult object by calling RequestConfirmationAsync on a VoiceCommandServiceConnection that references the appropriate Windows.ApplicationModel.AppService object.
Properties
Confirmed Confirmed Confirmed Confirmed
Gets the response to the question specified by the background app and shown on the Cortana confirmation screen.
public : PlatForm::Boolean Confirmed { get; }public bool Confirmed { get; }Public ReadOnly Property Confirmed As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true when the user responds with "Yes", false when the user responds with "No".
- See Also