O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required