VoiceCommandUserMessage
VoiceCommandUserMessage
VoiceCommandUserMessage
VoiceCommandUserMessage
Class
Definition
The message that is spoken by Cortana and shown on the Cortana canvas.
This message should be:
- An informative statement on progress, completion, and error screens (see ReportProgressAsync, ReportSuccessAsync, ReportFailureAsync ).
- An unambiguous question that can be answered with either yes or no on confirmation screens (see RequestConfirmationAsync ).
- A request for the user to select from the list of choices presented on disambiguation screens (see RequestDisambiguationAsync ).
public : sealed class VoiceCommandUserMessage : IVoiceCommandUserMessagepublic sealed class VoiceCommandUserMessage : IVoiceCommandUserMessagePublic NotInheritable Class VoiceCommandUserMessage Implements IVoiceCommandUserMessage// 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)
|
Constructors
VoiceCommandUserMessage() VoiceCommandUserMessage() VoiceCommandUserMessage() VoiceCommandUserMessage()
Creates an instance of the VoiceCommandUserMessage class.
public : VoiceCommandUserMessage()public VoiceCommandUserMessage()Public Sub New()// You can use this method in JavaScript.
- See Also
Properties
DisplayMessage DisplayMessage DisplayMessage DisplayMessage
Gets or sets the message that is shown on the Cortana canvas.
public : PlatForm::String DisplayMessage { get; set; }public string DisplayMessage { get; set; }Public ReadWrite Property DisplayMessage As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
- An informative statement on progress, completion, and error screens (see ReportProgressAsync, ReportSuccessAsync, ReportFailureAsync ).
- An unambiguous question that can be answered with either yes or no on confirmation screens (see RequestConfirmationAsync ).
- A request for the user to select from the list of choices presented on disambiguation screens (see RequestDisambiguationAsync ).
- See Also
SpokenMessage SpokenMessage SpokenMessage SpokenMessage
The message that is spoken by Cortana.
public : PlatForm::String SpokenMessage { get; set; }public string SpokenMessage { get; set; }Public ReadWrite Property SpokenMessage As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
- An informative statement on progress, completion, and error screens (see ReportProgressAsync, ReportSuccessAsync, ReportFailureAsync ).
- An unambiguous question that can be answered with either yes or no on confirmation screens (see RequestConfirmationAsync ).
- A request for the user to select from the list of choices presented on disambiguation screens (see RequestDisambiguationAsync ).
- See Also