AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACK typedef
~japanese @brief 推論の途中の状況を通知します。 @param handle ailiaSpeechSetIntermediateCallbackに指定したhandle @param text 推論の途中のテキスト @return 0を返すと継続、0以外を返すと推論を中断します。
~english @brief Notify the status during the inference. @param handle handle specified in ailiaSpeechSetIntermediateCallback @param text text in the middle of reasoning @return Return 0 to continue, non-zero to abort inference.
Implementation
typedef AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACK = ffi.Pointer<
ffi.NativeFunction<
ffi.Int Function(
ffi.Pointer<ffi.Void> handle, ffi.Pointer<ffi.Char> text)>>;