/*
* 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 available system settings
///
public enum SystemSettingsKeys : int
{
///
/// (string) The file path of the current ringtone
///
IncomingCallRingtone = 0,
///
/// (string) The file path of the current home screen wallpaper
///
WallpaperHomeScreen,
///
/// (string) The file path of the current lock screen wallpaper
///
WallpaperLockScreen,
///
/// (int) The current system font size
///
FontSize,
///
/// (string) The current system font type
///
FontType,
///
/// (bool) Indicates whether the motion service is activated
///
MotionActivationEnabled,
///
/// (string) The file path of the current email alert ringtone
///
EmailAlertRingtone,
///
/// (bool) Indicates whether the USB debugging is enabled
///
UsbDebuggingEnabled,
///
/// (bool) Indicates whether the 3G data network is enabled
///
Data3GNetworkEnabled,
///
/// (string) Indicates lockscreen app pkg name
///
LockscreenApp = Data3GNetworkEnabled + 2,
///
/// (string) The current system default font type (only support Get)
///
DefaultFontType,
///
/// (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,
///
/// (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,
///
/// (bool) Indicates whether the 24-hour clock is used.
/// If the value is false, the 12-hour clock is used.
///
LocaleTimeFormat24HourEnabled,
///
/// (string) Indicates the current time zone. Eg. Pacific/Tahiti
///
LocaleTimeZone,
///
/// (int) Once System changes time, this event occurs to notify time change.
///
Time,
///
/// GET (bool) Indicates whether the screen lock sound is enabled on the device. ex) LCD on/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 rotation control is automatic.
///
DisplayScreenRotationAutoEnabled,
///
/// GET (string) Indicates device name.
///
DeviceName,
///
/// GET (bool) Indicates whether the device user has enabled motion feature.
///
MotionEnabled,
///
/// GET (bool) Indicates whether Wi-Fi-related notifications are enabled on the device.
///
NetworkWifiNotificationEnabled,
///
/// GET (bool) Indicates whether the device is in the flight mode.
///
NetworkFlightModeEnabled,
///
/// (int) Indicates the backlight time (in seconds). The following values can be used: 15, 30, 60, 120, 300, and 600.
///
ScreenBacklightTime,
///
/// (string) Indicates the file path of the current notification tone set by the user.
///
SoundNotification,
///
/// (int) Indicates the time period for notification repetitions.
///
SoundNotificationRepetitionPeriod,
///
/// (int) Indicates the current lock state
///
LockState,
///
/// (string) Indicates Ads ID for each device
///
AdsId,
///
/// (int) Indicates Ultra Data Save status, one of #SystemSettingsUdsState values
///
UltraDataSave,
///
/// (string) Indicates Ultra Data Save Package List (Since 4.0), the list is a string containing whitelisted package names separated with semicolons (;)
///
UltraDataSavePackageList
}
///
/// Enumeration for Idle Lock State.
///
public enum SystemSettingsIdleLockState : int
{
///
/// Device is unlocked
///
Unlock = 0,
///
/// Device is locked
///
Lock,
///
/// Device is being locked
///
LaunchingLock
}
///
/// Enumeration for 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 ultra data save
///
public enum SystemSettingsUdsState : int
{
///
/// UDS Off
///
UdsOff = 0,
///
/// UDS On
///
UdsOn,
///
/// UDS On and the app is whitelisted
///
UdsOnWhitelisted,
}
}