SpeechPredefinedGrammar enumeration

Applies to Windows Phone only

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

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

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

Metadata

Windows.winmd

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone]
ID_CAP_MICROPHONE [Windows Phone]
ID_CAP_NETWORKING [Windows Phone]

 

 

Community Additions

ADD
Show:
© 2014 Microsoft