Understanding the Structure of the VCD File
The structure of the VCD file has a root VoiceCommands
element that contains zero or more CommandSet
elements. See Listing 23.14.
The CommandSet
element represents a group of commands that are activated when the value of the CommandPrefix
element is spoken by the user. This allows you to group multiple phrases together.
The Example
element determines the text that is displayed on the speech recognition dialog, which is displayed when the user taps and holds the phone’s Windows button.
Each CommandSet
is required to have at least one Command
element, and each Command
element is required to have at least one and a maximum of 10 ListenFor
elements. ListenFor
elements define the speech that activates a ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.