Skip to content

Instantly share code, notes, and snippets.

@andy51002000
Created November 5, 2017 06:34
Voice command for get the location information
<Command Name="whereIsRepairCenter">
<Example> Show me repair center </Example>
<ListenFor RequireAppName="BeforeOrAfterPhrase"> Show [me] repair center in {location}</ListenFor>
<ListenFor RequireAppName="ExplicitlySpecified"> Show [me] {builtin:AppName} repair center {location}</ListenFor>
<Feedback> Looking for the repaire center in ...</Feedback>
<VoiceCommandService Target="BackgroundService"/>
</Command>
<PhraseList Label="location">
<Item>New York</Item>
<Item>Tokyo</Item>
<Item>Hong Kong</Item>
</PhraseList>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment