Settings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Settings provider contains global system-level device preferences.
[Android.Runtime.Register("android/provider/Settings", DoNotGenerateAcw=true)]
public sealed class Settings : Java.Lang.Object
[<Android.Runtime.Register("android/provider/Settings", DoNotGenerateAcw=true)>]
type Settings = class
inherit Object
- Inheritance
- Attributes
Remarks
The Settings provider contains global system-level device preferences.
Java documentation for android.provider.Settings
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
Settings() |
Fields
ActionAccessibilitySettings |
Activity Action: Show settings for accessibility modules. |
ActionAddAccount |
Activity Action: Show add account screen for creating a new account. |
ActionAdvancedMemoryProtectionSettings |
Activity Action: Show settings to allow configuration of Advanced memory protection. |
ActionAirplaneModeSettings |
Activity Action: Show settings to allow entering/exiting airplane mode. |
ActionAllAppsNotificationSettings |
Activity Action: Show app listing settings, filtered by those that send notifications. |
ActionApnSettings |
Activity Action: Show settings to allow configuration of APNs. |
ActionApplicationDetailsSettings |
Activity Action: Show screen of details about a particular application. |
ActionApplicationDevelopmentSettings |
Activity Action: Show settings to allow configuration of application development-related settings. |
ActionApplicationSettings |
Activity Action: Show settings to allow configuration of application-related settings. |
ActionAppLocaleSettings |
Activity Action: Show settings to allow configuration of per application locale. |
ActionAppNotificationBubbleSettings |
Activity Action: Show notification bubble settings for a single app. |
ActionAppNotificationSettings |
Activity Action: Show notification settings for a single app. |
ActionAppOpenByDefaultSettings |
Activity Action: Show the "Open by Default" page in a particular application's details page. |
ActionAppSearchSettings |
Activity action: Show Settings app search UI when this action is available for device. |
ActionAppUsageSettings |
Activity Action: Show screen for controlling app usage properties for an app. |
ActionAutoRotateSettings |
Activity Action: Show Auto Rotate configuration settings. |
ActionBatterySaverSettings |
Activity Action: Show battery saver settings. |
ActionBiometricEnroll |
Activity Action: Show settings to enroll biometrics, and setup PIN/Pattern/Pass if necessary. |
ActionBluetoothSettings |
Activity Action: Show settings to allow configuration of Bluetooth. |
ActionCaptioningSettings |
Activity Action: Show settings for video captioning. |
ActionCastSettings |
Activity Action: Show settings to allow configuration of cast endpoints. |
ActionChannelNotificationSettings |
Activity Action: Show notification settings for a single |
ActionConditionProviderSettings |
Activity Action: Show the automatic do not disturb rule listing page |
ActionDataRoamingSettings |
Activity Action: Show settings for selection of 2G/3G. |
ActionDataUsageSettings |
Activity Action: Show settings to allow configuration of data and view data usage. |
ActionDateSettings |
Activity Action: Show settings to allow configuration of date and time. |
ActionDeviceInfoSettings |
Activity Action: Show general device information settings (serial number, software version, phone number, etc. |
ActionDisplaySettings |
Activity Action: Show settings to allow configuration of display. |
ActionDreamSettings |
Activity Action: Show Daydream settings. |
ActionFingerprintEnroll |
Activity Action: Show settings to enroll fingerprints, and setup PIN/Pattern/Pass if necessary. |
ActionHardKeyboardSettings |
Activity Action: Show settings to configure the hardware keyboard. |
ActionHomeSettings |
Activity Action: Show Home selection settings. |
ActionIgnoreBackgroundDataRestrictionsSettings |
Activity Action: Show screen for controlling background data restrictions for a particular application. |
ActionIgnoreBatteryOptimizationSettings |
Activity Action: Show screen for controlling which apps can ignore battery optimizations. |
ActionInputMethodSettings |
Activity Action: Show settings to configure input methods, in particular allowing the user to enable input methods. |
ActionInputMethodSubtypeSettings |
Activity Action: Show settings to enable/disable input method subtypes. |
ActionInternalStorageSettings |
Activity Action: Show settings for internal storage. |
ActionLocaleSettings |
Activity Action: Show settings to allow configuration of locale. |
ActionLocationSourceSettings |
Activity Action: Show settings to allow configuration of current location sources. |
ActionManageAllApplicationsSettings |
Activity Action: Show settings to manage all applications. |
ActionManageAllFilesAccessPermission |
Activity Action: Show screen for controlling which apps have access to manage external storage. |
ActionManageAllSimProfilesSettings |
Activity Action: Show settings to manage all SIM profiles. |
ActionManageAppAllFilesAccessPermission |
Activity Action: Show screen for controlling if the app specified in the data URI of the intent can manage external storage. |
ActionManageApplicationsSettings |
Activity Action: Show settings to manage installed applications. |
ActionManageAppUseFullScreenIntent |
Activity Action: Show screen for controlling whether an app can send full screen intents. |
ActionManageDefaultAppsSettings |
Activity Action: Show Default apps settings. |
ActionManageOverlayPermission |
Activity Action: Show screen for controlling which apps can draw on top of other apps. |
ActionManageSupervisorRestrictedSetting |
Activity action: Launch UI to manage a setting restricted by supervisors. |
ActionManageUnknownAppSources |
Activity Action: Show settings to allow configuration of trusted external sources |
ActionManageWriteSettings |
Activity Action: Show screen for controlling which apps are allowed to write/modify system settings. |
ActionMemoryCardSettings |
Activity Action: Show settings for memory card storage. |
ActionNetworkOperatorSettings |
Activity Action: Show settings for selecting the network operator. |
ActionNfcPaymentSettings |
Activity Action: Show NFC Tap & Pay settings |
ActionNfcSettings |
Activity Action: Show NFC settings. |
ActionNfcsharingSettings |
Activity Action: Show NFC Sharing settings. |
ActionNightDisplaySettings |
Activity Action: Show settings to allow configuration of Night display. |
ActionNotificationAssistantSettings |
Activity Action: Show Notification assistant settings. |
ActionNotificationListenerDetailSettings |
Activity Action: Show notification listener permission settings page for app. |
ActionNotificationListenerSettings |
Activity Action: Show Notification listener settings. |
ActionNotificationPolicyAccessSettings |
Activity Action: Show Do Not Disturb access settings. |
ActionPrintSettings |
Activity Action: Show the top level print settings. |
ActionPrivacySettings |
Activity Action: Show settings to allow configuration of privacy options. |
ActionProcessWifiEasyConnectUri |
Activity Action: Show setting page to process a Wi-Fi Easy Connect (aka DPP) URI and start configuration. |
ActionQuickAccessWalletSettings |
Activity Action: Show screen for controlling the Quick Access Wallet. |
ActionQuickLaunchSettings |
Activity Action: Show settings to allow configuration of quick launch shortcuts. |
ActionRegionalPreferencesSettings |
Activity Action: Show settings to allow configuration of regional preferences |
ActionRequestIgnoreBatteryOptimizations |
Activity Action: Ask the user to allow an app to ignore battery optimizations (that is,
put them on the whitelist of apps shown by
|
ActionRequestManageMedia |
Activity Action: Show settings to allow configuration of
|
ActionRequestScheduleExactAlarm |
Activity Action: Show settings to allow configuration of
|
ActionRequestSetAutofillService |
Activity Action: Show screen that let user select its Autofill Service. |
ActionSearchSettings |
Activity Action: Show settings for global search. |
ActionSecuritySettings |
Activity Action: Show settings to allow configuration of security and location privacy. |
ActionSettings |
Activity Action: Show system settings. |
ActionSettingsEmbedDeepLinkActivity |
Activity Action: For system or preinstalled apps to show their |
ActionShowRegulatoryInfo |
Activity Action: Show the regulatory information screen for the device. |
ActionShowWorkPolicyInfo |
Activity Action: Show Work Policy info. |
ActionSoundSettings |
Activity Action: Show settings to allow configuration of sound and volume. |
ActionStorageVolumeAccessSettings |
Activity Action: Show screen for controlling which apps have access on volume directories. |
ActionSyncSettings |
Activity Action: Show settings to allow configuration of sync settings. |
ActionUsageAccessSettings |
Activity Action: Show settings to control access to usage information. |
ActionUserDictionarySettings |
Activity Action: Show settings to manage the user input dictionary. |
ActionVoiceControlAirplaneMode |
Activity Action: Modify Airplane mode settings using a voice command. |
ActionVoiceControlBatterySaverMode |
Activity Action: Modify Battery Saver mode setting using a voice command. |
ActionVoiceControlDoNotDisturbMode |
Activity Action: Modify do not disturb mode settings. |
ActionVoiceInputSettings |
Activity Action: Show settings to configure input methods, in particular allowing the user to enable input methods. |
ActionVpnSettings |
Activity Action: Show settings to allow configuration of VPN. |
ActionVrListenerSettings |
Activity Action: Show VR listener settings. |
ActionWebviewSettings |
Activity Action: Allows user to select current webview implementation. |
ActionWifiAddNetworks |
Activity Action: Show setting page to process the addition of Wi-Fi networks to the user's saved network list. |
ActionWifiIpSettings |
Activity Action: Show settings to allow configuration of a static IP address for Wi-Fi. |
ActionWifiSettings |
Activity Action: Show settings to allow configuration of Wi-Fi. |
ActionWirelessSettings |
Activity Action: Show settings to allow configuration of wireless controls such as Wi-Fi, Bluetooth and Mobile networks. |
ActionZenModePrioritySettings |
Activity Action: Show Zen Mode (aka Do Not Disturb) priority configuration settings. |
AddWifiResultAddOrUpdateFailed |
Obsolete.
A result of |
AddWifiResultAlreadyExists |
Obsolete.
A result of |
AddWifiResultSuccess |
Obsolete.
A result of |
Authority | |
ExtraAccountTypes |
Activity Extra: Limit available options in launched activity based on the given account types. |
ExtraAirplaneModeEnabled |
Activity Extra: Enable or disable Airplane Mode. |
ExtraAppPackage |
Activity Extra: The package owner of the notification channel settings to display. |
ExtraAuthorities |
Activity Extra: Limit available options in launched activity based on the given authority. |
ExtraBatterySaverModeEnabled |
Activity Extra: Enable or disable Battery saver mode. |
ExtraBiometricAuthenticatorsAllowed |
Activity Extra: The minimum strength to request enrollment for. |
ExtraChannelFilterList |
Activity Extra: An |
ExtraChannelId |
Activity Extra: The |
ExtraConversationId |
Activity Extra: The |
ExtraDoNotDisturbModeEnabled |
Activity Extra: Enable or disable Do Not Disturb mode. |
ExtraDoNotDisturbModeMinutes |
Activity Extra: How many minutes to enable do not disturb mode for. |
ExtraEasyConnectAttemptedSsid |
Activity Extra: The SSID that the Enrollee tried to connect to. |
ExtraEasyConnectBandList |
Activity Extra: The Band List that the Enrollee supports. |
ExtraEasyConnectChannelList |
Activity Extra: The Channel List that the Enrollee used to scan a network. |
ExtraEasyConnectErrorCode |
Activity Extra: The Easy Connect operation error code |
ExtraInputMethodId | |
ExtraNotificationListenerComponentName |
Activity Extra: What component name to show the notification listener permission page for. |
ExtraSettingsEmbeddedDeepLinkHighlightMenuKey |
Activity Extra: Specify a key that indicates the menu item which should be highlighted on settings home menu. |
ExtraSettingsEmbeddedDeepLinkIntentUri |
Activity Extra: Specify the intent for the |
ExtraSubId |
An int extra specifying a subscription ID. |
ExtraSupervisorRestrictedSettingKey |
Intent extra: The id of a setting restricted by supervisors. |
ExtraWifiNetworkList |
A bundle extra of |
ExtraWifiNetworkResultList |
A bundle extra of the result of |
IntentCategoryUsageAccessConfig |
Activity Category: Show application settings related to usage access. |
MetadataUsageAccessReason |
Metadata key: Reason for needing usage access. |
SupervisorVerificationSettingBiometrics |
Obsolete.
Settings for supervisors to control what kinds of biometric sensors, such a face and fingerprint scanners, can be used on the device. |
SupervisorVerificationSettingUnknown |
Obsolete.
The unknown setting can usually be ignored and is used for compatibility with future supervisor settings. |
Properties
Class |
Returns the runtime class of this |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
PeerReference | (Inherited from Object) |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. (Inherited from Object) |
Methods
CanDrawOverlays(Context) |
Checks if the specified context can draw on top of other apps. |
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |