ailiaSpeechGetText method
- Pointer<
AILIASpeech> net, - Pointer<
AILIASpeechText> text, - int version,
- int idx
Get recognized text
Parameters:
net: A network instance pointertext: Textversion: AILIA_SPEECH_TEXT_VERSIONidx: Text index
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 ailiaSpeechGetText(
ffi.Pointer<AILIASpeech> net,
ffi.Pointer<AILIASpeechText> text,
int version,
int idx,
) {
return _ailiaSpeechGetText(
net,
text,
version,
idx,
);
}