Browse
 
Tools
Rss Categories

LVSpeechPort::ClosePort (Deprecated)

Reference Number: AA-00749 Views: 7920 0 Rating/ Voters

Closes the port, and releases its resources. 

Function

  • int ClosePort()

Return Values

LV_SUCCESS

The port has been successfully destroyed.

LV_INVALID_HPORT

The port is not valid (either CreateClient has not been called or DestroyClient / ClosePort has already been called).

LV_EXCEPTION

An exception occurred while processing the request.

Remarks

Each open port requires one license. For this reason, you should close every port as soon as it is no longer needed.

This method has been deprecated in favor of DestroyClient and will be removed from future releases.

See Also