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);
822 * @return 0 on success, otherwise a negative error value
823 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
824 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
825 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
827 int system_setting_set_locale_timezone(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
832 * @return 0 on success, otherwise a negative error value
833 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
834 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
835 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
837 int system_setting_set_changed_callback_locale_timezone(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
842 * @return 0 on success, otherwise a negative error value
843 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
844 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
845 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
847 int system_setting_unset_changed_callback_locale_timezone(system_settings_key_e key);
854 * @return 0 on success, otherwise a negative error value
855 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
856 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
857 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
859 int system_setting_set_changed_callback_locale_timezone_changed(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
863 * @return 0 on success, otherwise a negative error value
864 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
865 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
866 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
868 int system_setting_unset_changed_callback_locale_timezone_changed(system_settings_key_e key);
873 * @return 0 on success, otherwise a negative error value
874 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
875 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
876 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
878 int system_setting_get_time_changed(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
882 * @return 0 on success, otherwise a negative error value
883 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
884 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
885 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
887 int system_setting_set_changed_callback_time_changed(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
891 * @return 0 on success, otherwise a negative error value
892 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
893 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
894 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
896 int system_setting_unset_changed_callback_time_changed(system_settings_key_e key);
902 * @return 0 on success, otherwise a negative error value
903 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
904 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
905 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
907 int system_setting_get_sound_lock(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
911 * @return 0 on success, otherwise a negative error value
912 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
913 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
914 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
916 int system_setting_set_changed_callback_sound_lock(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
920 * @return 0 on success, otherwise a negative error value
921 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
922 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
923 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
925 int system_setting_unset_changed_callback_sound_lock(system_settings_key_e key);
930 * @return 0 on success, otherwise a negative error value
931 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
932 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
933 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
935 int system_setting_get_sound_silent_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
940 * @return 0 on success, otherwise a negative error value
941 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
942 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
943 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
945 int system_setting_set_sound_silent_mode(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
950 * @return 0 on success, otherwise a negative error value
951 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
952 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
953 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
955 int system_setting_set_changed_callback_sound_silent_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
959 * @return 0 on success, otherwise a negative error value
960 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
961 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
962 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
964 int system_setting_unset_changed_callback_sound_silent_mode(system_settings_key_e key);
969 * @return 0 on success, otherwise a negative error value
970 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
971 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
972 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
974 int system_setting_get_sound_touch(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
978 * @return 0 on success, otherwise a negative error value
979 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
980 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
981 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
983 int system_setting_set_changed_callback_sound_touch(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
987 * @return 0 on success, otherwise a negative error value
988 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
989 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
990 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
992 int system_setting_unset_changed_callback_sound_touch(system_settings_key_e key);
997 * @return 0 on success, otherwise a negative error value
998 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
999 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1000 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1002 int system_setting_get_auto_rotation_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1006 * @return 0 on success, otherwise a negative error value
1007 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1008 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1009 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1011 int system_setting_set_auto_rotation_mode(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1015 * @return 0 on success, otherwise a negative error value
1016 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1017 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1018 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1020 int system_setting_set_changed_callback_auto_rotation_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1024 * @return 0 on success, otherwise a negative error value
1025 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1026 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1027 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1029 int system_setting_unset_changed_callback_auto_rotation_mode(system_settings_key_e key);
1034 * @return 0 on success, otherwise a negative error value
1035 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1036 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1037 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1039 int system_setting_get_screen_backlight_time(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1043 * @return 0 on success, otherwise a negative error value
1044 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1045 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1046 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1048 int system_setting_set_screen_backlight_time(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1052 * @return 0 on success, otherwise a negative error value
1053 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1054 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1055 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1057 int system_setting_set_changed_callback_screen_backlight_time(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1061 * @return 0 on success, otherwise a negative error value
1062 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1063 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1064 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1066 int system_setting_unset_changed_callback_screen_backlight_time(system_settings_key_e key);
1071 * @return 0 on success, otherwise a negative error value
1072 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1073 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1074 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1076 int system_setting_get_sound_notification(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1080 * @return 0 on success, otherwise a negative error value
1081 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1082 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1083 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1085 int system_setting_set_sound_notification(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1089 * @return 0 on success, otherwise a negative error value
1090 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1091 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1092 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1094 int system_setting_set_changed_callback_sound_notification(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1098 * @return 0 on success, otherwise a negative error value
1099 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1100 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1101 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1103 int system_setting_unset_changed_callback_sound_notification(system_settings_key_e key);
1108 * @return 0 on success, otherwise a negative error value
1109 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1110 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1111 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1113 int system_setting_get_notification_repetition_period(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1117 * @return 0 on success, otherwise a negative error value
1118 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1119 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1120 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1122 int system_setting_set_notification_repetition_period(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1126 * @return 0 on success, otherwise a negative error value
1127 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1128 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1129 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1131 int system_setting_set_changed_callback_notification_repetition_period(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1135 * @return 0 on success, otherwise a negative error value
1136 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1137 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1138 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1140 int system_setting_unset_changed_callback_notification_repetition_period(system_settings_key_e key);
1145 * @return 0 on success, otherwise a negative error value
1146 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1147 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1148 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1150 int system_setting_get_device_name(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1154 * @return 0 on success, otherwise a negative error value
1155 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1156 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1157 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1159 int system_setting_set_changed_callback_device_name(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1164 * @return 0 on success, otherwise a negative error value
1165 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1166 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1167 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1169 int system_setting_unset_changed_callback_device_name(system_settings_key_e key);
1174 * @return 0 on success, otherwise a negative error value
1175 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1176 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1177 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1179 int system_setting_get_network_flight_mode(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1184 * @return 0 on success, otherwise a negative error value
1185 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1186 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1187 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1189 int system_setting_set_changed_callback_network_flight_mode(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1194 * @return 0 on success, otherwise a negative error value
1195 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1196 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1197 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1199 int system_setting_unset_changed_callback_network_flight_mode(system_settings_key_e key);
1206 * @return 0 on success, otherwise a negative error value
1207 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1208 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1209 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1211 int system_setting_get_network_wifi_notification(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1216 * @return 0 on success, otherwise a negative error value
1217 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1218 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1219 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1221 int system_setting_set_changed_callback_network_wifi_notification(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1226 * @return 0 on success, otherwise a negative error value
1227 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1228 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1229 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1231 int system_setting_unset_changed_callback_network_wifi_notification(system_settings_key_e key);
1236 * @brief get current Idle Lock State
1237 * @since_tizen 2.3.1
1238 * @return 0 on success, otherwise a negative error value
1239 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1240 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1241 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1243 int system_setting_get_lock_state(system_settings_key_e key, system_setting_data_type_e data_type, void **value);
1248 * @return 0 on success, otherwise a negative error value
1249 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1250 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1251 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1253 int system_setting_set_lock_state(system_settings_key_e key, system_setting_data_type_e data_type, void *value);
1258 * @return 0 on success, otherwise a negative error value
1259 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1260 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1261 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1263 int system_setting_set_changed_callback_lock_state(system_settings_key_e key, system_settings_changed_cb callback, void *user_data);
1268 * @return 0 on success, otherwise a negative error value
1269 * @retval #SYSTEM_SETTINGS_ERROR_NONE Successful
1270 * @retval #SYSTEM_SETTINGS_ERROR_IO_ERROR Internal I/O error
1271 * @retval #SYSTEM_SETTINGS_ERROR_PERMISSION_DENIED Permission violation error
1273 int system_setting_unset_changed_callback_lock_state(system_settings_key_e key);
1283 #endif /* __TIZEN_SYSTEM_SETTING_PRIVATE_H__ */