Which four actions should you perform in sequence?

DRAG DROP
You are building a Universal Windows Platform (UWP) app.
You need to ensure that users can start the app by using voice command in Cortana.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of
actions to the answer area and arrange them in the correct order.
Select and Place:

DRAG DROP
You are building a Universal Windows Platform (UWP) app.
You need to ensure that users can start the app by using voice command in Cortana.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of
actions to the answer area and arrange them in the correct order.
Select and Place:

Answer:

Explanation:
These are the basic steps to add voice-command functionality and integrate Cortana with your app using
speech or keyboard input:
1. Create a VCD file. This is an XML document that defines all the spoken commands that the user can say to
initiate actions or invoke commands when activating your app.
2. Register the command sets in the VCD file when the app is launched.
3. Handle the activation-by-voice-command, navigation within the app, and execution of the command.
Box 1: Create a VCD file. This is an XML document that defines all the spoken commands that the user can
say to initiate actions or invoke commands when activating your app.
Box 2: Register the command sets in the VCD file when the app is launched.
Here’s an example that shows how to install the commands specified by a VCD file (vcd.xml).
C#
var storageFile =
await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(
new Uri(“ms-appx:///AdventureWorksCommands.xml”));
await
Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager.
InstallCommandDefinitionsFromStorageFileAsync(storageFile);
Box 3:
Once your app has been launched and the voice command sets installed, specify how your app responds to
subsequent voice command activations.Example:
protected override void OnActivated(IActivatedEventArgs e)
{
// Was the app activated by a voice command?
if (e.Kind != Windows.ApplicationModel.Activation.ActivationKind.VoiceCommand)
{
return;
}
Etc.

https://msdn.microsoft.com/en-us/library/windows/apps/mt185609.aspx



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Lord vader

Lord vader

See op response. Seems correct

Lord Vader

Lord Vader

if its 4 options it may be : 4 3 5 6