stt_recognition_result_cb typedef
@brief Called when STT gets the recognition result from the engine.
@since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
@remarks After stt_stop() is called, silence is detected from recording, or partial result is occurred, this function is called.
@paramin
stt The STT handle
@paramin
event The result event
@paramin
data Result texts
@paramin
data_count Result text count
@paramin
msg Engine message (e.g. #STT_RESULT_MESSAGE_NONE, #STT_RESULT_MESSAGE_ERROR_TOO_SHORT)
@paramin
user_data The user data passed from the callback registration function
@pre stt_stop() will invoke this callback if you register it using stt_set_result_cb().
@post If this function is called and event is #STT_RESULT_EVENT_FINAL_RESULT, the STT state will be #STT_STATE_READY.
@see stt_stop()
@see stt_set_recognition_result_cb()
@see stt_unset_recognition_result_cb()
Implementation
typedef stt_recognition_result_cb
= ffi.Pointer<ffi.NativeFunction<stt_recognition_result_cbFunction>>;