Platform SDK: Web Telephony Engine

The SRMode Object

The SRMode object lets you access the mode information of the selected SR engine. All the fields of the SRMODEINFO structure are accessible through read-only properties of the SRMode object. An application uses the object to identify the SR engine and find out its capabilities and current configuration parameters. The application can use this information to determine whether the current SR engine meets its needs.

An application retrieves a reference to the SRMode object by using the SRMode property of the ExOM object. The following table lists and describes the properties of the SRMode object.

Property Description
Dialect Name of the dialect specific to the language. For example, "Texas" or "New York City."
EngineFeatures Flags that identify the features specific to the engine. These values are defined by the engine author.
EngineID GUID that uniquely identifies the SR engine.
Features Flags that indicate the available SR features.
Grammars Types of grammar the SR engine supports.
Interfaces Flags that identify the interfaces the SR engine supports.
LanguageID Win32 language identifier.
MaxWordsState Maximum number of words in any state of a grammar.
MaxWordsVocab Maximum number of words allowed in an active vocabulary at a given time.
MfgName Name of the manufacturer of the SR engine.
ModeID GUID that uniquely identifies the SR mode.
ModeName Name of the SR mode.
ProductName Product name of the SR engine.
Sequencing Value that identifies the SR scheme.