SpeechPredefinedGrammar enumeration

Indicates the predefined grammar type.

Syntax


Public Enum SpeechPredefinedGrammar

Attributes

[Version(0x06020000)]

Members

The SpeechPredefinedGrammar enumeration has these members.

MemberValueDescription
Dictation1

Indicates a dictation grammar.

WebSearch2

Indicates a web search grammar.

Remarks

This enumeration is used as a parameter of the AddGrammarFromPredefinedType method, a method that enables speech recognition against predefined grammars.

For a code example of how to use the SpeechPredefinedGrammar enumeration, see the Working with web search grammars section in Adding, loading, and preloading grammars for Windows Phone.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Speech.Recognition
Windows::Phone::Speech::Recognition [C++]

Metadata

Windows.WinMD

 

 

Community Additions

ADD
Show:
© 2015 Microsoft