Browse
 
Tools
Rss Categories

LVSpeechPort::UnloadGrammars

Reference Number: AA-00828 Views: 7497 0 Rating/ Voters

Removes all loaded grammars from the speech port.

Function

  • int UnloadGrammars(void)

Return Values

LV_SUCCESS

No errors; all grammars are removed.

LV_INVALID_HPORT

The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).

LV_EXCEPTION

An exception occurred while processing the request.

Remarks

When you unload a grammar that has been activated, it will automatically be deactivated.

See Also