From: Wonnam Jang Date: Mon, 14 Jan 2019 11:47:13 +0000 (+0900) Subject: Update description for vc_cmd_list_filter_by_type X-Git-Tag: accepted/tizen/unified/20190221.015335~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F198214%2F1;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Update description for vc_cmd_list_filter_by_type Change-Id: Ib4af0d2d469e1146e013f5aebcf31417e7ece968 Signed-off-by: Wonnam Jang (cherry picked from commit c2b7b3e92bb384fdf495f9de317c5116216c47d0) --- diff --git a/include/voice_control_command_expand.h b/include/voice_control_command_expand.h index d8d02c3..ca353e7 100755 --- a/include/voice_control_command_expand.h +++ b/include/voice_control_command_expand.h @@ -101,22 +101,19 @@ int vc_cmd_get_domain(vc_cmd_h vc_command, int* domain); int vc_cmd_list_remove_all(vc_cmd_list_h vc_cmd_list, bool free_command); /** -* @brief Retrieves all commands of command list using callback function. +* @brief Gets the commands list which consists of specific type of commands such as foreground or background. * @since_tizen 3.0 -* -* @param[in] vc_cmd_list The command list handle -* @param[in] callback Callback function to invoke -* @param[in] user_data The user data to be passed to the callback function -* -* @return 0 on success, otherwise a negative error value +* @privilege %http://tizen.org/privilege/recorder +* @param[in] original The original command list handle +* @param[in] type The command type wants to get +* @param[out] filtered The filtered command list handle +* @return @c 0 on success, +* otherwise a negative error value * @retval #VC_ERROR_NONE Successful * @retval #VC_ERROR_INVALID_PARAMETER Invalid parameter +* @retval #VC_ERROR_OPERATION_FAILED Operation failure * @retval #VC_ERROR_PERMISSION_DENIED Permission denied * @retval #VC_ERROR_NOT_SUPPORTED Not supported -* -* @post This function invokes vc_cmd_list_cb() repeatedly for getting commands. -* -* @see vc_cmd_list_cb() */ int vc_cmd_list_filter_by_type(vc_cmd_list_h original, int type, vc_cmd_list_h* filtered);