From 1baf38236e48681675e0229fb82cd6ee2ae1e7dc Mon Sep 17 00:00:00 2001 From: sungrae jo Date: Mon, 16 Mar 2020 19:10:43 +0900 Subject: [PATCH] Added vc_mgr_send_utterance_status for voice control manager header. Change-Id: I7e3852a8ed721199a21acafb52ad8a7bb025f609 Signed-off-by: sungrae jo --- include/voice_control_manager.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/include/voice_control_manager.h b/include/voice_control_manager.h index 3d4ece3..2abd2c4 100644 --- a/include/voice_control_manager.h +++ b/include/voice_control_manager.h @@ -1758,6 +1758,31 @@ int vc_mgr_set_vc_tts_streaming_cb(vc_mgr_vc_tts_streaming_cb callback, void* us */ int vc_mgr_unset_vc_tts_streaming_cb(void); +/** + * @platform + * @brief Sends the utterance status to the VC client. + * @since_tizen 6.0 + * + * @privlevel platform + * @privilege %http://tizen.org/privilege/voicecontrol.manager + * + * @param[in] pid The process id of the VC client + * @param[in] utt_id The utterance id + * @param[in] utt_status The utterance status + * + * @return 0 on success, otherwise a negative error value + * @retval #VC_ERROR_NONE Successful + * @retval #VC_ERROR_NOT_SUPPORTED VC not supported + * @retval #VC_ERROR_PERMISSION_DENIED Permission denied + * @retval #VC_ERROR_INVALID_PARAMETER Invalid parameter + * @retval #VC_ERROR_OUT_OF_MEMORY Not enough memory + * @retval #VC_ERROR_INVALID_STATE Invalid state + * @retval #VC_ERROR_OPERATION_FAILED Operation fail + * + * @pre The service state should be #VC_SERVICE_STATE_READY. + */ +int vc_mgr_send_utterance_status(int pid, int utt_id, vc_tts_utterance_status_e utt_status); + #ifdef __cplusplus } -- 2.7.4