* limitations under the License.
*/
-
#ifndef __NOTIFICATION_H__
#define __NOTIFICATION_H__
-
#include <time.h>
#include <bundle.h>
#include <app_control.h>
-
#include <notification_error.h>
#include <notification_type.h>
#include <notification_status.h>
-
#ifdef __cplusplus
extern "C" {
#endif
/**
- * @}
- */
-
-
-/**
- * @addtogroup NOTIFICATION_MODULE
- * @{
- */
-
-
-/**
* @brief Sets the tag of the notification handle.
* @since_tizen @if WEARABLE 2.3.1 @elseif MOBILE 2.3 @endif
* @param[in] noti Notification handle
*/
int notification_add_button(notification_h noti, notification_button_index_e button_index);
+
/**
* @brief Removes a button on the notification.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
int notification_del_deferred_task(
void (*deferred_task_cb)(void *data));
-
/**
* @brief This function will be removed.
- * @see notification_unresister_changed_cb()
+ * @see notification_register_detailed_changed_cb()
*/
int
notification_resister_changed_cb(
void (*changed_cb)(void *data, notification_type_e type),
void *user_data);
-
int
notification_resister_changed_cb_for_uid(
void (*changed_cb)(void *data, notification_type_e type),
void *user_data, uid_t uid);
+
/**
* @brief This function will be removed.
- * @see notification_resister_changed_cb()
+ * @see notification_unregister_detailed_changed_cb()
*/
int
notification_unresister_changed_cb(
* @code
#include <notification_internal.h>
...
- {
+{
int noti_err = NOTIFICATION_ERROR_NONE;
noti_err = notification_update_progress(NULL, APP_NOTI_PRIV_ID, 0.6);
* @code
#include <notification_internal.h>
...
- {
+{
int noti_err = NOTIFICATION_ERROR_NONE;
noti_err = notification_update_size(NULL, APP_NOTI_PRIV_ID, 3000000);
* @code
#include <notification_internal.h>
...
- {
+{
int noti_err = NOTIFICATION_ERROR_NONE;
noti_err = notification_update_content(NULL, APP_NOTI_PRIV_ID, "updated string");
* @code
#include <notification.h>
...
- {
+{
int noti_err = NOTIFICATION_ERROR_NONE;
noti_err = notification_clear(NOTIFICATION_TYPE_NOTI);
notification_op_data_type_e type,
void *data);
-
/**
* @brief This function will be deprecated.
* @see notification_set_app_id()
* @code
#include <notification.h>
...
- {
+{
int noti_err = NOTIFICATION_ERROR_NONE;
noti_err = notification_delete_all_by_type(NULL, NOTIFICATION_TYPE_NOTI);
* @code
#include <notification.h>
...
- {
+{
int noti_err = NOTIFICATION_ERROR_NONE;
noti_err = notification_insert(noti, NULL);
* @code
#include <notification.h>
...
- {
+{
int noti_err = NOTIFICATION_ERROR_NONE;
noti_err = notification_update_async(NULL, result_cb, data);
int notification_unregister_detailed_changed_cb_for_uid(
void (*detailed_changed_cb)(void *data, notification_type_e type, notification_op *op_list, int num_op),
void *user_data, uid_t uid);
+
/**
* @brief Sets the default button to display highlight on the notification.
* @since_tizen 3.0
NOTIFICATION_DEPRECATED_API
int notification_get_extention_data(notification_h noti, const char *key, bundle **value);
-/*
+/**
* @brief Sets the handler for a specific extension event.
* @details When some extension event occurs on notification, application launched by app_control_send_launch_request with app_control handle.
* @since_tizen 4.0
notification_event_type_extension_e event,
app_control_h event_handler);
-/*
+/**
* @brief Gets the handler for a specific extension event.
* @details When extension event occurs on notification, application launched by app_control_send_launch_request with app_control handle.
* @since_tizen 4.0