Fix input value check of screen backlight time
[platform/core/api/system-settings.git] / include / system_settings.h
index 86dfbad..a97282f 100644 (file)
@@ -1,18 +1,18 @@
-/* * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+/*
+ * Copyright (c) 2011-2020 Samsung Electronics Co., Ltd All Rights Reserved
  *
- * Licensed under the Apache License, Version 2.0 (the License);
+ * 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,
+ * 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.
  */
-
 #ifndef __TIZEN_SYSTEM_SYSTEM_SETTINGS_H__
 #define __TIZEN_SYSTEM_SYSTEM_SETTINGS_H__
 
@@ -32,7 +32,6 @@ extern "C"
  * @{
  */
 
-
 /**
  * @brief Enumeration for system settings error.
  * @since_tizen 2.3
@@ -41,16 +40,14 @@ typedef enum {
        SYSTEM_SETTINGS_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
        SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
        SYSTEM_SETTINGS_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
-       SYSTEM_SETTINGS_ERROR_IO_ERROR =  TIZEN_ERROR_IO_ERROR, /**< Internal I/O error */
-       SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED =  TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
-       SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED =  TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported @if MOBILE (Since 2.3.1) @endif */
+       SYSTEM_SETTINGS_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< Internal I/O error */
+       SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
+       SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported @if MOBILE (Since 2.3.1) @endif */
        SYSTEM_SETTINGS_ERROR_CALL_UNSUPPORTED_API = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported @if MOBILE (Since 2.3.1) @endif */
 
        /* lock screen app error code */
        SYSTEM_SETTINGS_ERROR_LOCKSCREEN_APP_PASSWORD_MODE = TIZEN_ERROR_SYSTEM_SETTING | 0x01, /**< Current lock screen app set 'password' type */
-}
-system_settings_error_e;
-
+} system_settings_error_e;
 
 /**
  * @brief Enumeration for System Settings Key.
@@ -66,7 +63,7 @@ typedef enum {
        SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE,  /**< (string) The file path of the current email alert ringtone */
        SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED,      /**< (bool) Indicates whether the USB debugging is enabled (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
        SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED,  /**< (bool) Indicates whether the 3G data network is enabled (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
-       SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP = SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED+2,      /**< (string) Indicates lockscreen app pkg name  */
+       SYSTEM_SETTINGS_KEY_LOCKSCREEN_APP = SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED + 2,    /**< (string) Indicates lockscreen app pkg name  */
        SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE,/**< (string) The current system default font type (only support Get) */
        SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY,             /**< (string) Indicates the current country setting in the <LANGUAGE>_<REGION> syntax. The country setting is in the ISO 639-2 format, and the region setting is in the ISO 3166-1 alpha-2 format */
        SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE,    /**< (string) Indicates the current language setting in the <LANGUAGE>_<REGION> syntax. The language setting is in the ISO 639-2 format and the region setting is in the ISO 3166-1 alpha-2 format. */
@@ -88,11 +85,18 @@ typedef enum {
        SYSTEM_SETTINGS_KEY_ADS_ID, /**< (string) Indicates Ads ID for each device (Since 3.0) */
        SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE, /**< (int) Indicates Ultra Data Save status, one of #system_settings_uds_state_e values (Since 4.0) */
        SYSTEM_SETTINGS_KEY_ULTRA_DATA_SAVE_PKG_LIST, /**< (string) Indicates Ultra Data Save Package List (Since 4.0), the list is a string containing whitelisted package names separated with semicolons (;) */
+       SYSTEM_SETTINGS_KEY_ACCESSIBILITY_TTS,                          /**< GET (bool) Indicates whether the accessibility TTS is enabled on the device. (Since 4.0) */
+       SYSTEM_SETTINGS_KEY_VIBRATION,                          /**< (bool) Indicates whether vibration is enabled on the device. (Since 4.0) */
+       SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE,      /**< (bool) Indicates whether updating time automatically is enabled on the device. (Since 5.0) */
+       SYSTEM_SETTINGS_KEY_DEVELOPER_OPTION_STATE,     /**< (bool) Indicates whether developer option state is enabled on the device. (Since 5.0) */
+       SYSTEM_SETTINGS_KEY_ACCESSIBILITY_GRAYSCALE,    /**< (bool) Indicates whether accessibility grayscale is enabled on the device. (Since 5.5) */
+       SYSTEM_SETTINGS_KEY_ACCESSIBILITY_NEGATIVE_COLOR,       /**< (bool) Indicates whether accessibility negative color is enabled on the device. (Since 5.5) */
+       SYSTEM_SETTINGS_KEY_ROTARY_EVENT_ENABLED,       /**< (bool) Indicates whether rotary event is enabled on the device. (Since 5.5) */
        SYSTEM_SETTINGS_KEY_MAX,
 } system_settings_key_e;
 
 /**
- * @brief Enumeration for Idle Lock State
+ * @brief Enumeration for Idle Lock State.
  * @since_tizen 2.3.1
  */
 typedef enum {
@@ -101,7 +105,6 @@ typedef enum {
        SYSTEM_SETTINGS_LOCK_STATE_LAUNCHING_LOCK /**< Device is being locked */
 } system_settings_idle_lock_state_e;
 
-
 /**
  * @brief Enumeration for font size.
  * @since_tizen 2.3
@@ -115,7 +118,7 @@ typedef enum {
 } system_settings_font_size_e;
 
 /**
- * @brief Enumeration for Ultra Data Save
+ * @brief Enumeration for Ultra Data Save.
  * @since_tizen 4.0
  */
 typedef enum {
@@ -124,8 +127,6 @@ typedef enum {
        SYSTEM_SETTINGS_UDS_ON_WHITELISTED,             /**< UDS on and the app is whitelisted */
 } system_settings_uds_state_e;
 
-
-
 /**
  * @brief Called when the system settings changes.
  * @since_tizen 2.3
@@ -137,6 +138,9 @@ typedef enum {
  */
 typedef void (*system_settings_changed_cb)(system_settings_key_e key, void *user_data);
 
+
+typedef void* system_settings_cb_id;
+
 /**
  * @platform
  * @brief Sets the system settings value associated with the given key as an integer.
@@ -147,11 +151,11 @@ typedef void (*system_settings_changed_cb)(system_settings_key_e key, void *user
  * @param[in] key The key name of the system settings
  * @param[out] value The new system settings value of the given key
  * @return @c 0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
  */
 int system_settings_set_value_int(system_settings_key_e key, int value);
 
@@ -162,16 +166,15 @@ int system_settings_set_value_int(system_settings_key_e key, int value);
  * @param[in] key The key name of the system settings
  * @param[out] value The current system settings value of the given key
  * @return @c 0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
- * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this function since 2.3.1.
  */
 int system_settings_get_value_int(system_settings_key_e key, int *value);
 
-
 /**
  * @platform
  * @brief Sets the system settings value associated with the given key as a boolean.
@@ -182,11 +185,11 @@ int system_settings_get_value_int(system_settings_key_e key, int *value);
  * @param[in] key The key name of the system settings
  * @param[out] value The new system settings value of the given key
  * @return @c 0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
  */
 int system_settings_set_value_bool(system_settings_key_e key, bool value);
 
@@ -197,12 +200,12 @@ int system_settings_set_value_bool(system_settings_key_e key, bool value);
  * @param[in] key The key name of the system settings
  * @param[out] value The current system settings value of the given key
  * @return @c 0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
- * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this function since 2.3.1.
  */
 int system_settings_get_value_bool(system_settings_key_e key, bool *value);
 
@@ -216,11 +219,11 @@ int system_settings_get_value_bool(system_settings_key_e key, bool *value);
  * @param[in] key The key name of the system settings
  * @param[out] value The new system settings value of the given key
  * @return @c 0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
  */
 int system_settings_set_value_string(system_settings_key_e key, const char *value);
 
@@ -230,54 +233,53 @@ int system_settings_set_value_string(system_settings_key_e key, const char *valu
  * @remarks You must release @a value using free(). When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
  * @param[in] key The key name of the system settings
  * @param[out] value The current system settings value of the given key
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
- * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this function since 2.3.1.
  */
 int system_settings_get_value_string(system_settings_key_e key, char **value);
 
 /**
- * @brief Registers a change event callback for the given system settings key.
+ * @brief Sets a change event callback for the given system settings key.
  * @since_tizen 2.3
  * @remarks #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is not available for set_changed_cb. When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
  * @param[in] key The key name of the system settings
  * @param[in] callback The callback function to invoke
  * @param[in] user_data The user data to be passed to the callback function
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
  * @post system_settings_changed_cb() will be invoked.
  *
  * @see system_settings_unset_changed_cb()
  * @see system_settings_changed_cb()
- * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
+ * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this function since 2.3.1.
  *
 */
 int system_settings_set_changed_cb(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
 
 /**
- * @brief Unregisters the callback function.
+ * @brief Unsets the callback function.
  * @since_tizen 2.3
  * @remarks #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE is not available for set_changed_cb. When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
  * @param[in] key The key name of the system settings
- * @return     0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
  *
  * @see system_settings_set_changed_cb()
- * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this API since 2.3.1.
+ * @warning %http://tizen.org/privilege/systemsettings (public level privilege) <b>MUST NOT</b> be declared to use this function since 2.3.1.
  */
 int system_settings_unset_changed_cb(system_settings_key_e key);
 
-
 /**
  * @platform
  * @brief Called to get each string value from string typed list.
@@ -287,7 +289,7 @@ int system_settings_unset_changed_cb(system_settings_key_e key);
  * @param[in] cb_data  The user data passed from the foreach function
  * @return @c true to continue with the next iteration of the loop, otherwise false to break out of the loop
  */
-typedef bool (*system_settings_iter_cb)(int index, const charvalue, void *cb_data);
+typedef bool (*system_settings_iter_cb)(int index, const char *value, void *cb_data);
 
 /**
  * @platform
@@ -300,11 +302,11 @@ typedef bool (*system_settings_iter_cb)(int index, const char* value, void *cb_d
  * @param[in] callback The callback-function name for iteration
  * @param[in] user_data  The user data passed from caller-side
  * @return @c 0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
  */
 int system_settings_foreach_value_string(system_settings_key_e key, system_settings_iter_cb callback, void *user_data);
 
@@ -318,11 +320,11 @@ int system_settings_foreach_value_string(system_settings_key_e key, system_setti
  * @param[in] key The key name of the system settings
  * @param[in] value string typed value to be appended
  * @return @c 0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
  */
 int system_settings_add_value_string(system_settings_key_e key, const char *value);
 
@@ -336,19 +338,54 @@ int system_settings_add_value_string(system_settings_key_e key, const char *valu
  * @param[in] key The key name of the system settings
  * @param[in] value string typed value to be removed
  * @return @c 0 on success, otherwise a negative error value
- * @retval     #SYSTEM_SETTINGS_ERROR_NONE Successful
- * @retval     #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval     #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
- * @retval     #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
- * @retval     #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
+ * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
  */
 int system_settings_delete_value_string(system_settings_key_e key, const char *value);
 
 /**
+ * @brief Adds a change event callback for the given system settings key.
+ * @details The difference between this function and system_settings_set_changed_cb() is that system_settings_set_changed_cb() can set only one callback for a given key, while system_settings_add_changed_cb() can set multiple callbacks for a given key.
+ * @since_tizen 5.0
+ * @remarks The @a key cannot be #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE. When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
+
+ * @param[in] key The key name of the system settings
+ * @param[in] callback The callback function to invoke
+ * @param[in] user_data The user data to be passed to the callback function
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ * @post system_settings_changed_cb() will be invoked.
+ *
+ * @see system_settings_remove_changed_cb()
+ * @see system_settings_changed_cb()
+ *
+*/
+int system_settings_add_changed_cb(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
+
+/**
+ * @brief Removes a change event callback function.
+ * @details The difference between this function and system_settings_unset_changed_cb() is that system_settings_unset_changed_cb() unsets the callback set with system_settings_set_changed_cb(), while system_settings_remove_changed_cb() removes callbacks added with system_settings_add_changed_cb()
+ * @since_tizen 5.0
+ * @remarks The @a key cannot be #SYSTEM_SETTINGS_KEY_DEFAULT_FONT_TYPE. When the feature related to the @a key is not supported on the device, #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED will be returned.
+ * @param[in] key The key name of the system settings
+ * @param[in] callback The callback function to be removed
+ * @return 0 on success, otherwise a negative error value
+ * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
+ * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #SYSTEM_SETTINGS_ERROR_NOT_SUPPORTED The related feature is not supported on the device
+ *
+ * @see system_settings_add_changed_cb()
+ */
+int system_settings_remove_changed_cb(system_settings_key_e key, system_settings_changed_cb callback);
+/**
  * @}
  */
 
-
 #ifdef __cplusplus
 }
 #endif