Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# System

*** ** * ** ***

```
class System : Settings.NameValueTable
```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [android.provider.Settings.NameValueTable](https://developer.android.com/reference/kotlin/android/provider/Settings.NameValueTable) ||
|   | ↳ | [android.provider.Settings.System](https://developer.android.com/reference/kotlin/android/provider/Settings.System#) |

System settings, containing miscellaneous system preferences. This table holds simple name/value pairs. There are convenience functions for accessing individual settings entries.

## Summary

| Constants ||
|---|---|
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#ACCELEROMETER_ROTATION:kotlin.String` Control whether the accelerometer will be used to change screen orientation. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#ADB_ENABLED:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#AIRPLANE_MODE_ON:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#AIRPLANE_MODE_RADIOS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#ALARM_ALERT:kotlin.String` Persistent store for the system-wide default alarm alert. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#ALWAYS_FINISH_ACTIVITIES:kotlin.String` If 1, the activity manager will aggressively finish activities and processes as soon as they are no longer needed. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#ANDROID_ID:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#ANIMATOR_DURATION_SCALE:kotlin.String` Scaling factor for Animator-based animations. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#AUTO_TIME:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#AUTO_TIME_ZONE:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#BLUETOOTH_DISCOVERABILITY:kotlin.String` Determines whether remote devices may discover and/or connect to this device. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#BLUETOOTH_DISCOVERABILITY_TIMEOUT:kotlin.String` Bluetooth discoverability timeout. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#BLUETOOTH_ON:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DATA_ROAMING:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DATE_FORMAT:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEBUG_APP:kotlin.String` Name of an application package to be debugged. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEVICE_PROVISIONED:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DIM_SCREEN:kotlin.String` Whether or not to dim the screen. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DTMF_TONE_TYPE_WHEN_DIALING:kotlin.String` CDMA only settings DTMF tone type played by the dialer when dialing. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DTMF_TONE_WHEN_DIALING:kotlin.String` Whether the audible DTMF tones are played by the dialer when dialing. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#END_BUTTON_BEHAVIOR:kotlin.String` What happens when the user presses the end call button if they're not on a call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#FONT_SCALE:kotlin.String` Scaling factor for fonts, float. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#HAPTIC_FEEDBACK_ENABLED:kotlin.String` Whether haptic feedback (Vibrate on tap) is enabled. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#HTTP_PROXY:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#INSTALL_NON_MARKET_APPS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#LOCATION_PROVIDERS_ALLOWED:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#LOCK_PATTERN_ENABLED:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#LOCK_PATTERN_VISIBLE:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#LOGGING_ID:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#MODE_RINGER:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#MODE_RINGER_STREAMS_AFFECTED:kotlin.String` Determines which streams are affected by ringer and zen mode changes. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#MUTE_STREAMS_AFFECTED:kotlin.String` Determines which streams are affected by mute. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#NETWORK_PREFERENCE:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#NEXT_ALARM_FORMATTED:kotlin.String` A formatted string of the next alarm that is set, or the empty string if there is no alarm set. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#NOTIFICATION_SOUND:kotlin.String` Persistent store for the system-wide default notification sound. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#PARENTAL_CONTROL_ENABLED:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#PARENTAL_CONTROL_LAST_UPDATE:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#PARENTAL_CONTROL_REDIRECT_URL:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#RADIO_BLUETOOTH:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#RADIO_CELL:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#RADIO_NFC:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#RADIO_WIFI:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#RINGTONE:kotlin.String` Persistent store for the system-wide default ringtone URI. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_BRIGHTNESS:kotlin.String` The screen backlight brightness between 1 (minimum) and 255 (maximum). |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_BRIGHTNESS_MODE:kotlin.String` Controls whether to enable automatic brightness mode. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_BRIGHTNESS_MODE_AUTOMATIC:kotlin.Int` SCREEN_BRIGHTNESS_MODE value for automatic mode. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_BRIGHTNESS_MODE_MANUAL:kotlin.Int` SCREEN_BRIGHTNESS_MODE value for manual mode. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_OFF_TIMEOUT:kotlin.String` The amount of time in milliseconds before the device goes to sleep or begins to dream after a period of inactivity. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SETTINGS_CLASSNAME:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SETUP_WIZARD_HAS_RUN:kotlin.String` Whether the setup wizard has been run before (on first boot), or if it still needs to be run. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SHOW_GTALK_SERVICE_STATUS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SHOW_PROCESSES:kotlin.String` Control whether the process CPU usage meter should be shown. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SHOW_WEB_SUGGESTIONS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SOUND_EFFECTS_ENABLED:kotlin.String` Whether the sounds effects (key clicks, lid open ...) are enabled. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#STAY_ON_WHILE_PLUGGED_IN:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#TEXT_AUTO_CAPS:kotlin.String` Setting to enable Auto Caps in text editors. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#TEXT_AUTO_PUNCTUATE:kotlin.String` Setting to enable Auto Punctuate in text editors. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#TEXT_AUTO_REPLACE:kotlin.String` Setting to enable Auto Replace (AutoText) in text editors. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#TEXT_SHOW_PASSWORD:kotlin.String` Setting to showing password characters in text editors. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#TIME_12_24:kotlin.String` Display the user's times, e. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#TRANSITION_ANIMATION_SCALE:kotlin.String` Scaling factor for activity transition animations. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#USB_MASS_STORAGE_ENABLED:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#USER_ROTATION:kotlin.String` Default screen rotation when no other policy applies. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#USE_GOOGLE_MAIL:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#VIBRATE_ON:kotlin.String` Whether vibrate is on for different events. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#VIBRATE_WHEN_RINGING:kotlin.String` Whether the phone vibrates when it is ringing due to an incoming call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WAIT_FOR_DEBUGGER:kotlin.String` If 1, when launching DEBUG_APP it will wait for the debugger before starting user code. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WALLPAPER_ACTIVITY:kotlin.String` Name of activity to use for wallpaper on the home screen. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_MAX_DHCP_RETRY_COUNT:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_NUM_OPEN_NETWORKS_KEPT:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_ON:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_SLEEP_POLICY:kotlin.String` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_SLEEP_POLICY_DEFAULT:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_SLEEP_POLICY_NEVER:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED:kotlin.Int` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_STATIC_DNS1:kotlin.String` If using static IP, the primary DNS's IP address. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_STATIC_DNS2:kotlin.String` If using static IP, the secondary DNS's IP address. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_STATIC_GATEWAY:kotlin.String` If using static IP, the gateway's IP address. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_STATIC_IP:kotlin.String` The static IP address. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_STATIC_NETMASK:kotlin.String` If using static IP, the net mask. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_USE_STATIC_IP:kotlin.String` Whether to use static IP and other static network attributes. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_AP_COUNT:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_MAX_AP_CHECKS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_ON:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_PING_COUNT:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_PING_DELAY_MS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WIFI_WATCHDOG_PING_TIMEOUT_MS:kotlin.String` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#WINDOW_ANIMATION_SCALE:kotlin.String` Scaling factor for normal window animations. |

Inherited constants From class `https://developer.android.com/reference/kotlin/android/provider/Settings.NameValueTable` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/kotlin/android/provider/Settings.NameValueTable#NAME:kotlin.String`

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/kotlin/android/provider/Settings.NameValueTable#VALUE:kotlin.String`

<br />

From class `https://developer.android.com/reference/kotlin/android/provider/BaseColumns` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String`


The count of rows in a directory.

Type: INTEGER

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String`


The unique ID for a row.

Type: INTEGER (long)

<br />

| Public constructors ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/provider/Settings.System#System()()` <br /> |

| Public methods ||
|---|---|
| static [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#canWrite(android.content.Context)(context: https://developer.android.com/reference/kotlin/android/content/Context.html#!)` Checks if the specified app can modify system settings. |
| static [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getConfiguration(android.content.ContentResolver,%20android.content.res.Configuration)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, outConfig: https://developer.android.com/reference/kotlin/android/content/res/Configuration.html#!)` Convenience function to read all of the current configuration-related settings into a `https://developer.android.com/reference/kotlin/android/content/res/Configuration.html#` object. |
| static [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getFloat(android.content.ContentResolver,%20kotlin.String)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)` Convenience function for retrieving a single system settings value as a float. |
| static [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getFloat(android.content.ContentResolver,%20kotlin.String,%20kotlin.Float)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!, def: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)` Convenience function for retrieving a single system settings value as a floating point number. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getInt(android.content.ContentResolver,%20kotlin.String)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)` Convenience function for retrieving a single system settings value as an integer. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getInt(android.content.ContentResolver,%20kotlin.String,%20kotlin.Int)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!, def: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Convenience function for retrieving a single system settings value as an integer. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getLong(android.content.ContentResolver,%20kotlin.String)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)` Convenience function for retrieving a single system settings value as a `long`. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getLong(android.content.ContentResolver,%20kotlin.String,%20kotlin.Long)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!, def: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` Convenience function for retrieving a single system settings value as a `long`. |
| static [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getShowGTalkServiceStatus(android.content.ContentResolver)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!)` <br /> |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getString(android.content.ContentResolver,%20kotlin.String)(resolver: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)` Look up a name in the database. |
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#getUriFor(kotlin.String)(name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)` Construct the content URI for a particular name/value pair, useful for monitoring changes with a ContentObserver. |
| static [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#putConfiguration(android.content.ContentResolver,%20android.content.res.Configuration)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, config: https://developer.android.com/reference/kotlin/android/content/res/Configuration.html#!)` Convenience function to write a batch of configuration-related settings from a `https://developer.android.com/reference/kotlin/android/content/res/Configuration.html#` object. |
| static [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#putFloat(android.content.ContentResolver,%20kotlin.String,%20kotlin.Float)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!, value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)` Convenience function for updating a single settings value as a floating point number. |
| static [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#putInt(android.content.ContentResolver,%20kotlin.String,%20kotlin.Int)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!, value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Convenience function for updating a single settings value as an integer. |
| static [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#putLong(android.content.ContentResolver,%20kotlin.String,%20kotlin.Long)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!, value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` Convenience function for updating a single settings value as a long integer. |
| static [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#putString(android.content.ContentResolver,%20kotlin.String,%20kotlin.String)(resolver: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!, value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)` Store a name/value pair into the database. |
| static [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#setShowGTalkServiceStatus(android.content.ContentResolver,%20kotlin.Boolean)(cr: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, flag: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` <br /> |

Inherited functions From class `https://developer.android.com/reference/kotlin/android/provider/Settings.NameValueTable` `https://developer.android.com/reference/kotlin/android/net/Uri.html#!` `https://developer.android.com/reference/kotlin/android/provider/Settings.NameValueTable#getUriFor(android.net.Uri,%20kotlin.String)(uri: https://developer.android.com/reference/kotlin/android/net/Uri.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)`

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/kotlin/android/provider/Settings.NameValueTable#putString(android.content.ContentResolver,%20android.net.Uri,%20kotlin.String,%20kotlin.String)(resolver: https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#!, uri: https://developer.android.com/reference/kotlin/android/net/Uri.html#!, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!, value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)`

<br />

| Properties ||
|---|---|
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#CONTENT_URI:android.net.Uri` The content:// style URL for this table |
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_ALARM_ALERT_URI:android.net.Uri` A `https://developer.android.com/reference/kotlin/android/net/Uri.html#` that will point to the current default alarm alert at any given time. |
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_NOTIFICATION_URI:android.net.Uri` A `https://developer.android.com/reference/kotlin/android/net/Uri.html#` that will point to the current default notification sound at any given time. |
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_RINGTONE_URI:android.net.Uri` A `https://developer.android.com/reference/kotlin/android/net/Uri.html#` that will point to the current default ringtone at any given time. |

## Constants

### ACCELEROMETER_ROTATION

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ACCELEROMETER_ROTATION: String
```

Control whether the accelerometer will be used to change screen orientation. If 0, it will not be used unless explicitly requested by the application; if 1, it will be used by default unless explicitly disabled by the application.

    Value: "accelerometer_rotation"

### ADB_ENABLED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ADB_ENABLED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#ADB_ENABLED:kotlin.String` instead*

    Value: "adb_enabled"

### AIRPLANE_MODE_ON

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val AIRPLANE_MODE_ON: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#AIRPLANE_MODE_ON:kotlin.String` instead*

    Value: "airplane_mode_on"

### AIRPLANE_MODE_RADIOS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val AIRPLANE_MODE_RADIOS: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#AIRPLANE_MODE_RADIOS:kotlin.String` instead*

    Value: "airplane_mode_radios"

### ALARM_ALERT

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ALARM_ALERT: String
```

Persistent store for the system-wide default alarm alert.

    Value: "alarm_alert"

**See Also**

- `https://developer.android.com/reference/kotlin/android/provider/Settings.System#RINGTONE:kotlin.String`
- `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_ALARM_ALERT_URI:android.net.Uri`

### ALWAYS_FINISH_ACTIVITIES

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ALWAYS_FINISH_ACTIVITIES: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#ALWAYS_FINISH_ACTIVITIES:kotlin.String` instead*

If 1, the activity manager will aggressively finish activities and processes as soon as they are no longer needed. If 0, the normal extended lifetime is used.

    Value: "always_finish_activities"

### ANDROID_ID

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ANDROID_ID: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#ANDROID_ID:kotlin.String` instead*

    Value: "android_id"

### ANIMATOR_DURATION_SCALE

Added in [API level 16](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ANIMATOR_DURATION_SCALE: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#ANIMATOR_DURATION_SCALE:kotlin.String` instead*

Scaling factor for Animator-based animations. This affects both the start delay and duration of all such animations. Setting to 0 will cause animations to end immediately. The default value is 1.

    Value: "animator_duration_scale"

### AUTO_TIME

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val AUTO_TIME: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#AUTO_TIME:kotlin.String` instead*

    Value: "auto_time"

### AUTO_TIME_ZONE

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val AUTO_TIME_ZONE: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#AUTO_TIME_ZONE:kotlin.String` instead*

    Value: "auto_time_zone"

### BLUETOOTH_DISCOVERABILITY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLUETOOTH_DISCOVERABILITY: String
```

Determines whether remote devices may discover and/or connect to this device.

Type: INT
2 -- discoverable and connectable 1 -- connectable but not discoverable 0 -- neither connectable nor discoverable

    Value: "bluetooth_discoverability"

### BLUETOOTH_DISCOVERABILITY_TIMEOUT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLUETOOTH_DISCOVERABILITY_TIMEOUT: String
```

Bluetooth discoverability timeout. If this value is nonzero, then Bluetooth becomes discoverable for a certain number of seconds, after which is becomes simply connectable. The value is in seconds.

    Value: "bluetooth_discoverability_timeout"

### BLUETOOTH_ON

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLUETOOTH_ON: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#BLUETOOTH_ON:kotlin.String` instead*

    Value: "bluetooth_on"

### DATA_ROAMING

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DATA_ROAMING: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#DATA_ROAMING:kotlin.String` instead*

    Value: "data_roaming"

### DATE_FORMAT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DATE_FORMAT: String
```

**Deprecated:** *No longer used. Use `https://developer.android.com/reference/kotlin/android/provider/Settings.System#TIME_12_24:kotlin.String` instead.*

    Value: "date_format"

### DEBUG_APP

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DEBUG_APP: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#DEBUG_APP:kotlin.String` instead*

Name of an application package to be debugged.

    Value: "debug_app"

### DEVICE_PROVISIONED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DEVICE_PROVISIONED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#DEVICE_PROVISIONED:kotlin.String` instead*

    Value: "device_provisioned"

### DIM_SCREEN

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DIM_SCREEN: String
```

**Deprecated:** *This setting is no longer used.*

Whether or not to dim the screen. 0=no 1=yes

    Value: "dim_screen"

### DTMF_TONE_TYPE_WHEN_DIALING

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DTMF_TONE_TYPE_WHEN_DIALING: String
```

CDMA only settings DTMF tone type played by the dialer when dialing. 0 = Normal 1 = Long

    Value: "dtmf_tone_type"

### DTMF_TONE_WHEN_DIALING

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DTMF_TONE_WHEN_DIALING: String
```

Whether the audible DTMF tones are played by the dialer when dialing. The value is boolean (1 or 0).

    Value: "dtmf_tone"

### END_BUTTON_BEHAVIOR

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val END_BUTTON_BEHAVIOR: String
```

What happens when the user presses the end call button if they're not on a call.  
**Values:**   
0 - The end button does nothing.  
1 - The end button goes to the home screen.  
2 - The end button puts the device to sleep and locks the keyguard.  
3 - The end button goes to the home screen. If the user is already on the home screen, it puts the device to sleep.

    Value: "end_button_behavior"

### FONT_SCALE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FONT_SCALE: String
```

Scaling factor for fonts, float.

    Value: "font_scale"

### HAPTIC_FEEDBACK_ENABLED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val HAPTIC_FEEDBACK_ENABLED: String
```

**Deprecated:** *Replaced by using `https://developer.android.com/reference/kotlin/android/os/VibrationAttributes.html#USAGE_TOUCH:kotlin.Int` on vibrations. User settings are applied automatically by the service and should not be applied by individual apps.*

Whether haptic feedback (Vibrate on tap) is enabled. The value is boolean (1 or 0).

    Value: "haptic_feedback_enabled"

### HTTP_PROXY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val HTTP_PROXY: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#HTTP_PROXY:kotlin.String` instead*

    Value: "http_proxy"

### INSTALL_NON_MARKET_APPS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val INSTALL_NON_MARKET_APPS: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#INSTALL_NON_MARKET_APPS:kotlin.String` instead*

    Value: "install_non_market_apps"

### LOCATION_PROVIDERS_ALLOWED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LOCATION_PROVIDERS_ALLOWED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#LOCATION_PROVIDERS_ALLOWED:kotlin.String` instead*

    Value: "location_providers_allowed"

### LOCK_PATTERN_ENABLED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LOCK_PATTERN_ENABLED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#LOCK_PATTERN_ENABLED:kotlin.String` instead*

    Value: "lock_pattern_autolock"

### LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED:kotlin.String` instead*

    Value: "lock_pattern_tactile_feedback_enabled"

### LOCK_PATTERN_VISIBLE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LOCK_PATTERN_VISIBLE: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#LOCK_PATTERN_VISIBLE:kotlin.String` instead*

    Value: "lock_pattern_visible_pattern"

### LOGGING_ID

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LOGGING_ID: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#LOGGING_ID:kotlin.String` instead*

    Value: "logging_id"

### MODE_RINGER

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MODE_RINGER: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#MODE_RINGER:kotlin.String` instead*

    Value: "mode_ringer"

### MODE_RINGER_STREAMS_AFFECTED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MODE_RINGER_STREAMS_AFFECTED: String
```

Determines which streams are affected by ringer and zen mode changes. The stream type's bit should be set to 1 if it should be muted when going into an inaudible ringer mode.

    Value: "mode_ringer_streams_affected"

### MUTE_STREAMS_AFFECTED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MUTE_STREAMS_AFFECTED: String
```

Determines which streams are affected by mute. The stream type's bit should be set to 1 if it should be muted when a mute request is received.

    Value: "mute_streams_affected"

### NETWORK_PREFERENCE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val NETWORK_PREFERENCE: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#NETWORK_PREFERENCE:kotlin.String` instead*

    Value: "network_preference"

### NEXT_ALARM_FORMATTED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val NEXT_ALARM_FORMATTED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/app/AlarmManager.html#getNextAlarmClock()`.*

A formatted string of the next alarm that is set, or the empty string if there is no alarm set.

    Value: "next_alarm_formatted"

### NOTIFICATION_SOUND

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val NOTIFICATION_SOUND: String
```

Persistent store for the system-wide default notification sound.

    Value: "notification_sound"

**See Also**

- `https://developer.android.com/reference/kotlin/android/provider/Settings.System#RINGTONE:kotlin.String`
- `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_NOTIFICATION_URI:android.net.Uri`

### PARENTAL_CONTROL_ENABLED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PARENTAL_CONTROL_ENABLED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#PARENTAL_CONTROL_ENABLED:kotlin.String` instead*

    Value: "parental_control_enabled"

### PARENTAL_CONTROL_LAST_UPDATE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PARENTAL_CONTROL_LAST_UPDATE: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#PARENTAL_CONTROL_LAST_UPDATE:kotlin.String` instead*

    Value: "parental_control_last_update"

### PARENTAL_CONTROL_REDIRECT_URL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PARENTAL_CONTROL_REDIRECT_URL: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#PARENTAL_CONTROL_REDIRECT_URL:kotlin.String` instead*

    Value: "parental_control_redirect_url"

### RADIO_BLUETOOTH

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val RADIO_BLUETOOTH: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#RADIO_BLUETOOTH:kotlin.String` instead*

    Value: "bluetooth"

### RADIO_CELL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val RADIO_CELL: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#RADIO_CELL:kotlin.String` instead*

    Value: "cell"

### RADIO_NFC

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val RADIO_NFC: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#RADIO_NFC:kotlin.String` instead*

    Value: "nfc"

### RADIO_WIFI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val RADIO_WIFI: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#RADIO_WIFI:kotlin.String` instead*

    Value: "wifi"

### RINGTONE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val RINGTONE: String
```

Persistent store for the system-wide default ringtone URI.

If you need to play the default ringtone at any given time, it is recommended you give `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_RINGTONE_URI:android.net.Uri` to the media player. It will resolve to the set default ringtone at the time of playing.

    Value: "ringtone"

**See Also**

- `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_RINGTONE_URI:android.net.Uri`

### SCREEN_BRIGHTNESS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SCREEN_BRIGHTNESS: String
```

The screen backlight brightness between 1 (minimum) and 255 (maximum). Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams.html#screenBrightness:kotlin.Float` to set the screen brightness instead.

    Value: "screen_brightness"

### SCREEN_BRIGHTNESS_MODE

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SCREEN_BRIGHTNESS_MODE: String
```

Controls whether to enable automatic brightness mode. Value can be set to `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_BRIGHTNESS_MODE_MANUAL:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_BRIGHTNESS_MODE_AUTOMATIC:kotlin.Int`. If `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_BRIGHTNESS_MODE_AUTOMATIC:kotlin.Int` is set, the system may change `https://developer.android.com/reference/kotlin/android/provider/Settings.System#SCREEN_BRIGHTNESS:kotlin.String` automatically.

    Value: "screen_brightness_mode"

### SCREEN_BRIGHTNESS_MODE_AUTOMATIC

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SCREEN_BRIGHTNESS_MODE_AUTOMATIC: Int
```

SCREEN_BRIGHTNESS_MODE value for automatic mode.

    Value: 1

### SCREEN_BRIGHTNESS_MODE_MANUAL

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SCREEN_BRIGHTNESS_MODE_MANUAL: Int
```

SCREEN_BRIGHTNESS_MODE value for manual mode.

    Value: 0

### SCREEN_OFF_TIMEOUT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SCREEN_OFF_TIMEOUT: String
```

The amount of time in milliseconds before the device goes to sleep or begins to dream after a period of inactivity. This value is also known as the user activity timeout period since the screen isn't necessarily turned off when it expires.

This value is bounded by maximum timeout set by `https://developer.android.com/reference/kotlin/android/app/admin/DevicePolicyManager.html#setMaximumTimeToLock(android.content.ComponentName,%20kotlin.Long)`.

    Value: "screen_off_timeout"

### SETTINGS_CLASSNAME

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SETTINGS_CLASSNAME: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#SETTINGS_CLASSNAME:kotlin.String` instead*

    Value: "settings_classname"

### SETUP_WIZARD_HAS_RUN

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SETUP_WIZARD_HAS_RUN: String
```

Whether the setup wizard has been run before (on first boot), or if it still needs to be run. nonzero = it has been run in the past 0 = it has not been run in the past

    Value: "setup_wizard_has_run"

### SHOW_GTALK_SERVICE_STATUS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SHOW_GTALK_SERVICE_STATUS: String
```

    Value: "SHOW_GTALK_SERVICE_STATUS"

### SHOW_PROCESSES

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SHOW_PROCESSES: String
```

**Deprecated:** *This functionality is no longer available as of `https://developer.android.com/reference/kotlin/android/os/Build.VERSION_CODES.html#N_MR1:kotlin.Int`.*

Control whether the process CPU usage meter should be shown.

    Value: "show_processes"

### SHOW_WEB_SUGGESTIONS

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SHOW_WEB_SUGGESTIONS: String
```

**Deprecated:** *Each application that shows web suggestions should have its own setting for this.*

    Value: "show_web_suggestions"

### SOUND_EFFECTS_ENABLED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOUND_EFFECTS_ENABLED: String
```

Whether the sounds effects (key clicks, lid open ...) are enabled. The value is boolean (1 or 0).

    Value: "sound_effects_enabled"

### STAY_ON_WHILE_PLUGGED_IN

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val STAY_ON_WHILE_PLUGGED_IN: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#STAY_ON_WHILE_PLUGGED_IN:kotlin.String` instead*

    Value: "stay_on_while_plugged_in"

### TEXT_AUTO_CAPS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TEXT_AUTO_CAPS: String
```

Setting to enable Auto Caps in text editors. 1 = On, 0 = Off

    Value: "auto_caps"

### TEXT_AUTO_PUNCTUATE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TEXT_AUTO_PUNCTUATE: String
```

Setting to enable Auto Punctuate in text editors. 1 = On, 0 = Off. This feature converts two spaces to a "." and space.

    Value: "auto_punctuate"

### TEXT_AUTO_REPLACE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TEXT_AUTO_REPLACE: String
```

Setting to enable Auto Replace (AutoText) in text editors. 1 = On, 0 = Off

    Value: "auto_replace"

### TEXT_SHOW_PASSWORD

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 37.2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TEXT_SHOW_PASSWORD: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/text/ShowSecretsSetting.html#` instead.*

Setting to showing password characters in text editors. 1 = On, 0 = Off

    Value: "show_password"

### TIME_12_24

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TIME_12_24: String
```

Display the user's times, e.g. in the status bar, as 12 or 24 hours.

- 24 = 24 hour
- 12 = 12 hour
- \[unset\] = use the device locale's default

<br />

    Value: "time_12_24"

### TRANSITION_ANIMATION_SCALE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TRANSITION_ANIMATION_SCALE: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#TRANSITION_ANIMATION_SCALE:kotlin.String` instead*

Scaling factor for activity transition animations. Setting to 0 will disable window animations.

    Value: "transition_animation_scale"

### USB_MASS_STORAGE_ENABLED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USB_MASS_STORAGE_ENABLED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#USB_MASS_STORAGE_ENABLED:kotlin.String` instead*

    Value: "usb_mass_storage_enabled"

### USER_ROTATION

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USER_ROTATION: String
```

Default screen rotation when no other policy applies. When `https://developer.android.com/reference/kotlin/android/provider/Settings.System#ACCELEROMETER_ROTATION:kotlin.String` is zero and no on-screen Activity expresses a preference, this rotation value will be used. Must be one of the `https://developer.android.com/reference/kotlin/android/view/Surface.html#ROTATION_0:kotlin.Int`.

    Value: "user_rotation"

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/Display.html#getRotation()`

### USE_GOOGLE_MAIL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USE_GOOGLE_MAIL: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#USE_GOOGLE_MAIL:kotlin.String` instead*

    Value: "use_google_mail"

### VIBRATE_ON

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val VIBRATE_ON: String
```

Whether vibrate is on for different events. This is used internally, changing this value will not change the vibrate. See AudioManager.

    Value: "vibrate_on"

### VIBRATE_WHEN_RINGING

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val VIBRATE_WHEN_RINGING: String
```

**Deprecated:** *Replaced by using `https://developer.android.com/reference/kotlin/android/os/VibrationAttributes.html#USAGE_RINGTONE:kotlin.Int` on vibrations for incoming calls. User settings are applied automatically by the service and should not be applied by individual apps.*

Whether the phone vibrates when it is ringing due to an incoming call. This will be used by Phone and Setting apps; it shouldn't affect other apps. The value is boolean (1 or 0). Note: this is not same as "vibrate on ring", which had been available until ICS. It was about AudioManager's setting and thus affected all the applications which relied on the setting, while this is purely about the vibration setting for incoming calls.

    Value: "vibrate_when_ringing"

### WAIT_FOR_DEBUGGER

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WAIT_FOR_DEBUGGER: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WAIT_FOR_DEBUGGER:kotlin.String` instead*

If 1, when launching DEBUG_APP it will wait for the debugger before starting user code. If 0, it will run normally.

    Value: "wait_for_debugger"

### WALLPAPER_ACTIVITY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WALLPAPER_ACTIVITY: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/app/WallpaperManager.html#` instead.*

Name of activity to use for wallpaper on the home screen.

    Value: "wallpaper_activity"

### WIFI_MAX_DHCP_RETRY_COUNT

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_MAX_DHCP_RETRY_COUNT: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_MAX_DHCP_RETRY_COUNT:kotlin.String` instead*

    Value: "wifi_max_dhcp_retry_count"

### WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS:kotlin.String` instead*

    Value: "wifi_mobile_data_transition_wakelock_timeout_ms"

### WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON:kotlin.String` instead*

    Value: "wifi_networks_available_notification_on"

### WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY:kotlin.String` instead*

    Value: "wifi_networks_available_repeat_delay"

### WIFI_NUM_OPEN_NETWORKS_KEPT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_NUM_OPEN_NETWORKS_KEPT: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_NUM_OPEN_NETWORKS_KEPT:kotlin.String` instead*

    Value: "wifi_num_open_networks_kept"

### WIFI_ON

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_ON: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_ON:kotlin.String` instead*

    Value: "wifi_on"

### WIFI_SLEEP_POLICY

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_SLEEP_POLICY: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_SLEEP_POLICY:kotlin.String` instead*

    Value: "wifi_sleep_policy"

### WIFI_SLEEP_POLICY_DEFAULT

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_SLEEP_POLICY_DEFAULT: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_SLEEP_POLICY_DEFAULT:kotlin.Int` instead*

    Value: 0

### WIFI_SLEEP_POLICY_NEVER

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_SLEEP_POLICY_NEVER: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_SLEEP_POLICY_NEVER:kotlin.Int` instead*

    Value: 2

### WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED:kotlin.Int` instead*

    Value: 1

### WIFI_STATIC_DNS1

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_STATIC_DNS1: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.html#` instead*

If using static IP, the primary DNS's IP address.

Example: "192.168.1.1"

    Value: "wifi_static_dns1"

### WIFI_STATIC_DNS2

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_STATIC_DNS2: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.html#` instead*

If using static IP, the secondary DNS's IP address.

Example: "192.168.1.2"

    Value: "wifi_static_dns2"

### WIFI_STATIC_GATEWAY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_STATIC_GATEWAY: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.html#` instead*

If using static IP, the gateway's IP address.

Example: "192.168.1.1"

    Value: "wifi_static_gateway"

### WIFI_STATIC_IP

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_STATIC_IP: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.html#` instead*

The static IP address.

Example: "192.168.1.51"

    Value: "wifi_static_ip"

### WIFI_STATIC_NETMASK

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_STATIC_NETMASK: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.html#` instead*

If using static IP, the net mask.

Example: "255.255.255.0"

    Value: "wifi_static_netmask"

### WIFI_USE_STATIC_IP

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_USE_STATIC_IP: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.html#` instead*

Whether to use static IP and other static network attributes.

Set to 1 for true and 0 for false.

    Value: "wifi_use_static_ip"

### WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE:kotlin.String` instead*

    Value: "wifi_watchdog_acceptable_packet_loss_percentage"

### WIFI_WATCHDOG_AP_COUNT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_AP_COUNT: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_AP_COUNT:kotlin.String` instead*

    Value: "wifi_watchdog_ap_count"

### WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS:kotlin.String` instead*

    Value: "wifi_watchdog_background_check_delay_ms"

### WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED:kotlin.String` instead*

    Value: "wifi_watchdog_background_check_enabled"

### WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS:kotlin.String` instead*

    Value: "wifi_watchdog_background_check_timeout_ms"

### WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT:kotlin.String` instead*

    Value: "wifi_watchdog_initial_ignored_ping_count"

### WIFI_WATCHDOG_MAX_AP_CHECKS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_MAX_AP_CHECKS: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_MAX_AP_CHECKS:kotlin.String` instead*

    Value: "wifi_watchdog_max_ap_checks"

### WIFI_WATCHDOG_ON

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_ON: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WIFI_WATCHDOG_ON:kotlin.String` instead*

    Value: "wifi_watchdog_on"

### WIFI_WATCHDOG_PING_COUNT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_PING_COUNT: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_PING_COUNT:kotlin.String` instead*

    Value: "wifi_watchdog_ping_count"

### WIFI_WATCHDOG_PING_DELAY_MS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_PING_DELAY_MS: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_PING_DELAY_MS:kotlin.String` instead*

    Value: "wifi_watchdog_ping_delay_ms"

### WIFI_WATCHDOG_PING_TIMEOUT_MS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WIFI_WATCHDOG_PING_TIMEOUT_MS: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Secure#WIFI_WATCHDOG_PING_TIMEOUT_MS:kotlin.String` instead*

    Value: "wifi_watchdog_ping_timeout_ms"

### WINDOW_ANIMATION_SCALE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val WINDOW_ANIMATION_SCALE: String
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/provider/Settings.Global#WINDOW_ANIMATION_SCALE:kotlin.String` instead*

Scaling factor for normal window animations. Setting to 0 will disable window animations.

    Value: "window_animation_scale"

## Public constructors

### System

```
System()
```

## Public methods

### canWrite

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun canWrite(context: Context!): Boolean
```

Checks if the specified app can modify system settings. As of API level 23, an app cannot modify system settings unless it declares the `https://developer.android.com/reference/kotlin/android/Manifest.permission.html#WRITE_SETTINGS:kotlin.String` permission in its manifest, *and* the user specifically grants the app this capability. To prompt the user to grant this approval, the app must send an intent with the action `https://developer.android.com/reference/kotlin/android/provider/Settings#ACTION_MANAGE_WRITE_SETTINGS:kotlin.String`, which causes the system to display a permission management screen.

| Parameters ||
|---|---|
| `context` | [Context](https://developer.android.com/reference/kotlin/android/content/Context.html#)!: App context. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | true if the calling app can write to system settings, false otherwise |

### getConfiguration

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getConfiguration(
    cr: ContentResolver!, 
    outConfig: Configuration!
): Unit
```

Convenience function to read all of the current configuration-related settings into a `https://developer.android.com/reference/kotlin/android/content/res/Configuration.html#` object.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `outConfig` | [Configuration](https://developer.android.com/reference/kotlin/android/content/res/Configuration.html#)!: Where to place the configuration settings. |

### getFloat

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getFloat(
    cr: ContentResolver!, 
    name: String!
): Float
```

Convenience function for retrieving a single system settings value as a float. Note that internally setting values are always stored as strings; this function converts the string to a float for you.

This version does not take a default value. If the setting has not been set, or the string value is not a number, it throws `https://developer.android.com/reference/kotlin/android/provider/Settings.SettingNotFoundException`.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to retrieve. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html` | The setting's current value. |

| Exceptions ||
|---|---|
| `android.provider.Settings.SettingNotFoundException` | Thrown if a setting by the given name can't be found or the setting value is not a float. |

### getFloat

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getFloat(
    cr: ContentResolver!, 
    name: String!, 
    def: Float
): Float
```

Convenience function for retrieving a single system settings value as a floating point number. Note that internally setting values are always stored as strings; this function converts the string to an float for you. The default value will be returned if the setting is not defined or not a valid float.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to retrieve. |
| `def` | [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html): Value to return if the setting is not defined. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html` | The setting's current value, or 'def' if it is not defined or not a valid float. |

### getInt

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getInt(
    cr: ContentResolver!, 
    name: String!
): Int
```

Convenience function for retrieving a single system settings value as an integer. Note that internally setting values are always stored as strings; this function converts the string to an integer for you.

This version does not take a default value. If the setting has not been set, or the string value is not a number, it throws `https://developer.android.com/reference/kotlin/android/provider/Settings.SettingNotFoundException`.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to retrieve. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | The setting's current value. |

| Exceptions ||
|---|---|
| `android.provider.Settings.SettingNotFoundException` | Thrown if a setting by the given name can't be found or the setting value is not an integer. |

### getInt

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getInt(
    cr: ContentResolver!, 
    name: String!, 
    def: Int
): Int
```

Convenience function for retrieving a single system settings value as an integer. Note that internally setting values are always stored as strings; this function converts the string to an integer for you. The default value will be returned if the setting is not defined or not an integer.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to retrieve. |
| `def` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): Value to return if the setting is not defined. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | The setting's current value, or 'def' if it is not defined or not a valid integer. |

### getLong

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getLong(
    cr: ContentResolver!, 
    name: String!
): Long
```

Convenience function for retrieving a single system settings value as a `long`. Note that internally setting values are always stored as strings; this function converts the string to a `long` for you.

This version does not take a default value. If the setting has not been set, or the string value is not a number, it throws `https://developer.android.com/reference/kotlin/android/provider/Settings.SettingNotFoundException`.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to retrieve. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html` | The setting's current value. |

| Exceptions ||
|---|---|
| `android.provider.Settings.SettingNotFoundException` | Thrown if a setting by the given name can't be found or the setting value is not an integer. |

### getLong

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getLong(
    cr: ContentResolver!, 
    name: String!, 
    def: Long
): Long
```

Convenience function for retrieving a single system settings value as a `long`. Note that internally setting values are always stored as strings; this function converts the string to a `long` for you. The default value will be returned if the setting is not defined or not a `long`.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to retrieve. |
| `def` | [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html): Value to return if the setting is not defined. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html` | The setting's current value, or 'def' if it is not defined or not a valid `long`. |

### getShowGTalkServiceStatus

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getShowGTalkServiceStatus(cr: ContentResolver!): Boolean
```

**Deprecated:** *- Do not use*

### getString

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getString(
    resolver: ContentResolver!, 
    name: String!
): String!
```

Look up a name in the database.

| Parameters ||
|---|---|
| `resolver` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: to access the database with |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: to look up in the table |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!` | the corresponding value, or null if not present |

### getUriFor

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun getUriFor(name: String!): Uri!
```

Construct the content URI for a particular name/value pair, useful for monitoring changes with a ContentObserver.

| Parameters ||
|---|---|
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: to look up in the table |

| Return ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/net/Uri.html#!` | the corresponding content URI, or null if not present |

### putConfiguration

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun putConfiguration(
    cr: ContentResolver!, 
    config: Configuration!
): Boolean
```

Convenience function to write a batch of configuration-related settings from a `https://developer.android.com/reference/kotlin/android/content/res/Configuration.html#` object.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `config` | [Configuration](https://developer.android.com/reference/kotlin/android/content/res/Configuration.html#)!: The settings to write. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | true if the values were set, false on database errors |

### putFloat

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun putFloat(
    cr: ContentResolver!, 
    name: String!, 
    value: Float
): Boolean
```

Convenience function for updating a single settings value as a floating point number. This will either create a new entry in the table if the given name does not exist, or modify the value of the existing row with that name. Note that internally setting values are always stored as strings, so this function converts the given value to a string before storing it.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to modify. |
| `value` | [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html): The new value for the setting. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | true if the value was set, false on database errors |

### putInt

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun putInt(
    cr: ContentResolver!, 
    name: String!, 
    value: Int
): Boolean
```

Convenience function for updating a single settings value as an integer. This will either create a new entry in the table if the given name does not exist, or modify the value of the existing row with that name. Note that internally setting values are always stored as strings, so this function converts the given value to a string before storing it.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to modify. |
| `value` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): The new value for the setting. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | true if the value was set, false on database errors |

### putLong

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun putLong(
    cr: ContentResolver!, 
    name: String!, 
    value: Long
): Boolean
```

Convenience function for updating a single settings value as a long integer. This will either create a new entry in the table if the given name does not exist, or modify the value of the existing row with that name. Note that internally setting values are always stored as strings, so this function converts the given value to a string before storing it.

| Parameters ||
|---|---|
| `cr` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: The ContentResolver to access. |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The name of the setting to modify. |
| `value` | [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html): The new value for the setting. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | true if the value was set, false on database errors |

### putString

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun putString(
    resolver: ContentResolver!, 
    name: String!, 
    value: String!
): Boolean
```

Store a name/value pair into the database.

| Parameters ||
|---|---|
| `resolver` | [ContentResolver](https://developer.android.com/reference/kotlin/android/content/ContentResolver.html#)!: to access the database with |
| `name` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: to store |
| `value` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: to associate with the name |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | true if the value was set, false on database errors |

### setShowGTalkServiceStatus

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static fun setShowGTalkServiceStatus(
    cr: ContentResolver!, 
    flag: Boolean
): Unit
```

**Deprecated:** *- Do not use*

## Properties

### CONTENT_URI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CONTENT_URI: Uri!
```

The content:// style URL for this table

### DEFAULT_ALARM_ALERT_URI

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DEFAULT_ALARM_ALERT_URI: Uri!
```

A `https://developer.android.com/reference/kotlin/android/net/Uri.html#` that will point to the current default alarm alert at any given time.
**See Also**

- `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_ALARM_ALERT_URI:android.net.Uri`

### DEFAULT_NOTIFICATION_URI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DEFAULT_NOTIFICATION_URI: Uri!
```

A `https://developer.android.com/reference/kotlin/android/net/Uri.html#` that will point to the current default notification sound at any given time.
**See Also**

- `https://developer.android.com/reference/kotlin/android/provider/Settings.System#DEFAULT_RINGTONE_URI:android.net.Uri`

### DEFAULT_RINGTONE_URI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DEFAULT_RINGTONE_URI: Uri!
```

A `https://developer.android.com/reference/kotlin/android/net/Uri.html#` that will point to the current default ringtone at any given time.

If the current default ringtone is in the DRM provider and the caller does not have permission, the exception will be a FileNotFoundException.