Skip to content

Instantly share code, notes, and snippets.

@robinmanuelthiel
Last active December 2, 2015 10:36
Show Gist options
  • Save robinmanuelthiel/daecf53887f33560a627 to your computer and use it in GitHub Desktop.
Save robinmanuelthiel/daecf53887f33560a627 to your computer and use it in GitHub Desktop.
Windows.ApplicationModel.VoiceCommands.VoiceCommnadDefinition.VoiceCommandSet commandSet;
if (Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager.InstalledCommandSets.TryGetValue("CortanaCommands_en", out commandSet))
{
await commandSetEnUs.SetPhraseListAsync("room", new string[] {"Bathroom", "Kitchen", "Livingroom", "Bedroom"});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment