Browse
 
Tools
Rss Categories

API Functions

61 LV_SRE_RegisterAppLogMsg

Registers an application level log message callback. Function void LV_SRE_RegisterAppLogMsg(ExportLogMsg log_callback, void *user_data, int verbosity) Parameters log_callback Pointer to a function which will receive logging information. user_data user_data…

62 LV_SRE_RegisterGrammarForPendingStream

Used with LV_SRE_StreamStartListening to register an SRGS grammar for use with a stream before it has been loaded with LV_SRE_LoadGrammar. This is useful in several contexts and required for some. See Remarks, below, for more details. Function int LV_SRE_RegisterGrammarForPendingStream(HPORT…

63 LV_SRE_ReturnErrorString

LV_SRE_ReturnErrorString Provides a textual description of an error code. Function const char* LV_SRE_ReturnErrorString(int error_code) Parameters error_code The error code for which you need a description. Return Values A null-terminated static string describing…

64 LV_SRE_ReturnGrammarErrorString

Returns a string that contains errors related to loading a specified grammar. Function const char* LV_SRE_ReturnGrammarErrorString(HPORT hport, const char* GrammarLabel) Parameters hport The port's handle. GrammarLabel The label of the grammar whose error…

65 LV_SRE_ReturnGrammarFirstWarningString

Returns the first warning string associated with the specified grammar (if any) in the specified string, up to a maximum length specified. Function int LV_SRE_ReturnGrammarFirstWarningString(HPORT hport, const char* GrammarLabel, char * OutputString, int…

66 LV_SRE_ReturnGrammarFirstWarningStringLength

Returns the length of the first warning string associated with the specified grammar (if any). This can be used to determine the size of a string buffer needed to hold the warning string prior to calling LV_SRE_ReturnGrammarFirstWarningString Function int…

67 LV_SRE_ReturnGrammarNumWarnings

Returns the number of warnings encountered during a load of the specified grammar (if any) Function int LV_SRE_ReturnGrammarNumWarnings(HPORT hport, const char* GrammarLabel) Parameters hport The port's handle. GrammarLabel The label of the grammar whose…

68 LV_SRE_ReturnGrammarVocabSize

Returns the vocabulary size of the specified grammar. Function int LV_SRE_ReturnGrammarVocabSize(HPORT hport, const char* GrammarLabel) Parameters hport The port's handle. GrammarLabel The label of the grammar whose vocab size needs to be returned. Return…

69 LV_SRE_SetClientPropertyExPermanent

Sets configuration properties for the client application and marks the properties' changes as permanent (to eventualy write the changes to config file by calling LV_SRE_CommitClientPropertySettings). The function is similar to LV_SRE_SetPropertyEx (called…

70 LV_SRE_SetCustomCallGuid

This function is used to set the ID used in callsre logging. Function int LV_SRE_SetCustomCallGuid(HPORT hport, const char* CallGuid) Parameters hport The port's handle. CallGuid The name to give the callsre file Return Values LV_SUCCESS No errors; the given…