ailiaSpeechSetIntermediateCallback method
- Pointer<
AILIASpeech> net, - AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACK callback,
- Pointer<
Void> handle
~japanese @brief 認識の途中結果を取得するコールバックを設定します。 @param net ネットワークオブジェクトポインタ @param callback コールバック @param handle コールバックに渡されるハンドル @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details 返値は解放する必要はありません。 文字列の有効期間は次にailiaSpeechのAPIを呼ぶまでです。
~english @brief Set a callback to get intermediate results of recognition. @param net A network instance pointer @param callback callback @param handle handle for callback @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details 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,
);
}