2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __TIZEN_SYSTEM_SETTING_PRIVATE_H__
19 #define __TIZEN_SYSTEM_SETTING_PRIVATE_H__
32 #define LOG_TAG "SYSTEM-SETTINGS"
34 #define SYSTEM_SETTINGS_ENABLE_TRACE
36 #ifdef SYSTEM_SETTINGS_ENABLE_TRACE
39 #define SETTING_TRACE_DEBUG(fmt, arg...) \
41 SECURE_LOGD("\033[0;32mDEBUG: " fmt "\033[0m\n", ##arg);\
44 #define SETTING_TRACE(fmt, arg...) \
46 SECURE_LOGI("\033[0;36m" fmt "\033[0m\n", ##arg);\
49 #define SETTING_TRACE_BEGIN do {\
50 SECURE_LOGD("\033[0;35mENTER FUNCTION: %s. \033[0m\n", __FUNCTION__);\
53 #define SETTING_TRACE_END do {\
54 SECURE_LOGD("\033[0;35mEXIT FUNCTION: %s. \033[0m\n", __FUNCTION__);\
57 #define SETTING_TRACE_DEBUG(fmt, arg...)
58 #define SETTING_TRACE(fmt, arg...)
59 #define SETTING_TRACE_BEGIN
60 #define SETTING_TRACE_END
68 * Enumeration for data type of internal getter/setter.
71 SYSTEM_SETTING_DATA_TYPE_STRING, /**< string */
72 SYSTEM_SETTING_DATA_TYPE_INT, /**< integer */
73 SYSTEM_SETTING_DATA_TYPE_BOOL, /**< boolean */
75 /*SYSTEM_SETTING_DATA_TYPE_FLOAT, */
76 /*SYSTEM_SETTING_DATA_TYPE_DOULBE, */
79 system_setting_data_type_e;
85 * @return 0 on success, otherwise a negative error value
86 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
87 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
88 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
89 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
91 typedef int (*system_setting_get_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
96 * @return 0 on success, otherwise a negative error value
97 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
98 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
99 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
100 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
102 typedef int (*system_setting_set_value_cb)(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
107 * @return 0 on success, otherwise a negative error value
108 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
109 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
110 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
111 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
113 typedef int (*system_setting_set_changed_callback_cb)(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
118 * @return 0 on success, otherwise a negative error value
119 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
120 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
121 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
122 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
124 typedef int (*system_setting_unset_changed_callback_cb)(system_settings_key_e key);
130 * @return 0 on success, otherwise a negative error value
131 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
132 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
133 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
136 system_settings_key_e key; /**< key */
137 system_setting_data_type_e data_type; /**< data type */
138 system_setting_get_value_cb get_value_cb; /**< function pointer for getter */
139 system_setting_set_value_cb set_value_cb; /**< function pointer for setter */
141 system_setting_set_changed_callback_cb set_changed_cb; /**< function pointer to register for notification callback */
142 system_setting_unset_changed_callback_cb unset_changed_cb ; /**< function pointer to un-register for notification callback */
144 system_settings_changed_cb changed_cb; /* registered by user application */
145 void *user_data; /* user_data */
149 typedef system_setting_s *system_setting_h;
155 * @return 0 on success, otherwise a negative error value
156 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
157 * @retval #SYSTEM_SETTINGS_ERROR_INVALID_PARAMETER Invalid parameter
158 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
159 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
161 int system_settings_get_item(system_settings_key_e key, system_setting_h *item);
168 * @brief get vconf of in type value
171 * @param[in] vconf_key string
172 * @param[out] value get the integer type value
174 * @return 0 on success, -1 on error
175 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
177 int system_setting_vconf_get_value_int(const char *vconf_key, int *value);
181 * @brief get vconf of in bool value
184 * @param[in] vconf_key string
185 * @param[out] value get the bool type value
187 * @return 0 on success, -1 on error
188 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
190 int system_setting_vconf_get_value_bool(const char *vconf_key, bool *value);
194 * @brief get vconf of string type value
197 * @param[in] vconf_key string
198 * @param[out] value get the string(char*) type value
200 * @return 0 on success, -1 on error
201 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
203 int system_setting_vconf_get_value_string(const char *vconf_key, char **value);
207 * @brief set the int type vconf value
210 * @param[in] vconf_key key name
211 * @param[in] value int type value
213 * @return 0 on success, -1 on error
214 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
216 int system_setting_vconf_set_value_int(const char *vconf_key, int value);
220 * @brief set the bool type vconf value
223 * @param[in] vconf_key key name
224 * @param[in] value bool type value
226 * @return 0 on success, -1 on error
227 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
229 int system_setting_vconf_set_value_bool(const char *vconf_key, bool value);
233 * @brief set the string type vconf value
236 * @param[in] vconf_key key name
237 * @param[in] value string type value
239 * @return 0 on success, -1 on error
240 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
242 int system_setting_vconf_set_value_string(const char *vconf_key, char *value);
246 * @brief Set the system settings notification callback
248 * @param[in] vconf_key
250 * @param[in] slot internal slot to set the key (0~4)
251 * @param[in] user_data user data
252 * @return 0 on success, otherwise a negative error value
253 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
254 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
255 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
257 int system_setting_vconf_set_changed_cb(const char *vconf_key, system_settings_key_e key, int slot, void *user_data);
261 * @brief Unset the system settings notification callback
263 * @param[in] vconf_key vconf key name used in the code
264 * @param[in] slot internal slot to set the key (0~4)
265 * @return 0 on success, otherwise a negative error value
266 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
267 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
268 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
270 int system_setting_vconf_unset_changed_cb(const char *vconf_key, int slot);
274 * @brief get current font size
276 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_SIZE
277 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_INT
278 * @return 0 on success, otherwise a negative error value
279 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
280 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
281 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
283 int system_setting_get_font_size(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
287 * @brief set current font size
289 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_SIZE
290 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_INT
291 * @param[out] value the font size
292 * @return 0 on success, otherwise a negative error value
293 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
294 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
295 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
297 int system_setting_set_font_size(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
302 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
304 int system_setting_set_changed_callback_font_size(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
309 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
311 int system_setting_unset_changed_callback_font_size(system_settings_key_e key);
318 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
320 int system_setting_get_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
324 * @brief set current path of the ringtone
326 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_INCOMING_CALL_RINGTONE
327 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
328 * @param[out] value the ringtone
329 * @return 0 on success, otherwise a negative error value
330 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
331 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
332 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
334 int system_setting_set_incoming_call_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
339 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
341 int system_setting_set_changed_callback_incoming_call_ringtone(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
346 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
348 int system_setting_unset_changed_callback_incoming_call_ringtone(system_settings_key_e key);
354 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
356 int system_setting_get_email_alert_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
360 * @brief set current path of the email-alert
362 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_EMAIL_ALERT_RINGTONE
363 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
364 * @param[out] value the alert ringtone
365 * @return 0 on success, otherwise a negative error value
366 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
367 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
368 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
370 int system_setting_set_email_alert_ringtone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
375 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
377 int system_setting_set_changed_callback_email_alert_ringtone(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
382 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
384 int system_setting_unset_changed_callback_email_alert_ringtone(system_settings_key_e key);
391 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
393 int system_setting_get_wallpaper_home_screen(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
397 * @brief set current path of the wallpaper
399 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_WALLPAPER_HOME_SCREEN
400 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
401 * @param[out] value the wallpaper
402 * @return 0 on success, otherwise a negative error value
403 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
404 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
405 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
407 int system_setting_set_wallpaper_home_screen(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
412 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
414 int system_setting_set_changed_callback_wallpaper_home_screen(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
419 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
421 int system_setting_unset_changed_callback_wallpaper_home_screen(system_settings_key_e key);
428 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
430 int system_setting_get_wallpaper_lock_screen(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
434 * @brief set current path of the bg image of the lock screen
436 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_WALLPAPER_LOCK_SCREEN
437 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
438 * @param[out] value the lock screen
439 * @return 0 on success, otherwise a negative error value
440 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
441 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
442 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
444 int system_setting_set_wallpaper_lock_screen(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
449 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
451 int system_setting_set_changed_callback_wallpaper_lock_screen(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
456 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
458 int system_setting_unset_changed_callback_wallpaper_lock_screen(system_settings_key_e key);
464 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
466 int system_setting_get_default_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
472 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
474 int system_setting_get_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
478 * @brief set name of the font name
480 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_FONT_TYPE
481 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_STRING
482 * @param[out] value the font type
483 * @return 0 on success, otherwise a negative error value
484 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
485 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
486 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
488 int system_setting_set_font_type(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
493 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
495 int system_setting_set_changed_callback_font_type(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
500 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
502 int system_setting_unset_changed_callback_font_type(system_settings_key_e key);
508 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
510 int system_setting_get_motion_activation(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
514 * @brief set on/off of the motion activation
516 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_MOTION_ACTIVATION
517 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_BOOL
518 * @param[out] value the motion activation
519 * @return 0 on success, otherwise a negative error value
520 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
521 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
522 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
524 int system_setting_set_motion_activation(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
529 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
531 int system_setting_set_changed_callback_motion_activation(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
536 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
538 int system_setting_unset_changed_callback_motion_activation(system_settings_key_e key);
544 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
546 int system_setting_get_usb_debugging_option(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
550 * @brief set on/off of the debugging options
552 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_USB_DEBUGGING_ENABLED
553 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_BOOL
554 * @param[out] value the usb debug option
555 * @return 0 on success, otherwise a negative error value
556 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
557 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
558 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
560 int system_setting_set_usb_debugging_option(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
565 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
567 int system_setting_set_changed_callback_usb_debugging_option(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
572 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
574 int system_setting_unset_changed_callback_usb_debugging_option(system_settings_key_e key);
580 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
582 int system_setting_get_3g_data_network(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
586 * @brief set on/off of the 3G data network option
588 * @param[in] key key name should be SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED
589 * @param[in] datatype should be SYSTEM_SETTING_DATA_TYPE_BOOL
590 * @param[out] value the 3G data network option
591 * @return 0 on success, otherwise a negative error value
592 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
593 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
594 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
596 int system_setting_set_3g_data_network(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
601 * @return 0 on success, otherwise a negative error value
602 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
603 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
604 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
606 int system_setting_set_changed_callback_3g_data_network(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
611 * @return 0 on success, otherwise a negative error value
612 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
613 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
614 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
616 int system_setting_unset_changed_callback_3g_data_network(system_settings_key_e key);
621 * @return 0 on success, otherwise a negative error value
622 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
623 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
624 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
626 int system_setting_get_tap_and_hold_delay(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
631 * @return 0 on success, otherwise a negative error value
632 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
633 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
634 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
636 int system_setting_set_tap_and_hold_delay(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
641 * @return 0 on success, otherwise a negative error value
642 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
643 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
644 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
646 int system_setting_set_changed_callback_tap_and_hold_delay(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
651 * @return 0 on success, otherwise a negative error value
652 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
653 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
654 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
656 int system_setting_unset_changed_callback_tap_and_hold_delay(system_settings_key_e key);
661 * @return 0 on success, otherwise a negative error value
662 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
663 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
664 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
666 int system_setting_get_lockscreen_app(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
671 * @return 0 on success, otherwise a negative error value
672 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
673 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
674 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
676 int system_setting_set_lockscreen_app(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
681 * @return 0 on success, otherwise a negative error value
682 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
683 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
684 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
686 int system_setting_set_changed_callback_lockscreen_app(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
691 * @return 0 on success, otherwise a negative error value
692 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
693 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
694 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
696 int system_setting_unset_changed_callback_lockscreen_app(system_settings_key_e key);
701 * @return 0 on success, otherwise a negative error value
702 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
703 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
704 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
706 int system_setting_get_locale_country(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
710 * @return 0 on success, otherwise a negative error value
711 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
712 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
713 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
715 int system_setting_set_locale_country(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
719 * @return 0 on success, otherwise a negative error value
720 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
721 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
722 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
724 int system_setting_set_changed_callback_locale_country(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
728 * @return 0 on success, otherwise a negative error value
729 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
730 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
731 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
733 int system_setting_unset_changed_callback_locale_country(system_settings_key_e key);
738 * @return 0 on success, otherwise a negative error value
739 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
740 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
741 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
743 int system_setting_get_locale_language(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
747 * @return 0 on success, otherwise a negative error value
748 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
749 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
750 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
752 int system_setting_set_locale_language(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
756 * @return 0 on success, otherwise a negative error value
757 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
758 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
759 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
761 int system_setting_set_changed_callback_locale_language(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
765 * @return 0 on success, otherwise a negative error value
766 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
767 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
768 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
770 int system_setting_unset_changed_callback_locale_language(system_settings_key_e key);
775 * @return 0 on success, otherwise a negative error value
776 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
777 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
778 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
780 int system_setting_get_locale_timeformat_24hour(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
784 * @return 0 on success, otherwise a negative error value
785 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
786 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
787 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
789 int system_setting_set_locale_timeformat_24hour(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
793 * @return 0 on success, otherwise a negative error value
794 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
795 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
796 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
798 int system_setting_set_changed_callback_locale_timeformat_24hour(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
802 * @return 0 on success, otherwise a negative error value
803 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
804 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
805 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
807 int system_setting_unset_changed_callback_locale_timeformat_24hour(system_settings_key_e key);
812 * @return 0 on success, otherwise a negative error value
813 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
814 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
815 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
817 int system_setting_get_locale_timezone(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
821 * @return 0 on success, otherwise a negative error value
822 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
823 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
824 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
826 int system_setting_set_changed_callback_locale_timezone_changed(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
830 * @return 0 on success, otherwise a negative error value
831 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
832 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
833 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
835 int system_setting_unset_changed_callback_locale_timezone_changed(system_settings_key_e key);
840 * @return 0 on success, otherwise a negative error value
841 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
842 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
843 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
845 int system_setting_get_time_changed(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
849 * @return 0 on success, otherwise a negative error value
850 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
851 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
852 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
854 int system_setting_set_changed_callback_time_changed(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
858 * @return 0 on success, otherwise a negative error value
859 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
860 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
861 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
863 int system_setting_unset_changed_callback_time_changed(system_settings_key_e key);
869 * @return 0 on success, otherwise a negative error value
870 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
871 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
872 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
874 int system_setting_get_sound_lock(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
878 * @return 0 on success, otherwise a negative error value
879 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
880 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
881 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
883 int system_setting_set_changed_callback_sound_lock(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
887 * @return 0 on success, otherwise a negative error value
888 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
889 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
890 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
892 int system_setting_unset_changed_callback_sound_lock(system_settings_key_e key);
897 * @return 0 on success, otherwise a negative error value
898 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
899 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
900 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
902 int system_setting_get_sound_silent_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
907 * @return 0 on success, otherwise a negative error value
908 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
909 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
910 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
912 int system_setting_set_sound_silent_mode(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
917 * @return 0 on success, otherwise a negative error value
918 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
919 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
920 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
922 int system_setting_set_changed_callback_sound_silent_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
926 * @return 0 on success, otherwise a negative error value
927 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
928 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
929 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
931 int system_setting_unset_changed_callback_sound_silent_mode(system_settings_key_e key);
936 * @return 0 on success, otherwise a negative error value
937 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
938 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
939 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
941 int system_setting_get_sound_touch(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
945 * @return 0 on success, otherwise a negative error value
946 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
947 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
948 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
950 int system_setting_set_changed_callback_sound_touch(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
954 * @return 0 on success, otherwise a negative error value
955 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
956 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
957 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
959 int system_setting_unset_changed_callback_sound_touch(system_settings_key_e key);
964 * @return 0 on success, otherwise a negative error value
965 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
966 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
967 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
969 int system_setting_get_auto_rotation_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
973 * @return 0 on success, otherwise a negative error value
974 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
975 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
976 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
978 int system_setting_set_auto_rotation_mode(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
982 * @return 0 on success, otherwise a negative error value
983 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
984 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
985 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
987 int system_setting_set_changed_callback_auto_rotation_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
991 * @return 0 on success, otherwise a negative error value
992 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
993 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
994 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
996 int system_setting_unset_changed_callback_auto_rotation_mode(system_settings_key_e key);
1001 * @return 0 on success, otherwise a negative error value
1002 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1003 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1004 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1006 int system_setting_get_screen_backlight_time(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1010 * @return 0 on success, otherwise a negative error value
1011 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1012 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1013 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1015 int system_setting_set_screen_backlight_time(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1019 * @return 0 on success, otherwise a negative error value
1020 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1021 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1022 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1024 int system_setting_set_changed_callback_screen_backlight_time(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1028 * @return 0 on success, otherwise a negative error value
1029 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1030 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1031 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1033 int system_setting_unset_changed_callback_screen_backlight_time(system_settings_key_e key);
1038 * @return 0 on success, otherwise a negative error value
1039 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1040 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1041 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1043 int system_setting_get_sound_notification(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1047 * @return 0 on success, otherwise a negative error value
1048 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1049 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1050 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1052 int system_setting_set_sound_notification(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1056 * @return 0 on success, otherwise a negative error value
1057 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1058 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1059 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1061 int system_setting_set_changed_callback_sound_notification(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1065 * @return 0 on success, otherwise a negative error value
1066 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1067 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1068 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1070 int system_setting_unset_changed_callback_sound_notification(system_settings_key_e key);
1075 * @return 0 on success, otherwise a negative error value
1076 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1077 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1078 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1080 int system_setting_get_notification_repetition_period(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1084 * @return 0 on success, otherwise a negative error value
1085 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1086 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1087 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1089 int system_setting_set_notification_repetition_period(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1093 * @return 0 on success, otherwise a negative error value
1094 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1095 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1096 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1098 int system_setting_set_changed_callback_notification_repetition_period(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1102 * @return 0 on success, otherwise a negative error value
1103 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1104 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1105 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1107 int system_setting_unset_changed_callback_notification_repetition_period(system_settings_key_e key);
1112 * @return 0 on success, otherwise a negative error value
1113 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1114 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1115 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1117 int system_setting_get_device_name(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1121 * @return 0 on success, otherwise a negative error value
1122 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1123 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1124 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1126 int system_setting_set_changed_callback_device_name(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1131 * @return 0 on success, otherwise a negative error value
1132 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1133 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1134 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1136 int system_setting_unset_changed_callback_device_name(system_settings_key_e key);
1141 * @return 0 on success, otherwise a negative error value
1142 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1143 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1144 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1146 int system_setting_get_network_flight_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1151 * @return 0 on success, otherwise a negative error value
1152 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1153 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1154 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1156 int system_setting_set_changed_callback_network_flight_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1161 * @return 0 on success, otherwise a negative error value
1162 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1163 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1164 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1166 int system_setting_unset_changed_callback_network_flight_mode(system_settings_key_e key);
1173 * @return 0 on success, otherwise a negative error value
1174 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1175 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1176 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1178 int system_setting_get_network_wifi_notification(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1183 * @return 0 on success, otherwise a negative error value
1184 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1185 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1186 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1188 int system_setting_set_changed_callback_network_wifi_notification(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1193 * @return 0 on success, otherwise a negative error value
1194 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1195 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1196 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1198 int system_setting_unset_changed_callback_network_wifi_notification(system_settings_key_e key);
1203 * @brief get current Idle Lock State
1204 * @since_tizen 2.3.1
1205 * @return 0 on success, otherwise a negative error value
1206 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1207 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1208 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1210 int system_setting_get_lock_state(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1215 * @return 0 on success, otherwise a negative error value
1216 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1217 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1218 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1220 int system_setting_set_lock_state(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1225 * @return 0 on success, otherwise a negative error value
1226 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1227 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1228 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1230 int system_setting_set_changed_callback_lock_state(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1235 * @return 0 on success, otherwise a negative error value
1236 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1237 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1238 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1240 int system_setting_unset_changed_callback_lock_state(system_settings_key_e key);
1250 #endif /* __TIZEN_SYSTEM_SETTING_PRIVATE_H__ */