Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
Builder to construct GetValueRequest
.
Summary
Public constructors |
Create Builder instance.
|
Public constructors
Builder
Builder(
screenKey: String,
preferenceKey: String)
Create Builder instance.
Parameters |
screenKey |
String: required to be not empty |
preferenceKey |
String: required to be not empty |
Public methods
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,["# GetValueRequest.Builder\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBuilder\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/service/settings/preferences/GetValueRequest.Builder \"View this page in Java\") \n\n```\nclass Builder\n```\n\n|---|-------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.service.settings.preferences.GetValueRequest.Builder](#) |\n\nBuilder to construct [GetValueRequest](/reference/kotlin/android/service/settings/preferences/GetValueRequest).\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [Builder](#Builder(kotlin.String,%20kotlin.String))`(`screenKey:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `preferenceKey:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Create Builder instance. |\n\n| Public methods ||\n|-------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GetValueRequest](/reference/kotlin/android/service/settings/preferences/GetValueRequest) | [build](#build())`()` Constructs an immutable [GetValueRequest](/reference/kotlin/android/service/settings/preferences/GetValueRequest) object. |\n\nPublic constructors\n-------------------\n\n### Builder\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nBuilder(\n screenKey: String, \n preferenceKey: String)\n```\n\nCreate Builder instance.\n\n| Parameters ||\n|-----------------|------------------------------------------------------------------------------------------------------------|\n| `screenKey` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): required to be not empty |\n| `preferenceKey` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): required to be not empty |\n\nPublic methods\n--------------\n\n### build\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun build(): GetValueRequest\n```\n\nConstructs an immutable [GetValueRequest](/reference/kotlin/android/service/settings/preferences/GetValueRequest) object."]]