ailiaSpeechSetIntermediateCallback method
- Pointer<
AILIASpeech> net, - AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACK callback,
- Pointer<
Void> handle
Set a callback to get intermediate results of recognition.
Parameters:
net: A network instance pointercallback: callbackhandle: handle for callback
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
The return value does not have to be released. The string is valid until the next ailiaSpeech API function is called.
Implementation
int ailiaSpeechSetIntermediateCallback(
ffi.Pointer<AILIASpeech> net,
AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACK callback,
ffi.Pointer<ffi.Void> handle,
) {
return _ailiaSpeechSetIntermediateCallback(
net,
callback,
handle,
);
}