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 /// <since_tizen> 3 </since_tizen>
23 public enum SystemSettingsKeys : int
26 /// GET (string) The file path of the current ringtone.
28 IncomingCallRingtone = 0,
30 /// GET (string) The file path of the current home-screen wallpaper.
34 /// GET (string) The file path of the current lock-screen wallpaper.
38 /// GET (int) The current system font size.
42 /// GET (string) The current system font type.
46 /// GET (bool) Indicates whether the motion service is activated.
48 MotionActivationEnabled,
50 /// GET (string) The file path of the current email alert ringtone.
54 /// GET (bool) Indicates whether the USB debugging is enabled.
58 /// GET (bool) Indicates whether the 3G-data network is enabled.
62 /// GET (string) Indicates the lock-screen application package name.
64 /// <since_tizen> 4 </since_tizen>
65 LockScreenApp = Data3GNetworkEnabled + 2,
67 /// GET (string) The current system default font type (only supports Get).
71 /// GET (string) Indicates the current country setting in the <LANGUAGE>_<REGION> syntax.
72 /// The country setting is in the ISO 639-2 format,
73 /// and the region setting is in the ISO 3166-1 alpha-2 format.
77 /// GET (string) Indicates the current language setting in the <LANGUAGE>_<REGION> syntax.
78 /// The language setting is in the ISO 639-2 format,
79 /// and the region setting is in the ISO 3166-1 alpha-2 format.
83 /// GET (bool) Indicates whether the 24-hour clock is used.
84 /// If the value is false, the 12-hour clock is used.
86 LocaleTimeFormat24HourEnabled,
88 /// GET (string) Indicates the current time zone, for example, Pacific/Tahiti.
92 /// GET (int) Once system changes the time, this event occurs to notify the time change.
96 /// GET (bool) Indicates whether the screen lock sound is enabled on the device, for example, the LCD on or off sound.
100 /// GET (bool) Indicates whether the device is in the silent mode.
102 SoundSilentModeEnabled,
104 /// GET (bool) Indicates whether the screen touch sound is enabled on the device.
108 /// GET (bool) Indicates whether the rotation control is automatic.
110 DisplayScreenRotationAutoEnabled,
112 /// GET (string) Indicates the device name.
116 /// GET (bool) Indicates whether the device user has the enabled motion feature.
120 /// GET (bool) Indicates whether WiFi-related notifications are enabled on the device.
122 NetworkWifiNotificationEnabled,
124 /// GET (bool) Indicates whether the device is in the flight mode.
126 NetworkFlightModeEnabled,
128 /// GET (int) Indicates the backlight time (in seconds). The following values can be used: 15, 30, 60, 120, 300, and 600.
132 /// GET (string) Indicates the file path of the current notification tone set by the user.
136 /// GET (int) Indicates the time period for notification repetitions.
138 SoundNotificationRepetitionPeriod,
140 /// GET (int) Indicates the current lock state.
144 /// GET (string) Indicates the ADS ID for each device.
148 /// GET (int) Indicates the Ultra Data Save status, one of the #SystemSettingsUdsState values.
152 /// GET (string) Indicates the Ultra Data Save Package List. Since 4.0, the list is a string containing whitelisted package names separated with semicolons (;).
154 UltraDataSavePackageList,
156 /// GET (bool) Indicates whether the accessibility TTS is enabled on the device.
158 /// <since_tizen> 4 </since_tizen>
159 AccessibilityTtsEnabled,
161 /// GET (bool) Indicates whether the Vibration is enabled on the device.
163 /// <since_tizen> 5 </since_tizen>
166 /// GET (bool) Indicates whether the AutomaticTimeUpdate is enabled on the device.
168 /// <since_tizen> 5 </since_tizen>
171 /// GET (bool) Indicates whether the Developer Option State is enabled on the device.
173 /// <since_tizen> 5 </since_tizen>
174 DeveloperOptionState,
176 /// GET (bool) Indicates whether accessibility grayscale is enabled on the device.
178 /// <since_tizen> 6 </since_tizen>
179 AccessibilityGrayscale,
181 /// GET (bool) Indicates whether accessibility negative color is enabled on the device.
183 /// <since_tizen> 6 </since_tizen>
184 AccessibilityNegativeColor
187 /// Enumeration for the Idle Lock State.
189 /// <since_tizen> 3 </since_tizen>
190 public enum SystemSettingsIdleLockState : int
193 /// The device is unlocked.
197 /// The device is locked.
201 /// The device is being locked.
206 /// Enumeration for the font size.
208 /// <since_tizen> 3 </since_tizen>
209 public enum SystemSettingsFontSize : int
233 /// Enumeration for the ultra data save.
235 /// <since_tizen> 3 </since_tizen>
236 public enum SystemSettingsUdsState : int
247 /// UDS On and the application is whitelisted.