Fixed parameter type of app_control_result_cb function 06/190306/3
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 1 Oct 2018 02:07:58 +0000 (11:07 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 1 Oct 2018 02:31:00 +0000 (11:31 +0900)
app_control_result_e is changed to app_control_error_e.

Change-Id: I5e577cacfdd7d23e5469112d261d2d4828277735
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/app_control.h

index 7a55be7b05d5f6495a8012151232d013a162ebf1..82d6898f3e5c5eec09d32539c2565177063fa9e5 100755 (executable)
@@ -694,6 +694,12 @@ typedef bool (*app_control_app_matched_cb)(app_control_h app_control, const char
 
 /**
  * @brief Called when the result of the launch request is delivered.
+ * @details Following error codes can be delivered: \n
+ *          #APP_CONTROL_ERROR_NONE, \n
+ *          #APP_CONTROL_ERROR_APP_NOT_FOUND, \n
+ *          #APP_CONTROL_ERROR_PERMISSION_DENIED, \n
+ *          #APP_CONTROL_ERROR_INVALID_PARAMETER, \n
+ *          #APP_CONTROL_ERROR_LAUNCH_REJECTED
  *
  * @since_tizen 5.0
  * @remakrs The @a request is the same object for which app_control_send_launch_request_async() was called.
@@ -702,7 +708,7 @@ typedef bool (*app_control_app_matched_cb)(app_control_h app_control, const char
  * @param[in]   user_data       The user data passed from the callback registration function
  * @see app_control_send_launch_request_async()
  */
-typedef void (*app_control_result_cb)(app_control_h request, app_control_result_e result, void *user_data);
+typedef void (*app_control_result_cb)(app_control_h request, app_control_error_e result, void *user_data);
 
 
 typedef int (*app_control_host_res_fn)(void *data);