--- /dev/null
+/*
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @ingroup CAPI_APPLICATION_FRAMEWORK
+ * @defgroup NOTIFICATION_EX_MODULE Notification EX
+ * @brief Notification_ex APIs.
+ * @section NOTIFICATION_EX_MODULE_HEADER Required Header
+ * \#include <notification_ex.h>
+ *
+ * @section NOTIFICATION_EX_MODULE_OVERVIEW Overview
+ * A notification ex API is an expanded API of notification.
+ * This API provides functions for creating, inserting and updating notification.
+ */
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Header for all notification_ex APIs.
* @since_tizen 5.5
*/
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex action handle with app control handle.
* @details The notification_ex can define the action with noti_ex_action_h.
*/
int noti_ex_action_app_control_get(noti_ex_action_h handle, app_control_h *app_control);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex item handle with a button.
* @details The notification_ex item is the predefined type of notifications.
*/
int noti_ex_item_button_get_title(noti_ex_item_h handle, char **title);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Enumeration for notification_ex chat message type.
* @since_tizen 5.5
*/
int noti_ex_item_chat_message_get_message_type(noti_ex_item_h handle, noti_ex_item_chat_message_type_e *message_type);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex item handle with checkbox.
* @details The notification_ex item is the predefined type of notifications.
*/
int noti_ex_item_checkbox_is_checked(noti_ex_item_h handle, bool *checked);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex item handle for an entry item.
* @details The notification_ex item is the predefined type of notifications.
*/
int noti_ex_item_entry_set_text(noti_ex_item_h handle, const char *text);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Enumeration for the type of notification_ex event.
* @since_tizen 5.5
*/
int noti_ex_event_info_get_request_id(noti_ex_event_info_h handle, int *req_id);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the group of notification_ex items.
* @details The notification_ex item is the predefined type of notifications.
int noti_ex_item_group_foreach_child(noti_ex_item_h handle,
noti_ex_item_group_foreach_child_cb callback, void *user_data);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex item handle with an image.
* @details The notification_ex item is the predefined type of notifications.
*/
int noti_ex_item_image_get_image_path(noti_ex_item_h handle, char **image_path);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex item handle with input selector.
* @details The notification_ex item is the predefined type of notifications.
*/
int noti_ex_item_input_selector_set_contents(noti_ex_item_h handle, const char **contents, int count);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Predefined receiver group for the Ticker.
* @since_tizen 5.5
*/
int noti_ex_item_set_tag(noti_ex_item_h handle, const char *tag);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief The notification_ex manager handle.
* @since_tizen 5.5
*/
int noti_ex_manager_get_notification_count(noti_ex_manager_h handle, int *cnt);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex item handle with progress.
* @details The notification_ex item is the predefined type of notifications.
*/
int noti_ex_item_progress_get_max(noti_ex_item_h handle, float *max);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief The notification_ex reporter handle.
* @since_tizen 5.5
int noti_ex_reporter_find_by_root_id(noti_ex_reporter_h handle, const char *root_id,
noti_ex_item_h *item);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex item handle with text.
* @details The notification_ex item is the predefined type of notifications.
*/
int noti_ex_item_text_get_hyperlink(noti_ex_item_h handle, char **hyperlink);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex item handle with time.
* @details The notification_ex item is the predefined type of notifications.
*/
int noti_ex_item_time_get_time(noti_ex_item_h handle, time_t *time);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif
extern "C" {
#endif
+/**
+ * @addtogroup NOTIFICATION_EX_MODULE
+ * @{
+ */
+
/**
* @brief Creates the notification_ex action handle to control visibility.
* @details The notification_ex can define the action with noti_ex_action_h.
*/
int noti_ex_action_visibility_set(noti_ex_action_h handle, const char *id, bool visible);
+/**
+ * @}
+ */
+
#ifdef __cplusplus
}
#endif