Settings class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Constants
ACTION_ACCESSIBILITY_SETTINGS
→ const String
Activity Action: Show settings for accessibility modules.
ACTION_ADD_ACCOUNT
→ const String
Activity Action: Show add account screen for creating a new account.
ACTION_AIRPLANE_MODE_SETTINGS
→ const String
Activity Action: Show settings to allow entering/exiting airplane mode.
ACTION_ALL_APPS_NOTIFICATION_SETTINGS
→ const String
Activity Action: Show app listing settings, filtered by those that send notifications.
ACTION_APN_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of APNs.
ACTION_APP_NOTIFICATION_REDACTION
→ const String
Activity Action: Show notification redaction settings.
ACTION_APP_NOTIFICATION_SETTINGS
→ const String
Activity Action: Show notification settings for a single app.
ACTION_APP_OPS_SETTINGS
→ const String
@hide
Activity Action: Show the "app ops" settings screen.
ACTION_APPLICATION_DETAILS_SETTINGS
→ const String
Activity Action: Show screen of details about a particular application.
ACTION_APPLICATION_DETAILS_SETTINGS_OPEN_BY_DEFAULT_PAGE
→ const String
Activity Action: Show the "Open by Default" page in a particular application's details page.
ACTION_APPLICATION_DEVELOPMENT_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of application
development-related settings. As of
{@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} this action is
a required part of the platform.
ACTION_APPLICATION_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of application-related settings.
ACTION_ASSIST_GESTURE_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of Assist Gesture.
ACTION_BATTERY_SAVER_SETTINGS
→ const String
Activity Action: Show battery saver settings.
ACTION_BLUETOOTH_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of Bluetooth.
ACTION_CAPTIONING_SETTINGS
→ const String
Activity Action: Show settings for video captioning.
ACTION_CAST_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of cast endpoints.
ACTION_CHANNEL_NOTIFICATION_SETTINGS
→ const String
Activity Action: Show notification settings for a single {@link NotificationChannel}.
ACTION_CONDITION_PROVIDER_SETTINGS
→ const String
@hide
ACTION_DATA_ROAMING_SETTINGS
→ const String
Activity Action: Show settings for selection of 2G/3G.
ACTION_DATA_USAGE_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of data and view data usage.
ACTION_DATE_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of date and time.
ACTION_DEVICE_INFO_SETTINGS
→ const String
Activity Action: Show general device information settings (serial
number, software version, phone number, etc.).
ACTION_DISPLAY_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of display.
ACTION_DREAM_SETTINGS
→ const String
Activity Action: Show Daydream settings.
ACTION_ENTERPRISE_PRIVACY_SETTINGS
→ const String
Activity Action: Show enterprise privacy section.
ACTION_FINGERPRINT_ENROLL
→ const String
Activity Action: Show settings to enroll fingerprints, and setup PIN/Pattern/Pass if
necessary.
ACTION_FOREGROUND_SERVICES_SETTINGS
→ const String
Activity Action: Show list of applications that have been running
foreground services (to the user "running in the background").
ACTION_HARD_KEYBOARD_SETTINGS
→ const String
Activity Action: Show settings to configure the hardware keyboard.
ACTION_HOME_SETTINGS
→ const String
Activity Action: Show Home selection settings. If there are multiple activities
that can satisfy the {@link Intent#CATEGORY_HOME} intent, this screen allows you
to pick your preferred activity.
ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS
→ const String
Activity Action: Show screen for controlling background data
restrictions for a particular application.
ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS
→ const String
Activity Action: Show screen for controlling which apps can ignore battery optimizations.
ACTION_INPUT_METHOD_SETTINGS
→ const String
Activity Action: Show settings to configure input methods, in particular
allowing the user to enable input methods.
ACTION_INPUT_METHOD_SUBTYPE_SETTINGS
→ const String
Activity Action: Show settings to enable/disable input method subtypes.
ACTION_INTERNAL_STORAGE_SETTINGS
→ const String
Activity Action: Show settings for internal storage.
ACTION_LOCALE_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of locale.
ACTION_LOCATION_SCANNING_SETTINGS
→ const String
Activity Action: Show scanning settings to allow configuration of Wi-Fi
and Bluetooth scanning settings.
ACTION_LOCATION_SOURCE_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of current location
sources.
ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS
→ const String
Activity Action: Show settings to manage all applications.
ACTION_MANAGE_APPLICATIONS_SETTINGS
→ const String
Activity Action: Show settings to manage installed applications.
ACTION_MANAGE_DEFAULT_APPS_SETTINGS
→ const String
Activity Action: Show Default apps settings.
ACTION_MANAGE_OVERLAY_PERMISSION
→ const String
Activity Action: Show screen for controlling which apps can draw on top of other apps.
ACTION_MANAGE_UNKNOWN_APP_SOURCES
→ const String
Activity Action: Show settings to allow configuration of trusted external sources
ACTION_MANAGE_WRITE_SETTINGS
→ const String
Activity Action: Show screen for controlling which apps are allowed to write/modify
system settings.
ACTION_MANAGED_PROFILE_SETTINGS
→ const String
Activity Action: Show settings for managed profile settings.
ACTION_MEMORY_CARD_SETTINGS
→ const String
Activity Action: Show settings for memory card storage.
ACTION_MOBILE_DATA_USAGE
→ const String
Activity Action: Show mobile data usage list.
ACTION_MONITORING_CERT_INFO
→ const String
Activity Action: Show dialog explaining that an installed CA cert may enable
monitoring of encrypted network traffic.
ACTION_NETWORK_OPERATOR_SETTINGS
→ const String
Activity Action: Show settings for selecting the network operator.
ACTION_NFC_PAYMENT_SETTINGS
→ const String
Activity Action: Show NFC Tap & Pay settings
ACTION_NFC_SETTINGS
→ const String
Activity Action: Show NFC settings.
ACTION_NFCSHARING_SETTINGS
→ const String
Activity Action: Show NFC Sharing settings.
ACTION_NIGHT_DISPLAY_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of Night display.
ACTION_NOTIFICATION_LISTENER_SETTINGS
→ const String
Activity Action: Show Notification listener settings.
ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS
→ const String
Activity Action: Show Do Not Disturb access settings.
ACTION_NOTIFICATION_SETTINGS
→ const String
Activity Action: Show notification settings.
ACTION_PAIRING_SETTINGS
→ const String
Activity Action: Show pairing settings.
ACTION_PICTURE_IN_PICTURE_SETTINGS
→ const String
Activity Action: Show Picture-in-picture settings.
ACTION_PRINT_SETTINGS
→ const String
Activity Action: Show the top level print settings.
ACTION_PRIVACY_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of privacy options.
ACTION_QUICK_LAUNCH_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of quick launch shortcuts.
ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
→ const String
Activity Action: Ask the user to allow an app to ignore battery optimizations (that is,
put them on the whitelist of apps shown by
{@link #ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS}). For an app to use this, it also
must hold the {@link android.Manifest.permission#REQUEST_IGNORE_BATTERY_OPTIMIZATIONS}
permission.
ACTION_REQUEST_SET_AUTOFILL_SERVICE
→ const String
Activity Action: Show screen that let user select its Autofill Service.
ACTION_SEARCH_SETTINGS
→ const String
Activity Action: Show settings for global search.
ACTION_SECURITY_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of security and
location privacy.
ACTION_SETTINGS
→ const String
Activity Action: Show system settings.
ACTION_SHOW_ADMIN_SUPPORT_DETAILS
→ const String
@hide */ static const String EXTRA_APP_UID = "app_uid";
Activity Action: Show a dialog with disabled by policy message.
ACTION_SHOW_REGULATORY_INFO
→ const String
Activity Action: Show the regulatory information screen for the device.
ACTION_SHOW_REMOTE_BUGREPORT_DIALOG
→ const String
Activity Action: Show a dialog for remote bugreport flow.
ACTION_SOUND_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of sound and volume.
ACTION_STORAGE_MANAGER_SETTINGS
→ const String
Activity Action: Show Storage Manager settings.
ACTION_STORAGE_VOLUME_ACCESS_SETTINGS
→ const String
Activity Action: Show screen for controlling which apps have access on volume directories.
ACTION_SYNC_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of sync settings.
ACTION_SYSTEM_UPDATE_SETTINGS
→ const String
Activity Action: Show settings for system update functionality.
ACTION_TETHER_PROVISIONING
→ const String
Activity Action: Show tether provisioning activity.
ACTION_TRUSTED_CREDENTIALS_USER
→ const String
Activity Action: Show trusted credentials settings, opening to the user tab,
to allow management of installed credentials.
ACTION_USAGE_ACCESS_SETTINGS
→ const String
Activity Action: Show settings to control access to usage information.
ACTION_USER_DICTIONARY_INSERT
→ const String
Activity Action: Adds a word to the user dictionary.
ACTION_USER_DICTIONARY_SETTINGS
→ const String
Activity Action: Show settings to manage the user input dictionary.
ACTION_USER_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of users.
ACTION_VOICE_CONTROL_BATTERY_SAVER_MODE
→ const String
Activity Action: Modify Battery Saver mode setting using a voice command.
ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE
→ const String
Activity Action: Modify do not disturb mode settings.
ACTION_VOICE_INPUT_SETTINGS
→ const String
Activity Action: Show settings to configure input methods, in particular
allowing the user to enable input methods.
ACTION_VPN_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of VPN.
ACTION_VR_LISTENER_SETTINGS
→ const String
Activity Action: Show VR listener settings.
ACTION_WEBVIEW_SETTINGS
→ const String
Activity Action: Allows user to select current webview implementation.
ACTION_WIFI_IP_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of a static IP
address for Wi-Fi.
ACTION_WIFI_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of Wi-Fi.
ACTION_WIRELESS_SETTINGS
→ const String
Activity Action: Show settings to allow configuration of wireless controls
such as Wi-Fi, Bluetooth and Mobile networks.
ACTION_ZEN_MODE_AUTOMATION_SETTINGS
→ const String
Activity Action: Show Zen Mode automation configuration settings.
ACTION_ZEN_MODE_EVENT_RULE_SETTINGS
→ const String
Activity Action: Show Zen Mode event rule configuration settings.
ACTION_ZEN_MODE_EXTERNAL_RULE_SETTINGS
→ const String
Activity Action: Show Zen Mode external rule configuration settings.
ACTION_ZEN_MODE_PRIORITY_SETTINGS
→ const String
Activity Action: Show Zen Mode (aka Do Not Disturb) priority configuration settings.
ACTION_ZEN_MODE_SCHEDULE_RULE_SETTINGS
→ const String
Activity Action: Show Zen Mode schedule rule configuration settings.
ACTION_ZEN_MODE_SETTINGS
→ const String
Activity Action: Show Zen Mode configuration settings.
DEVICE_NAME_SETTINGS
→ const String
Activity Action: Show Device Name Settings.
Activity Extra: The package owner of the notification channel settings to display.
Activity Extra: The {@link NotificationChannel#getId()} of the notification channel settings
to display.
INTENT_CATEGORY_USAGE_ACCESS_CONFIG
→ const String
Activity Category: Show application settings related to usage access.
METADATA_USAGE_ACCESS_REASON
→ const String
Metadata key: Reason for needing usage access.
ZEN_MODE_BLOCKED_EFFECTS_SETTINGS
→ const String
Activity Action: Show Zen Mode visual effects configuration settings.
ZEN_MODE_ONBOARDING
→ const String
Activity Action: Show Zen Mode onboarding activity.