2 * Copyright (c) 2016 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.
17 namespace Tizen.System
20 /// Enumeration for all the available system settings.
22 public enum SystemSettingsKeys : int
25 /// GET (string) The file path of the current ringtone.
27 IncomingCallRingtone = 0,
29 /// GET (string) The file path of the current home-screen wallpaper.
33 /// GET (string) The file path of the current lock-screen wallpaper.
37 /// GET (int) The current system font size.
41 /// GET (string) The current system font type.
45 /// GET (bool) Indicates whether the motion service is activated.
47 MotionActivationEnabled,
49 /// GET (string) The file path of the current email alert ringtone.
53 /// GET (bool) Indicates whether the USB debugging is enabled.
57 /// GET (bool) Indicates whether the 3G-data network is enabled.
61 /// GET (string) Indicates the lock-screen application package name.
63 LockscreenApp = Data3GNetworkEnabled + 2,
65 /// GET (string) The current system default font type (only supports Get).
69 /// GET (string) Indicates the current country setting in the <LANGUAGE>_<REGION> syntax.
70 /// The country setting is in the ISO 639-2 format,
71 /// and the region setting is in the ISO 3166-1 alpha-2 format.
75 /// GET (string) Indicates the current language setting in the <LANGUAGE>_<REGION> syntax.
76 /// The language setting is in the ISO 639-2 format,
77 /// and the region setting is in the ISO 3166-1 alpha-2 format.
81 /// GET (bool) Indicates whether the 24-hour clock is used.
82 /// If the value is false, the 12-hour clock is used.
84 LocaleTimeFormat24HourEnabled,
86 /// GET (string) Indicates the current time zone, for example, Pacific/Tahiti.
90 /// GET (int) Once system changes the time, this event occurs to notify the time change.
94 /// GET (bool) Indicates whether the screen lock sound is enabled on the device, for example, the LCD on or off sound.
98 /// GET (bool) Indicates whether the device is in the silent mode.
100 SoundSilentModeEnabled,
102 /// GET (bool) Indicates whether the screen touch sound is enabled on the device.
106 /// GET (bool) Indicates whether the rotation control is automatic.
108 DisplayScreenRotationAutoEnabled,
110 /// GET (string) Indicates the device name.
114 /// GET (bool) Indicates whether the device user has the enabled motion feature.
118 /// GET (bool) Indicates whether WiFi-related notifications are enabled on the device.
120 NetworkWifiNotificationEnabled,
122 /// GET (bool) Indicates whether the device is in the flight mode.
124 NetworkFlightModeEnabled,
126 /// GET (int) Indicates the backlight time (in seconds). The following values can be used: 15, 30, 60, 120, 300, and 600.
130 /// GET (string) Indicates the file path of the current notification tone set by the user.
134 /// GET (int) Indicates the time period for notification repetitions.
136 SoundNotificationRepetitionPeriod,
138 /// GET (int) Indicates the current lock state.
142 /// GET (string) Indicates the ADS ID for each device.
146 /// GET (int) Indicates the Ultra Data Save status, one of the #SystemSettingsUdsState values.
150 /// GET (string) Indicates the Ultra Data Save Package List. Since 4.0, the list is a string containing whitelisted package names separated with semicolons (;).
152 UltraDataSavePackageList
155 /// Enumeration for the Idle Lock State.
157 public enum SystemSettingsIdleLockState : int
160 /// The device is unlocked.
164 /// The device is locked.
168 /// The device is being locked.
173 /// Enumeration for the font size.
175 public enum SystemSettingsFontSize : int
199 /// Enumeration for the ultra data save.
201 public enum SystemSettingsUdsState : int
212 /// UDS On and the application is whitelisted.