Browse
 
Tools
Rss Categories

LVGrammar::SetMode (Deprecated)

Reference Number: AA-00871 Views: 1328 0 Rating/ Voters

Set mode property for the grammar,

Function

  • int SetMode(const char* mode)

Parameters

mode

The interaction mode of the grammar.

Example

 The following code in C++:

SetLanguage("en-US");
SetMode("voice");
SetTagFormat("lumenvox/1.0");

Is the same as writing in your grammar:

#ABNF 1.0 UTF-8;
language en-US;
mode voice; 

tag-format <lumenvox/1.0>;