fixed wrong link
[platform/framework/native/appfw.git] / inc / FSysSettingInfo.h
index f8048a5..ee79f58 100644 (file)
@@ -211,7 +211,7 @@ public:
         *
         * @since 2.0
         *
-        * @privilege   public
+        * @privlevel   public
         * @privilege   %http://tizen.org/privilege/setting
         *
         * @return      An error code
@@ -231,7 +231,7 @@ public:
         *
         * @since 2.0
         *
-        * @privilege   public
+        * @privlevel   public
         * @privilege   %http://tizen.org/privilege/setting
         *
         * @return      An error code
@@ -251,7 +251,7 @@ public:
         *
         * @since 2.0
         *
-        * @privilege   public
+        * @privlevel   public
         * @privilege   %http://tizen.org/privilege/setting
         *
         * @return      An error code
@@ -271,7 +271,7 @@ public:
         *
         * @since       2.0
         *
-        * @privilege   public
+        * @privlevel   public
         * @privilege   %http://tizen.org/privilege/setting
         *
         * @return      An error code
@@ -289,7 +289,7 @@ public:
         *
         * @since       2.0
         *
-        * @privilege   public
+        * @privlevel   public
         * @privilege   %http://tizen.org/privilege/setting
         *
         * @return      An error code
@@ -306,7 +306,7 @@ public:
         *
         * @since       2.0
         *
-        * @privilege   public
+        * @privlevel   public
         * @privilege   %http://tizen.org/privilege/setting
         *
         * @return      An error code
@@ -355,7 +355,8 @@ public:
         * @since 2.0
         *
         * @privlevel   platform
-        * @privilege   %http://tizen.org/privilege/systemsetting.read
+        * @privilege   %http://tizen.org/privilege/settingmanager.read @n
+        *              (%http://tizen.org/privilege/systemsetting.read is deprecated.)
         *
         * @return      An error code
         * @param[in]   key     The <a href="../org.tizen.native.appprogramming/html/guide/system/settings_info.htm">key name</a> of the setting information
@@ -374,7 +375,8 @@ public:
         * @since 2.0
         *
         * @privlevel   platform
-        * @privilege   %http://tizen.org/privilege/systemsetting.write
+        * @privilege   %http://tizen.org/privilege/settingmanager.write @n
+        *              (%http://tizen.org/privilege/systemsetting.write is deprecated.)
         *
         * @return      An error code
         * @param[in]   key     The <a href="../org.tizen.native.appprogramming/html/guide/system/settings_info.htm">key name</a> of the setting information
@@ -393,7 +395,8 @@ public:
         *
         * @since 2.0
         * @privlevel   platform
-        * @privilege   %http://tizen.org/privilege/systemsetting.write
+        * @privilege   %http://tizen.org/privilege/settingmanager.write @n
+        *              (%http://tizen.org/privilege/systemsetting.write is deprecated.)
         *
         * @return      An error code
         * @param[in]   key                     The <a href="../org.tizen.native.appprogramming/html/guide/system/settings_info.htm">key name</a> of the setting information
@@ -404,17 +407,45 @@ public:
         * @exception   E_INVALID_ARG           The specified @c value is invalid value.
         * @exception   E_OBJ_NOT_FOUND         The specified @c key is not found.
         * @exception   E_UNSUPPORTED_OPERATION The specified @c key is existed, However it is not supported by this device.
-        * @exception   E_SYSTEM                The method cannot proceed due to a severe system error.
+        * @exception   E_IN_PROGRESS           The specified key is under processing or invalid state.
+        * @exception   E_SYSTEM                Either of the following conditions has occured:
+        *                                      - The method cannot proceed due to a severe system error.
+        *                                      - This error can occur and Wi-Fi Directâ„¢ is not activated if the @c key is %http://tizen.org/setting/network.wifi.direct and Wi-Fi is activated.-
+Directâ„¢ is not activated if the @c key is %http://tizen.org/setting/network.wifi.direct and Wi-Fi is activated.
+
         */
        static result SetValueAsyncForPrivilegedKey(const Tizen::Base::String& key, bool value, ISettingInfoSetValueAsyncResultListener* listener);
 
        /**
+        * Sets the specific @c bool type setting information based on the specified designators (key) asynchronously.
+        *
+        * @since 2.0
+        * @privlevel   platform
+        * @privilege   %http://tizen.org/privilege/setting
+        *
+        * @return      An error code
+        * @param[in]   key                     The <a href="../org.tizen.native.appprogramming/html/guide/system/settings_info.htm">key name</a> of the setting information
+        * @param[in]   value                   The setting information of type bool
+        * @param[in]   listener                The result listener.
+        * @exception   E_SUCCESS               The method is successful.
+        * @exception   E_PRIVILEGED_DENIED     The application does not have the privilege to call this method.
+        * @exception   E_INVALID_ARG           The specified @c value is invalid value.
+        * @exception   E_OBJ_NOT_FOUND         The specified @c key is not found.
+        * @exception   E_UNSUPPORTED_OPERATION The specified @c key is existed, However it is not supported by this device.
+        * @exception   E_IN_PROGRESS           The specified key is under processing or invalid state.
+        * @exception   E_SYSTEM                The method cannot proceed due to a severe system error.
+        */
+       static result SetValueAsync(const Tizen::Base::String& key, bool value, ISettingInfoSetValueAsyncResultListener* listener);
+
+
+       /**
         * Sets the specific Tizen::Base::String type setting information based on the specified designators (key).
         *
         * @since 2.0
         *
         * @privlevel   platform
-        * @privilege   %http://tizen.org/privilege/systemsetting.write
+        * @privilege   %http://tizen.org/privilege/settingmanager.write @n
+        *              (%http://tizen.org/privilege/systemsetting.write is deprecated.)
         *
         * @return      An error code
         * @param[in]   key                     The <a href="../org.tizen.native.appprogramming/html/guide/system/settings_info.htm">key name</a> of the setting information
@@ -435,7 +466,8 @@ public:
         * @since 2.0
         *
         * @privlevel   platform
-        * @privilege   %http://tizen.org/privilege/systemsetting.write
+        * @privilege   %http://tizen.org/privilege/settingmanager.write @n
+        *              (%http://tizen.org/privilege/systemsetting.write is deprecated.)
         *
         * @return      An error code
         * @exception   E_SUCCESS               The method is successful.