* <td></td>
* </tr>
* <tr>
- * <td>vc_set_server_dialog()</td>
- * <td>Ready</td>
- * <td></td>
- * </tr>
- * <tr>
* <td>vc_request_dialog()</td>
* <td>Ready</td>
* <td></td>
/**
* @brief Called when the engine service user sets command list before recognition.
* @since_tizen 4.0
- * @remarks This function should set commands via vcd_foreach_command().
+ * @remarks This function should set commands via vce_get_foreach_command().
* The @a vc_command should not be released.
* The @a vc_command can be used only in the callback. To use outside, make a copy.
* @param[in] vc_command command handle. The @a vc_command can be used only in the callback. To use outside, make a copy.
* @retval #VCE_ERROR_NOT_SUPPORTED_FEATURE Not supported command type
* @post vce_start_cb() is called after this function is successful.
* @see vce_start_cb()
- * @see vcd_foreach_command()
- * @see vce_unset_commands()
+ * @see vce_get_foreach_command()
+ * @see vce_unset_commands_cb()
* @see vce_get_command_count()
*/
typedef int (*vce_set_commands_cb)(vce_cmd_h vc_command);
* @retval #VCE_ERROR_INVALID_LANGUAGE Invalid language
* @retval #VCE_ERROR_OUT_OF_NETWORK Out of network
* @retval #VCE_ERROR_OPERATION_FAILED Operation failed
- * @pre vcd_foreach_command() is successful.
+ * @pre vce_set_commands_cb() is successful.
* @see vce_set_recording_data_cb()
* @see vce_stop_cb()
* @see vce_cancel_cb()
int vc_set_invocation_name(const char* name);
-/**
- * @brief Requests to set app id which is to want to ask the server dialogue.
- * @details Using this function, the developer can request registering the application on vc framework.
- * If developer requests to register @a app_id with @a credential which is valid, the application will be set on vc framework.
- * and then, when the developer requests the dialogue using vc_request_dialog(), dialog from specific engine server will be played by vc framework.
- * @since_tizen 5.0
- * @privlevel public
- * @privilege %http://tizen.org/privilege/recorder
- * @remarks If @a app_id is @c NULL, the API tries to get app ID using app manager framework.
- * However, getting app ID may be failed.
- * @param[in] app_id App id which is to want to ask server dialog.
- * @param[in] credential Credential key.
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #VC_ERROR_NONE Successful
- * @retval #VC_ERROR_NOT_SUPPORTED Not supported
- * @retval #VC_ERROR_PERMISSION_DENIED Permission denied
- * @retval #VC_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #VC_ERROR_INVALID_STATE Invalid state
- * @pre The service state should be #VC_SERVICE_STATE_READY.
- * @see vc_unset_server_dialog()
- */
-int vc_set_server_dialog(const char* app_id, const char* credential);
-
-
-/**
- * @brief Requests to unset app id which is to not want to ask the server dialogue.
- * @details Using this function, the developer can disable function to ask dialog based on server.
- * @since_tizen 5.0
- * @privlevel public
- * @privilege %http://tizen.org/privilege/recorder
- * @remarks If @a app_id is @c NULL, the API tries to get app ID using app manager framework.
- * However, getting app ID may be failed.
- * @param[in] app_id App id which is to not want to ask server dialog.
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #VC_ERROR_NONE Successful
- * @retval #VC_ERROR_NOT_SUPPORTED Not supported
- * @retval #VC_ERROR_PERMISSION_DENIED Permission denied
- * @retval #VC_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #VC_ERROR_INVALID_STATE Invalid state
- * @pre The service state should be #VC_SERVICE_STATE_READY.
- * @see vc_set_server_dialog()
- */
-int vc_unset_server_dialog(const char* app_id);
-
-
/**
* @brief Requests to start the dialogue.
* @details Using this function, the developer can request starting the dialogue to the framework.
*/
int vc_set_command_list_from_file(const char* file_path, int type);
+/**
+ * @brief Requests to set app id which is to want to ask the server dialogue.
+ * @details Using this function, the developer can request registering the application on vc framework.
+ * If developer requests to register @a app_id with @a credential which is valid, the application will be set on vc framework.
+ * and then, when the developer requests the dialogue using vc_request_dialog(), dialog from specific engine server will be played by vc framework.
+ * @since_tizen 5.0
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/recorder
+ * @remarks If @a app_id is @c NULL, the API tries to get app ID using app manager framework.
+ * However, getting app ID may be failed.
+ * @param[in] app_id App id which is to want to ask server dialog.
+ * @param[in] credential Credential key.
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #VC_ERROR_NONE Successful
+ * @retval #VC_ERROR_NOT_SUPPORTED Not supported
+ * @retval #VC_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #VC_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #VC_ERROR_INVALID_STATE Invalid state
+ * @pre The service state should be #VC_SERVICE_STATE_READY.
+ * @see vc_unset_server_dialog()
+ */
+int vc_set_server_dialog(const char* app_id, const char* credential);
+
+/**
+ * @brief Requests to unset app id which is to not want to ask the server dialogue.
+ * @details Using this function, the developer can disable function to ask dialog based on server.
+ * @since_tizen 5.0
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/recorder
+ * @remarks If @a app_id is @c NULL, the API tries to get app ID using app manager framework.
+ * However, getting app ID may be failed.
+ * @param[in] app_id App id which is to not want to ask server dialog.
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #VC_ERROR_NONE Successful
+ * @retval #VC_ERROR_NOT_SUPPORTED Not supported
+ * @retval #VC_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #VC_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #VC_ERROR_INVALID_STATE Invalid state
+ * @pre The service state should be #VC_SERVICE_STATE_READY.
+ * @see vc_set_server_dialog()
+ */
+int vc_unset_server_dialog(const char* app_id);
+
/**
* @brief Connects the voice control service synchronously.
* @since_tizen 4.0
*/
int vc_prepare_sync(void);
-
#ifdef __cplusplus
}
#endif