ailiaSpeechGetText method

int ailiaSpeechGetText(
  1. Pointer<AILIASpeech> net,
  2. Pointer<AILIASpeechText> text,
  3. int version,
  4. int idx
)

Get recognized text

Parameters:

  • net: A network instance pointer
  • text: Text
  • version: AILIA_SPEECH_TEXT_VERSION
  • idx: 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,
  );
}