Update description for vc_cmd_list_filter_by_type 14/198214/1
authorWonnam Jang <wn.jang@samsung.com>
Mon, 14 Jan 2019 11:47:13 +0000 (20:47 +0900)
committerSooyeon Kim <sooyeon.kim@samsung.com>
Tue, 22 Jan 2019 09:41:09 +0000 (09:41 +0000)
Change-Id: Ib4af0d2d469e1146e013f5aebcf31417e7ece968
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
(cherry picked from commit c2b7b3e92bb384fdf495f9de317c5116216c47d0)

include/voice_control_command_expand.h

index d8d02c3..ca353e7 100755 (executable)
@@ -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);