/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Tizen.System { /// /// Enumeration for all the available system settings. /// public enum SystemSettingsKeys : int { /// /// GET (string) The file path of the current ringtone. /// IncomingCallRingtone = 0, /// /// GET (string) The file path of the current home-screen wallpaper. /// WallpaperHomeScreen, /// /// GET (string) The file path of the current lock-screen wallpaper. /// WallpaperLockScreen, /// /// GET (int) The current system font size. /// FontSize, /// /// GET (string) The current system font type. /// FontType, /// /// GET (bool) Indicates whether the motion service is activated. /// MotionActivationEnabled, /// /// GET (string) The file path of the current email alert ringtone. /// EmailAlertRingtone, /// /// GET (bool) Indicates whether the USB debugging is enabled. /// UsbDebuggingEnabled, /// /// GET (bool) Indicates whether the 3G-data network is enabled. /// Data3GNetworkEnabled, /// /// GET (string) Indicates the lock-screen application package name. /// LockscreenApp = Data3GNetworkEnabled + 2, /// /// GET (string) The current system default font type (only supports Get). /// DefaultFontType, /// /// GET (string) Indicates the current country setting in the <LANGUAGE>_<REGION> syntax. /// The country setting is in the ISO 639-2 format, /// and the region setting is in the ISO 3166-1 alpha-2 format. /// LocaleCountry, /// /// GET (string) Indicates the current language setting in the <LANGUAGE>_<REGION> syntax. /// The language setting is in the ISO 639-2 format, /// and the region setting is in the ISO 3166-1 alpha-2 format. /// LocaleLanguage, /// /// GET (bool) Indicates whether the 24-hour clock is used. /// If the value is false, the 12-hour clock is used. /// LocaleTimeFormat24HourEnabled, /// /// GET (string) Indicates the current time zone, for example, Pacific/Tahiti. /// LocaleTimeZone, /// /// GET (int) Once system changes the time, this event occurs to notify the time change. /// Time, /// /// GET (bool) Indicates whether the screen lock sound is enabled on the device, for example, the LCD on or off sound. /// SoundLockEnabled, /// /// GET (bool) Indicates whether the device is in the silent mode. /// SoundSilentModeEnabled, /// /// GET (bool) Indicates whether the screen touch sound is enabled on the device. /// SoundTouchEnabled, /// /// GET (bool) Indicates whether the rotation control is automatic. /// DisplayScreenRotationAutoEnabled, /// /// GET (string) Indicates the device name. /// DeviceName, /// /// GET (bool) Indicates whether the device user has the enabled motion feature. /// MotionEnabled, /// /// GET (bool) Indicates whether WiFi-related notifications are enabled on the device. /// NetworkWifiNotificationEnabled, /// /// GET (bool) Indicates whether the device is in the flight mode. /// NetworkFlightModeEnabled, /// /// GET (int) Indicates the backlight time (in seconds). The following values can be used: 15, 30, 60, 120, 300, and 600. /// ScreenBacklightTime, /// /// GET (string) Indicates the file path of the current notification tone set by the user. /// SoundNotification, /// /// GET (int) Indicates the time period for notification repetitions. /// SoundNotificationRepetitionPeriod, /// /// GET (int) Indicates the current lock state. /// LockState, /// /// GET (string) Indicates the ADS ID for each device. /// AdsId, /// /// GET (int) Indicates the Ultra Data Save status, one of the #SystemSettingsUdsState values. /// UltraDataSave, /// /// GET (string) Indicates the Ultra Data Save Package List. Since 4.0, the list is a string containing whitelisted package names separated with semicolons (;). /// UltraDataSavePackageList } /// /// Enumeration for the Idle Lock State. /// public enum SystemSettingsIdleLockState : int { /// /// The device is unlocked. /// Unlock = 0, /// /// The device is locked. /// Lock, /// /// The device is being locked. /// LaunchingLock } /// /// Enumeration for the font size. /// public enum SystemSettingsFontSize : int { /// /// A small size. /// Small = 0, /// /// A normal size. /// Normal, /// /// A large size. /// Large, /// /// A huge size. /// Huge, /// /// A giant size. /// Giant } /// /// Enumeration for the ultra data save. /// public enum SystemSettingsUdsState : int { /// /// UDS Off. /// UdsOff = 0, /// /// UDS On. /// UdsOn, /// /// UDS On and the application is whitelisted. /// UdsOnWhitelisted, } }