diff options
author | Seungha Son <seungha.son@samsung.com> | 2017-12-07 14:04:29 +0900 |
---|---|---|
committer | Seungha Son <seungha.son@samsung.com> | 2017-12-08 12:58:44 +0900 |
commit | 281183845d3a9796555ff9fb0c5dccab1a428429 (patch) | |
tree | 4027239fdf70919380d735615c9234c869a0aed8 | |
parent | 878c66109b85a98540b1483c33b26e40701fb4af (diff) | |
download | notification-281183845d3a9796555ff9fb0c5dccab1a428429.tar.gz notification-281183845d3a9796555ff9fb0c5dccab1a428429.tar.bz2 notification-281183845d3a9796555ff9fb0c5dccab1a428429.zip |
Add decriptions for extension event api
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I485f40a61ed4d591e915006cb7f05034c1324756
-rwxr-xr-x | include/notification_internal.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/notification_internal.h b/include/notification_internal.h index b56cd6c..a07929d 100755 --- a/include/notification_internal.h +++ b/include/notification_internal.h @@ -1439,13 +1439,42 @@ int notification_set_extention_data(notification_h noti, const char *key, bundle 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 + * @param[in] noti The notification handle + * @param[in] event_type Event type + * @param[in] event_handler App control handle + * @return #NOTIFICATION_ERROR_NONE on success, + * otherwise any other value on failure + * @retval #NOTIFICATION_ERROR_NONE Success + * @retval #NOTIFICATION_ERROR_INVALID_PARAMETER Invalid parameter + * @retval #NOTIFICATION_ERROR_IO_ERROR I/O error + * @see #notification_event_type_extension_e + */ int notification_set_extension_event_handler(notification_h noti, 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 + * @param[in] noti The notification handle + * @param[in] event_type Event type + * @param[out] event_handler App control handle + * @return #NOTIFICATION_ERROR_NONE on success, + * otherwise any other value on failure + * @retval #NOTIFICATION_ERROR_NONE Success + * @retval #NOTIFICATION_ERROR_INVALID_PARAMETER Invalid parameter + * @retval #NOTIFICATION_ERROR_IO_ERROR I/O error + * @see #notification_event_type_extension_e + */ int notification_get_extension_event_handler(notification_h noti, notification_event_type_extension_e event, app_control_h *event_handler); + /** * @} */ |