summaryrefslogtreecommitdiff
path: root/include/notification_type.h
diff options
context:
space:
mode:
authorseungha.son <seungha.son@samsung.com>2016-08-16 17:11:25 +0900
committerseungha.son <seungha.son@samsung.com>2016-08-26 11:27:52 +0900
commit7072278bdfe20c5c77d92f69ecdaa60ff890a6b8 (patch)
treed29d59816a906ffc925d0de02dd53ae985708567 /include/notification_type.h
parent4bcd76fc6e07020d43639683f99b7be3c8925e4c (diff)
downloadnotification-7072278bdfe20c5c77d92f69ecdaa60ff890a6b8.tar.gz
notification-7072278bdfe20c5c77d92f69ecdaa60ff890a6b8.tar.bz2
notification-7072278bdfe20c5c77d92f69ecdaa60ff890a6b8.zip
Add new api to get notification block state
- The user can set notification block state in Setting application. The user can get notification block state that allow or block notifications by using this function. The "Block" means wether or not the ability to post notifications is blocked. But 'Do not disturb mode' means that Only notification on notification panel is allowed. Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: Id19d9b9d4a89d4693b2ae37a74c15b2543b0758a
Diffstat (limited to 'include/notification_type.h')
-rw-r--r--include/notification_type.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/notification_type.h b/include/notification_type.h
index 67db1f2..43e0252 100644
--- a/include/notification_type.h
+++ b/include/notification_type.h
@@ -423,6 +423,16 @@ typedef enum notification_permission_type {
} notification_permission_type_e;
/**
+ * @brief Enumeration for notification block state.
+ * @since_tizen 3.0
+ */
+typedef enum notification_block_state {
+ NOTIFICATION_BLOCK_STATE_ALLOWED = 0, /**< The app is allowed to post notifications */
+ NOTIFICATION_BLOCK_STATE_BLOCKED, /**< The app is not allowed to post any notifications */
+ NOTIFICATION_BLOCK_STATE_DO_NOT_DISTURB /**< User set do not disturb mode */
+} notification_block_state_e;
+
+/**
* @}
*/