@Implements(value=android.provider.Settings.class) public class ShadowSettings extends Object
Settings.| Modifier and Type | Class and Description |
|---|---|
static class |
ShadowSettings.ShadowGlobal |
static class |
ShadowSettings.ShadowSecure |
static class |
ShadowSettings.ShadowSystem |
| Constructor and Description |
|---|
ShadowSettings() |
| Modifier and Type | Method and Description |
|---|---|
static void |
set24HourTimeFormat(boolean use24HourTimeFormat)
Non-Android accessor thatallows the value of the TIME_12_24 setting to be set.
|
static void |
setAirplaneMode(boolean isAirplaneMode)
Non-Android accessor that allows the value of the AIRPLANE_MODE_ON setting to be set.
|
static void |
setWifiOn(boolean isOn)
Non-Android accessor that allows the value of the WIFI_ON setting to be set.
|
public static void setAirplaneMode(boolean isAirplaneMode)
isAirplaneMode - new status for airplane modepublic static void setWifiOn(boolean isOn)
isOn - new status for wifi modepublic static void set24HourTimeFormat(boolean use24HourTimeFormat)
use24HourTimeFormat - new status for the time settingCopyright © 2015. All rights reserved.