Browse
 
Tools
Rss Categories

LVSpeechPort::AddFieldToRequest

Reference Number: AA-00747 Views: 1798 0 Rating/ Voters

Adds a custom string to a named field in the call log file.

Function

  • int AddFieldToRequest(const char* KeyName, const char* String)

Parameters

KeyName

Name of the Field which is to be added to the call log file.

String

String value to be assigned to the new field in the call log file.

Return Values

LV_SUCCESS

No errors; the field was added to the request.

LV_FAILURE

Returned if the port is in the process of shutting down.

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

Adds a custom string to a named field in the call log file. This is useful when analyzing the call log files generated by the Engine. You need to represent all non-string values as const char * types whenpassing values to this function.

See Also