Stay organized with collections
Save and categorize content based on your preferences.
android.service.settings.preferences
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[],null,["# android.service.settings.preferences\n\nAdded in [API level 36](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.service.settings.preferences\n====================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/service/settings/preferences/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GetValueRequest](/reference/android/service/settings/preferences/GetValueRequest) | Request parameters to retrieve the current value of a Settings Preference. |\n| [GetValueRequest.Builder](/reference/android/service/settings/preferences/GetValueRequest.Builder) | Builder to construct [GetValueRequest](/reference/android/service/settings/preferences/GetValueRequest). |\n| [GetValueResult](/reference/android/service/settings/preferences/GetValueResult) | Result object given a corresponding [GetValueRequest](/reference/android/service/settings/preferences/GetValueRequest). |\n| [GetValueResult.Builder](/reference/android/service/settings/preferences/GetValueResult.Builder) | Builder to construct [GetValueResult](/reference/android/service/settings/preferences/GetValueResult). |\n| [MetadataRequest](/reference/android/service/settings/preferences/MetadataRequest) | Request parameters to retrieve all metadata for all available settings preferences within this application. |\n| [MetadataRequest.Builder](/reference/android/service/settings/preferences/MetadataRequest.Builder) | Builder to construct [MetadataRequest](/reference/android/service/settings/preferences/MetadataRequest). |\n| [MetadataResult](/reference/android/service/settings/preferences/MetadataResult) | Result object given a corresponding [MetadataRequest](/reference/android/service/settings/preferences/MetadataRequest). |\n| [MetadataResult.Builder](/reference/android/service/settings/preferences/MetadataResult.Builder) | Builder to construct [MetadataResult](/reference/android/service/settings/preferences/MetadataResult). |\n| [SettingsPreferenceMetadata](/reference/android/service/settings/preferences/SettingsPreferenceMetadata) | Data object representation of a Settings Preference definition and state. |\n| [SettingsPreferenceMetadata.Builder](/reference/android/service/settings/preferences/SettingsPreferenceMetadata.Builder) | Builder to construct [SettingsPreferenceMetadata](/reference/android/service/settings/preferences/SettingsPreferenceMetadata). |\n| [SettingsPreferenceService](/reference/android/service/settings/preferences/SettingsPreferenceService) | Base class for a service that exposes its settings preferences to external access. |\n| [SettingsPreferenceServiceClient](/reference/android/service/settings/preferences/SettingsPreferenceServiceClient) | Client class responsible for binding to and interacting with an instance of [SettingsPreferenceService](/reference/android/service/settings/preferences/SettingsPreferenceService). |\n| [SettingsPreferenceValue](/reference/android/service/settings/preferences/SettingsPreferenceValue) | This objects represents a value that can be used for a particular settings preference. |\n| [SettingsPreferenceValue.Builder](/reference/android/service/settings/preferences/SettingsPreferenceValue.Builder) | Builder to construct [SettingsPreferenceValue](/reference/android/service/settings/preferences/SettingsPreferenceValue). |\n| [SetValueRequest](/reference/android/service/settings/preferences/SetValueRequest) | Request parameters to set the current value to a Settings Preference. |\n| [SetValueRequest.Builder](/reference/android/service/settings/preferences/SetValueRequest.Builder) | Builder to construct [SetValueRequest](/reference/android/service/settings/preferences/SetValueRequest). |\n| [SetValueResult](/reference/android/service/settings/preferences/SetValueResult) | Result object given a corresponding [SetValueRequest](/reference/android/service/settings/preferences/SetValueRequest). |\n| [SetValueResult.Builder](/reference/android/service/settings/preferences/SetValueResult.Builder) | Builder to construct [SetValueResult](/reference/android/service/settings/preferences/SetValueResult). |\n\n-\n\n Classes\n -------\n\n - [GetValueRequest](/reference/android/service/settings/preferences/GetValueRequest)\n - [GetValueRequest.Builder](/reference/android/service/settings/preferences/GetValueRequest.Builder)\n - [GetValueResult](/reference/android/service/settings/preferences/GetValueResult)\n - [GetValueResult.Builder](/reference/android/service/settings/preferences/GetValueResult.Builder)\n - [MetadataRequest](/reference/android/service/settings/preferences/MetadataRequest)\n - [MetadataRequest.Builder](/reference/android/service/settings/preferences/MetadataRequest.Builder)\n - [MetadataResult](/reference/android/service/settings/preferences/MetadataResult)\n - [MetadataResult.Builder](/reference/android/service/settings/preferences/MetadataResult.Builder)\n - [SettingsPreferenceMetadata](/reference/android/service/settings/preferences/SettingsPreferenceMetadata)\n - [SettingsPreferenceMetadata.Builder](/reference/android/service/settings/preferences/SettingsPreferenceMetadata.Builder)\n - [SettingsPreferenceService](/reference/android/service/settings/preferences/SettingsPreferenceService)\n - [SettingsPreferenceServiceClient](/reference/android/service/settings/preferences/SettingsPreferenceServiceClient)\n - [SettingsPreferenceValue](/reference/android/service/settings/preferences/SettingsPreferenceValue)\n - [SettingsPreferenceValue.Builder](/reference/android/service/settings/preferences/SettingsPreferenceValue.Builder)\n - [SetValueRequest](/reference/android/service/settings/preferences/SetValueRequest)\n - [SetValueRequest.Builder](/reference/android/service/settings/preferences/SetValueRequest.Builder)\n - [SetValueResult](/reference/android/service/settings/preferences/SetValueResult)\n - [SetValueResult.Builder](/reference/android/service/settings/preferences/SetValueResult.Builder)"]]