Stay organized with collections
Save and categorize content based on your preferences.
class MetadataRequest : Parcelable
Request parameters to retrieve all metadata for all available settings preferences within this application.
This object passed to SettingsPreferenceService.onGetAllPreferenceMetadata
will result in a MetadataResult
.
Summary
Inherited constants |
From class Parcelable
Int |
CONTENTS_FILE_DESCRIPTOR
Descriptor bit used with describeContents() : indicates that the Parcelable object's flattened representation includes a file descriptor.
|
Int |
PARCELABLE_WRITE_RETURN_VALUE
Flag for use with writeToParcel : the object being written is a return value, that is the result of a function such as "Parcelable someFunction() ", "void someFunction(out Parcelable) ", or "void someFunction(inout Parcelable) ". Some implementations may want to release resources at this point.
|
|
Properties
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.
[null,null,["Last updated 2025-03-13 UTC."],[],[],null,["# MetadataRequest\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nMetadataRequest\n===============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/service/settings/preferences/MetadataRequest \"View this page in Java\") \n\n```\nclass MetadataRequest : Parcelable\n```\n\n|---|-----------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.service.settings.preferences.MetadataRequest](#) |\n\nRequest parameters to retrieve all metadata for all available settings preferences within this application.\n\nThis object passed to [SettingsPreferenceService.onGetAllPreferenceMetadata](/reference/kotlin/android/service/settings/preferences/SettingsPreferenceService#onGetAllPreferenceMetadata(android.service.settings.preferences.MetadataRequest,%20android.os.OutcomeReceiver)) will result in a [MetadataResult](/reference/kotlin/android/service/settings/preferences/MetadataResult).\n\nSummary\n-------\n\n| Nested classes ||\n|---|--------------------------------------------------------------------------------------------------------------------------------------|\n| | [Builder](/reference/kotlin/android/service/settings/preferences/MetadataRequest.Builder) Builder to construct [MetadataRequest](#). |\n\n| Inherited constants ||\n|---|---|\n| From class [Parcelable](../../../os/Parcelable.html#) |----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CONTENTS_FILE_DESCRIPTOR](../../../os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR:kotlin.Int) Descriptor bit used with [describeContents()](../../../os/Parcelable.html#describeContents()): indicates that the Parcelable object's flattened representation includes a file descriptor. \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PARCELABLE_WRITE_RETURN_VALUE](../../../os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE:kotlin.Int) Flag for use with [writeToParcel](../../../os/Parcelable.html#writeToParcel(android.os.Parcel,%20kotlin.Int)): the object being written is a return value, that is the result of a function such as \"`Parcelable someFunction()`\", \"`void someFunction(out Parcelable)`\", or \"`void someFunction(inout Parcelable)`\". Some implementations may want to release resources at this point. \u003cbr /\u003e | ||\n\n| Properties ||\n|--------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| static [Parcelable.Creator](../../../os/Parcelable.Creator.html#)\\\u003c[MetadataRequest](#)!\\\u003e | [CREATOR](#CREATOR:android.os.Parcelable.Creator) Parcelable Creator for [MetadataRequest](#). |\n\nProperties\n----------\n\n### CREATOR\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CREATOR: Parcelable.Creator\u003cMetadataRequest!\u003e\n```\n\nParcelable Creator for [MetadataRequest](#)."]]