public static class SystemSettings.General extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
ACCELEROMETER_ROTATION_STATUS |
Specifies whether the accelerometer is used to change screen orientation, that is, whether auto-rotation is
enabled.
|
static String |
ACCESSIBILITY_STATUS |
Specifies whether any accessibility feature is enabled.
|
static String |
ACTIVATED_ACCESSIBILITY_SERVICES |
Indicates the list of accessibility features that have been activated.
|
static String |
AIRPLANE_MODE_STATUS |
Specifies whether airplane mode is enabled.
|
static String |
BOOT_COUNTING |
Indicates the number of boot operations after the device is powered on.
|
static String |
CONTACT_METADATA_SYNC_STATUS |
Specifies whether contact metadata synchronization is enabled.
|
static String |
DEBUG_APP_PACKAGE |
Indicates the bundle name of the application to debug.
|
static String |
DEBUGGER_WAITING |
Specifies whether the device waits for the debugger when starting an application to debug.
|
static String |
DEVELOPMENT_SETTINGS_STATUS |
Specifies whether developer options are enabled.
|
static String |
DEVICE_NAME |
Indicates the device name.
|
static String |
DEVICE_PROVISION_STATUS |
Specifies whether the device is provisioned.
|
static String |
END_BUTTON_ACTION |
Specifies what happens after the user presses the call end button if the user is not in a call.
|
static String |
GEOLOCATION_ORIGINS_ALLOWED |
Indicates the default geographical location that can be used by the browser.
|
static String |
HDC_STATUS |
Specifies whether the hard disk controller (HDC) on USB devices is enabled.
|
static String |
SETUP_WIZARD_FINISHED |
Specifies whether the startup wizard has been run.
|
static String |
SKIP_USE_HINTS |
Specifies whether an application should attempt to skip all introductory hints at the first startup.
|
static String |
TOUCH_EXPLORATION_STATUS |
Indicates whether touch exploration is enabled.
|
static String |
USB_STORAGE_STATUS |
Specifies whether USB mass storage is enabled.
|
public static final String ACCELEROMETER_ROTATION_STATUS
The value 1 indicates that the accelerometer is enabled by default, and 0 indicates that
the accelerometer is disabled by default.
public static final String ACCESSIBILITY_STATUS
If the value is 1, the accessibility feature is enabled. If the value is 0, the
accessibility feature is disabled.
public static final String ACTIVATED_ACCESSIBILITY_SERVICES
public static final String AIRPLANE_MODE_STATUS
If the value is 1, airplane mode is enabled. If the value is 0, airplane mode is disabled.
public static final String BOOT_COUNTING
public static final String CONTACT_METADATA_SYNC_STATUS
If the value is true, synchronization is enabled. If the value is false,
synchronization is disabled.
public static final String DEBUGGER_WAITING
If the value is 1, the device waits for the debugger.
If the value is 0, the system does not wait for the debugger, and so the application runs normally.
public static final String DEBUG_APP_PACKAGE
public static final String DEVELOPMENT_SETTINGS_STATUS
If the value is true, developer options are enabled.
If the value is false, developer options are disabled.
public static final String DEVICE_NAME
public static final String DEVICE_PROVISION_STATUS
On a multi-user device with a single system user, the screen may be locked when the value is true.
In addition, other abilities cannot be started on the system user unless they are marked to display over
the screen lock.
public static final String END_BUTTON_ACTION
0 - Nothing happens.
1 - The home screen is displayed.
2 - The device enters the sleep state and the screen is locked.
3 - The home screen is displayed. If the user is already on the home screen, the device enters
the sleep state.
public static final String GEOLOCATION_ORIGINS_ALLOWED
public static final String HDC_STATUS
If the value is true, the HDC is enabled. If the value is false, the HDC is disabled.
public static final String SETUP_WIZARD_FINISHED
If the value is 0, the startup wizard has not been run. If the value is not 0, the startup
wizard has been run.
public static final String SKIP_USE_HINTS
If the value is 1, the application attempts to skip all introductory hints at the first startup.
If the value is 0, the application does not skip introductory hints at the first startup.
public static final String TOUCH_EXPLORATION_STATUS
If the value is 1, touch exploration is enabled. If the value is 0, touch exploration is
disabled.