Skip to content

Instantly share code, notes, and snippets.

@kypflug
Created July 2, 2015 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kypflug/6d1e47aec679fa0b38fe to your computer and use it in GitHub Desktop.
Save kypflug/6d1e47aec679fa0b38fe to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.2">
<CommandSet xml:lang="en-us" Name="ContosoVideo">
<CommandPrefix>Contoso Video</CommandPrefix>
<!-- Example text displayed in Cortana UI -->
<Example>Contoso video play elephants</Example>
<!-- Command name -->
<Command Name="play">
<Example>play {message} using contoso video</Example>
<!-- Tell Cortana what to listen for -->
<ListenFor RequireAppName="BeforeOrAfterPhrase">please play {streamSubject}</ListenFor>
<!-- Tell Cortana what to display in the UI -->
<Feedback>playing {streamSubject} with Contoso Video</Feedback>
<Navigate Target="/playStream.htm"/>
</Command>
<!-- Specifies a topic for large vocabulary recognition -->
<PhraseTopic Label="streamSubject" Scenario="Dictation"></PhraseTopic>
</CommandSet>
</VoiceCommands>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment