SettingsPreferenceMetadataType Enum
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.
Specifies the write sensitivity of a Settings preference.
public enum SettingsPreferenceMetadataType
type SettingsPreferenceMetadataType =
- Inheritance
-
SettingsPreferenceMetadataType
Fields
| Name | Value | Description |
|---|---|---|
| NoSensitivity | 0 | The preference is not write-sensitive and can be written without explicit consent when required permissions are granted. |
| ExpectPostConfirmation | 1 | The preference is mildly write-sensitive; after changing it, the user should be offered a chance to revert it. |
| DeeplinkOnly | 2 | The preference is write-sensitive and must be opened through its deeplink rather than changed through this API. |
| NoDirectAccess | 3 | The preference is highly write-sensitive and cannot be changed or opened through a direct deeplink with this API. |
Remarks
Java documentation for android.service.settings.preferences.SettingsPreferenceMetadata.
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.