* @remarks If the application is uninstalled after setting an alarm, the alarm is cancelled automatically.
* If the operation of @a app_control is not specified, #APP_CONTROL_OPERATION_DEFAULT is used for the launch request.
* If the operation of @a app_control is #APP_CONTROL_OPERATION_DEFAULT, the package information is mandatory to explicitly launch the application.
- * Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, this api does not support exact period and delay for minimizing the wakeups of the device. The system can adjust when the alarm expires.
+ * Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, this function does not support exact period and delay for minimizing the wakeups of the device. The system can adjust when the alarm expires.
* If you want to trigger an alarm exactly, see @see alarm_schedule_once_after_delay()
* Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif If @a app_control is specified with service-application, the application is only allowed to run on which has Background Category.
- * Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif If the appid of @a app_control is not specified, this api is not allowed. In other words, the explicit @a app_control is only allowed.
+ * Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif If the appid of @a app_control is not specified, this function is not allowed. In other words, the explicit @a app_control is only allowed.
* Since 4.0, %http://tizen.org/privilege/appmanager.launch privilege is additionally required.
*
* @param[in] app_control The destination app_control to perform a specific task when the alarm is triggered
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_NOT_PERMITTED_APP @a app_control is not permitted
* @see alarm_cancel()
* @see alarm_cancel_all()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_INVALID_DATE Triggered date is invalid
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_cancel()
* @see alarm_cancel_all()
* @see alarm_get_scheduled_date()
* @remarks If the application is uninstalled after setting an alarm, the alarm is cancelled automatically.
* If the operation of @a app_control is not specified, #APP_CONTROL_OPERATION_DEFAULT is used for the launch request.
* If the operation of @a app_control is #APP_CONTROL_OPERATION_DEFAULT, the package information is mandatory to explicitly launch the application.
- * If the appid of @a app_control is not specified, this api is not allowed. In other words, the explicit @a app_control is only allowed.
- * The @a app_control only supports UI application with this api. If @a app_control is not UI application, #ALARM_ERROR_NOT_PERMITTED_APP returned.
+ * If the appid of @a app_control is not specified, this function is not allowed. In other words, the explicit @a app_control is only allowed.
+ * The @a app_control only supports UI application with this function. If @a app_control is not UI application, #ALARM_ERROR_NOT_PERMITTED_APP returned.
* When the alarm is expired, Alarm Manager will turn on LCD to prohibit background jobs.
* Since 4.0, %http://tizen.org/privilege/appmanager.launch privilege is additionally required.
*
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_NOT_PERMITTED_APP @a app_control is not permitted. @a app_control for UI application is only permitted.
* @see alarm_cancel()
* @see alarm_cancel_all()
* @remarks If application is uninstalled after setting an alarm, the alarm is cancelled automatically.
* If the operation of @a app_control is not specified, #APP_CONTROL_OPERATION_DEFAULT is used for the launch request.
* If the operation of @a app_control is #APP_CONTROL_OPERATION_DEFAULT, the package information is mandatory to explicitly launch the application.
- * If the appid of @a app_control is not specified, this api is not allowed. In other words, the explicit @a app_control is only allowed.
- * The @a app_control only supports UI application with this api. If @a app_control is not UI application, #ALARM_ERROR_NOT_PERMITTED_APP returned.
+ * If the appid of @a app_control is not specified, this function is not allowed. In other words, the explicit @a app_control is only allowed.
+ * The @a app_control only supports UI application with this function. If @a app_control is not UI application, #ALARM_ERROR_NOT_PERMITTED_APP returned.
* When the alarm is expired, Alarm Manager will turn on LCD to prohibit background jobs.
* Since 4.0, %http://tizen.org/privilege/appmanager.launch privilege is additionally required.
*
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_INVALID_DATE Triggered date is invalid
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_NOT_PERMITTED_APP @a app_control is not permitted. @a app_control for UI application is only permitted.
* @see alarm_cancel()
* @see alarm_cancel_all()
* @remarks If the application is uninstalled after setting an alarm, the alarm is cancelled automatically.
* If the operation of @a app_control is not specified, #APP_CONTROL_OPERATION_DEFAULT is used for the launch request.
* If the operation of @a app_control is #APP_CONTROL_OPERATION_DEFAULT, the package information is mandatory to explicitly launch the application.
- * Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, The @a app_control only supports UI application with this api. If @a app_control is not UI application, #ALARM_ERROR_NOT_PERMITTED_APP returned.
+ * Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, The @a app_control only supports UI application with this function. If @a app_control is not UI application, #ALARM_ERROR_NOT_PERMITTED_APP returned.
* When the alarm is expired, Alarm Manager will turn on LCD to prohibit background jobs.
- * Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, If the appid of @a app_control is not specified, this api is not allowed. In other words, the explicit @a app_control is only allowed.
+ * Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, If the appid of @a app_control is not specified, this function is not allowed. In other words, the explicit @a app_control is only allowed.
* Since 4.0, %http://tizen.org/privilege/appmanager.launch privilege is additionally required.
*
* @param[in] app_control The destination app_control to perform specific work when the alarm is triggered
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_INVALID_DATE Triggered date is invalid
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_NOT_PERMITTED_APP @a app_control is not permitted. @a app_control for UI application is only permitted.
* @see alarm_cancel()
* @see alarm_cancel_all()
* @privilege %http://tizen.org/privilege/alarm.get
* @remarks If the given @a alarm_id is not obtained by using the alarm_schedule_with_recurrence_week_flag() function,
* an error (error code #ALARM_ERROR_INVALID_PARAMETER) will occur because this alarm is scheduled with no recurrence.
- * If the operation of @a app_control is not specified, #APP_CONTROL_OPERATION_DEFAULT is used for the launch request.
- * If the operation of @a app_control is #APP_CONTROL_OPERATION_DEFAULT, the package information is mandatory to explicitly launch the application.
* @param[in] alarm_id The alarm ID returned when the alarm is scheduled
* @param[out] week_flag The recurrence days of the week, @a week_flag may be a combination of days, like #ALARM_WEEK_FLAG_TUESDAY | #ALARM_WEEK_FLAG_FRIDAY
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @see alarm_schedule_with_recurrence_week_flag()
* @see #alarm_week_flag_e
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_schedule_once_at_date()
* @see alarm_schedule_after_delay()
* @see alarm_schedule_with_recurrence_week_flag()
/**
- * @brief Cancels all scheduled alarms that are registered by the application that calls this API.
+ * @brief Cancels all scheduled alarms that are registered by the application that calls this function.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/alarm.set
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @see alarm_schedule_once_at_date()
* @see alarm_schedule_after_delay()
* @see alarm_schedule_with_recurrence_week_flag()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @post This function invokes alarm_registered_alarm_cb() repeatedly for each registered alarm.
* @see alarm_registered_alarm_cb()
*/
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_schedule_once_at_date()
* @see alarm_schedule_after_delay()
* @see alarm_schedule_with_recurrence_week_flag()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_schedule_once_at_date()
* @see alarm_schedule_after_delay()
* @see alarm_schedule_with_recurrence_week_flag()
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
*/
int alarm_get_current_time(struct tm *date);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_schedule_once_at_date()
* @see alarm_schedule_after_delay()
* @see alarm_schedule_with_recurrence_week_flag()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_NOT_PERMITTED_APP @a alarm_id is not permitted
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_schedule_once_at_date()
* @see alarm_schedule_after_delay()
* @see alarm_schedule_with_recurrence_week_flag()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @see alarm_set_global()
*/
int alarm_get_global(int alarm_id, bool *global);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_INVALID_DATE Triggered date is invalid
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_cancel()
* @see alarm_cancel_all()
* @see alarm_get_scheduled_date()
* @param[out] alarm_id The ID which uniquely identifies the scheduled alarm
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
- * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
+ * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @see alarm_cancel()
* @see alarm_cancel_all()
* @see alarm_get_scheduled_date()
* @param[out] alarm_id The ID which uniquely identifies the scheduled alarm
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
- * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
+ * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @see alarm_cancel()
* @see alarm_cancel_all()
* @see alarm_get_scheduled_date()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_INVALID_DATE Triggered date is invalid
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_cancel()
* @see alarm_cancel_all()
* @see alarm_get_scheduled_recurrence_week_flag()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @see alarm_schedule_noti_once_at_date()
* @see alarm_schedule_noti_after_delay()
* @see alarm_schedule_noti_once_after_delay()
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @retval #ALARM_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_NOT_PERMITTED_APP App control does not launch an UI application
*/
int alarm_update_delay(int alarm_id, int delay);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
* @retval #ALARM_ERROR_INVALID_DATE Triggered time is invalid
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @retval #ALARM_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_NOT_PERMITTED_APP App control does not launch an UI application
*/
int alarm_update_date(int alarm_id, struct tm *date);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @retval #ALARM_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
*/
int alarm_update_period(int alarm_id, int period);
* @return @c 0 on success,
* otherwise a negative error value
* @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @retval #ALARM_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
* @retval #ALARM_ERROR_NOT_PERMITTED_APP App control does not launch an UI application
*/
int alarm_update_week_flag(int alarm_id, int week_flag);
* @details The alarm will go off @a delay seconds later.
* To cancel the alarm, call alarm_cancel() with @a alarm_id.
* @since_tizen 3.0
- * @privlevel public
- * @privilege %http://tizen.org/privilege/alarm.set
- * @remarks This API only allows service application which has Background Category to set an exact alarm.
- * If the application is uninstalled after setting an alarm, the alarm is cancelled automatically.
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/alarm.set
+ * @remarks This function only allows service application which has Background Category to set an exact alarm.
+ * If the application is uninstalled after setting an alarm, the alarm is cancelled automatically.
* If the operation of @a app_control is not specified, #APP_CONTROL_OPERATION_DEFAULT is used r the launch request.
* If the operation of @a app_control is #APP_CONTROL_OPERATION_DEFAULT, the package information is mandatory to explicitly launch the application.
- * If the appid of @a app_control is not specified, this api is not allowed. In other words, the explicit @a app_control is only allowed.
- * The @a app_control only supports service application which has Background Category with this api.
+ * If the appid of @a app_control is not specified, this function is not allowed. In other words, the explicit @a app_control is only allowed.
+ * The @a app_control only supports service application which has Background Category with this function.
*
* @param[in] app_control The destination app_control to perform a specific task when the alarm is triggered
- * @param[in] delay The amount of time before the execution (in seconds)
+ * @param[in] delay The amount of time before the execution (in seconds)
* @param[out] alarm_id The alarm ID that uniquely identifies an alarm
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
- * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #ALARM_ERROR_INVALID_TIME Triggered time is invalid
+ * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @see alarm_cancel()
* @see alarm_cancel_all()
* @see alarm_get_scheduled_date()
* @details The @a date describes the time of the first occurrence.
* To cancel the alarm, call alarm_cancel() with @a alarm_id.
* @since_tizen 3.0
- * @privlevel public
- * @privilege %http://tizen.org/privilege/alarm.set
- * @remarks This API only allows service application which has Background Category to set an exact alarm.
- * If application is uninstalled after setting an alarm, the alarm is cancelled automatically.
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/alarm.set
+ * @remarks This function only allows service application which has Background Category to set an exact alarm.
+ * If application is uninstalled after setting an alarm, the alarm is cancelled automatically.
* If the operation of @a app_control is not specified, #APP_CONTROL_OPERATION_DEFAULT is used for the launch request.
* If the operation of @a app_control is #APP_CONTROL_OPERATION_DEFAULT, the package information is mandatory to explicitly launch the application.
- * If the appid of @a app_control is not specified, this api is not allowed. In other words, the explicit @a app_control is only allowed.
- * The @a app_control only supports service application which has Background Category with this api.
+ * If the appid of @a app_control is not specified, this function is not allowed. In other words, the explicit @a app_control is only allowed.
+ * The @a app_control only supports service application which has Background Category with this function.
*
- * @param[in] app_control The destination app_control to perform specific work when the alarm is triggered
- * @param[in] date The first active alarm time
- * @param[out] alarm_id The alarm ID that uniquely identifies an alarm
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #ALARM_ERROR_INVALID_DATE Triggered date is invalid
- * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
- * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @param[in] app_control The destination app_control to perform specific work when the alarm is triggered
+ * @param[in] date The first active alarm time
+ * @param[out] alarm_id The alarm ID that uniquely identifies an alarm
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #ALARM_ERROR_INVALID_DATE Triggered date is invalid
+ * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
* @see alarm_cancel()
* @see alarm_cancel_all()
* @see alarm_get_scheduled_date()
int alarm_schedule_service_once_at_date(app_control_h app_control, struct tm *date, int *alarm_id);
/**
- * @brief Changes the system time which tranferred by other module
+ * @brief Changes the system time which tranferred by other module.
* @since_tizen 3.0
- * @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsettings.admin
- *
- * @param[in] new_time epoch time to be set
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
+ * @privlevel platform
+ * @privilege %http://tizen.org/privilege/systemsettings.admin
+ * @param[in] new_time epoch time to be set
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
*/
int alarm_set_systime(int new_time);
/**
- * @brief Changes the system time and compensates the time using propagation delay
+ * @brief Changes the system time and compensates the time using propagation delay.
* @since_tizen 3.0
- * @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsettings.admin
- *
- * @param[in] new_time system time to be set (seconds, nanoseconds)
- * @param[in] req_time time to request to change the system time (seconds, nanoseconds)
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
+ * @privlevel platform
+ * @privilege %http://tizen.org/privilege/systemsettings.admin
+ * @param[in] new_time system time to be set (seconds, nanoseconds)
+ * @param[in] req_time time to request to change the system time (seconds, nanoseconds)
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
*/
int alarm_set_systime_with_propagation_delay(struct timespec new_time, struct timespec req_time);
/**
- * @brief Changes the timezone which tranferred by other module
+ * @brief Changes the timezone which tranferred by other module.
* @since_tizen 3.0
- * @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsettings.admin
- *
- * @param[in] tzpath_str the path to timezone definition file
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #ALARM_ERROR_NONE Successful
- * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
+ * @privlevel platform
+ * @privilege %http://tizen.org/privilege/systemsettings.admin
+ * @param[in] tzpath_str the path to timezone definition file
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ * @retval #ALARM_ERROR_NONE Successful
+ * @retval #ALARM_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #ALARM_ERROR_CONNECTION_FAIL Failed to connect to an alarm server
*/
int alarm_set_timezone(char *tzpath_str);