Parcelable


public interface Parcelable

android.os.Parcelable
AbsSavedState A Parcelable implementation that should be used by inheritance hierarchies to ensure the state of all classes along the chain is saved. 
AbsoluteSizeSpan A span that changes the size of the text it's attached to. 
AccessibilityEvent

This class represents accessibility events that are sent by the system when something notable happens in the user interface. 

AccessibilityGestureEvent This class describes the gesture event including gesture id and which display it happens on. 
AccessibilityNodeInfo This class represents a node of the window content as well as actions that can be requested from its source. 
AccessibilityNodeInfo.AccessibilityAction A class defining an action that can be performed on an AccessibilityNodeInfo
AccessibilityNodeInfo.TouchDelegateInfo Class with information of touch delegated views and regions from TouchDelegate for the AccessibilityNodeInfo
AccessibilityServiceInfo This class describes an AccessibilityService
AccessibilityWindowInfo This class represents a state snapshot of a window for accessibility purposes. 
Account Value type that represents an Account in the AccountManager
AccountAuthenticatorResponse Object used to communicate responses back to the AccountManager 
Action An action defined by the provider that intents into the provider's app for specific user actions. 
ActiveProcessingPicture Active picture represents an image or video undergoing picture processing which uses a picture profile. 
ActivityInfo Information you can retrieve about a particular application activity or receiver. 
ActivityManager.MemoryInfo Information you can retrieve about the available memory through ActivityManager.getMemoryInfo
ActivityManager.ProcessErrorStateInfo Information you can retrieve about any processes that are in an error condition. 
ActivityManager.RecentTaskInfo Information you can retrieve about tasks that the user has most recently started or visited. 
ActivityManager.RunningAppProcessInfo Information you can retrieve about a running process. 
ActivityManager.RunningServiceInfo Information you can retrieve about a particular Service that is currently running in the system. 
ActivityManager.RunningTaskInfo Information you can retrieve about a particular task that is currently "running" in the system. 
ActivityManager.TaskDescription Information you can set and retrieve about the current activity within the recent task list. 
AdBuffer Buffer for advertisement data. 
AdData Represents data specific to an ad that is necessary for ad selection and rendering. 
AdFilters A container class for filters which are associated with an ad. 
AdRequest An advertisement request which can be sent to TV input to request AD operations. 
AdResponse An advertisement response which can be sent to TV interactive App service to inform AD status. 
AdSelectionConfig Contains the configuration of the ad selection process. 
AdSelectionFromOutcomesConfig Contains the configuration of the ad selection process that select a winner from a given list of ad selection ids. 
AdSelectionSignals This class holds JSON that will be passed into a JavaScript function during ad selection. 
AdTechIdentifier An Identifier representing an ad buyer or seller. 
AdWithBid Represents an ad and its corresponding bid value after the bid generation step in the ad selection process. 
Address A class representing an Address, that is, a set of Strings describing a location. 
AdvertiseData Advertise data packet container for Bluetooth LE advertising. 
AdvertiseSettings The AdvertiseSettings provide a way to adjust advertising preferences for each Bluetooth LE advertisement instance. 
AdvertisingRequest Encapsulates parameters for NsdManager.registerService
AdvertisingSetParameters The AdvertisingSetParameters provide a way to adjust advertising preferences for each Bluetooth LE advertising set. 
AitInfo AIT (Application Information Table) info. 
AlarmManager.AlarmClockInfo An immutable description of a scheduled "alarm clock" event. 
AlignmentSpan.Standard Default implementation of the AlignmentSpan
AlternativeSpan List of alternative hypotheses for a specific span of a speech recognition result string. 
AlternativeSpans List of AlternativeSpan for a specific speech recognition result. 
AmbientBacklightEvent Ambient backlight event 
AmbientBacklightMetadata Metadata of ambient backlight. 
AmbientBacklightSettings Settings to configure ambient backlight hardware. 
Annotation Annotations are simple key-value pairs that are preserved across TextView save/restore cycles and can be used to keep application-specific data that needs to be maintained for regions of text. 
ApkChecksum A typed checksum of an APK. 
ApnSetting An Access Point Name (APN) configuration for a carrier data connection. 
AppFunctionException Represents an app function related error. 
AppInfo Information about apps. 
AppInstallFilters A container for the ad filters that are based on app install state. 
AppLinkInfo App link information used by TV interactive app to launch Android apps. 
AppOwnedSdkSandboxInterface Represents a channel for an SDK in the sandbox process to interact with the app. 
AppSearchBlobHandle An identifier to represent a blob in AppSearch. 
AppSearchSchema The AppSearch Schema for a particular type of document. 
AppUriAuthenticationPolicy The app-URI authentication policy is set by the credential management app. 
AppWidgetProviderInfo Describes the meta data for an installed AppWidget provider. 
ApplicationErrorReport Describes an application error. 
ApplicationExitInfo Describes the information of an application process's death. 
ApplicationInfo Information you can retrieve about a particular application. 
ApplicationMediaCapabilities ApplicationMediaCapabilities is an immutable class that encapsulates an application's capabilities for handling newer video codec format and media features. 
ApplicationStartInfo Describes information related to an application process's startup. 
AssetFileDescriptor File descriptor of an entry in the AssetManager. 
AssistContent Holds information about the content an application is viewing, to hand to an assistant at the user's request. 
AssistStructure

This API automatically creates assist data from the platform's implementation of assist and autofill. 

AssociatedDevice Container for device info from an association that is not self-managed. 
AssociationInfo Details for a specific "association" that has been established between an app and companion device. 
AssociationRequest A request for the user to select a companion device to associate with. 
AsyncNotedAppOp When an app-op is noted and the app the app-op is noted for has a AppOpsManager.OnOpNotedCallback registered the note-event needs to be delivered to the callback. 
Attribution Information about an attribution declared by a package. 
AttributionSource This class represents a source to which access to permission protected data should be attributed. 
AudioAttributes A class to encapsulate a collection of attributes describing information about an audio stream. 
AudioDescriptor The AudioDescriptor contains the information to describe the audio playback/capture capabilities. 
AudioFormat The AudioFormat class is used to access a number of audio format and channel configuration constants. 
AudioMixerAttributes Class to represent the attributes of the audio mixer: its format, which represents by an AudioFormat object and mixer behavior. 
AudioPlaybackConfiguration The AudioPlaybackConfiguration class collects the information describing an audio playback session. 
AudioPresentation The AudioPresentation class encapsulates the information that describes an audio presentation which is available in next generation audio content. 
AudioProfile An AudioProfile is specific to an audio format and lists supported sampling rates and channel masks for that format. 
AudioRecordingConfiguration The AudioRecordingConfiguration class collects the information describing an audio recording session. 
AudioTimestamp Structure that groups a position in frame units relative to an assumed audio stream, together with the estimated time when that frame enters or leaves the audio processing pipeline on that device. 
AuthenticationRequiredException Specialization of SecurityException that is thrown when authentication is needed from the end user before viewing the content. 
AuthenticatorDescription A Parcelable value type that contains information about an account authenticator. 
AutofillId A unique identifier for an autofill node inside an Activity
AutofillValue Abstracts how a View can be autofilled by an AutofillService
AutomaticZenRule Rule instance information for a zen (aka DND or Attention Management) mode. 
AvailableNetworkInfo Defines available network information which includes corresponding subscription id, network plmns and corresponding priority to be used for network selection by Opportunistic Network Service when passed through TelephonyManager.updateAvailableNetworks 
AvailableNfcAntenna Represents a single available Nfc antenna on an Android device. 
AwarePairingConfig The config for the Aware Pairing. 
AwareResources The resources of the Aware service. 
BackgroundColorSpan Changes the background color of the text to which the span is attached. 
BackgroundServiceStartNotAllowedException Exception thrown when an app tries to start a background Service when it's not allowed to do so. 
BarringInfo Provides the barring configuration for a particular service type. 
BarringInfo.BarringServiceInfo Describe the current barring configuration of a cell 
BatchUpdates Defines actions to be applied to a template presentation
BeginCreateCredentialRequest Request for beginning a create credential request. 
BeginCreateCredentialResponse Response to a BeginCreateCredentialRequest
BeginGetCredentialOption A specific type of credential request to be sent to the provider during the query phase of a get flow. 
BeginGetCredentialRequest Query stage request for getting user's credentials from a given credential provider. 
BeginGetCredentialResponse Response from a credential provider, containing credential entries and other associated data to be shown on the account selector UI. 
Bitmap  
BleCsRangingCapabilities Represents the capabilities of the Bluetooth-based Channel Sounding (CS) ranging. 
BleCsRangingParams BleCsRangingParams encapsulates the parameters required for a bluetooth channel sounding ranging session. 
BleRssiRangingParams BleRssiRangingParams encapsulates the parameters required for a bluetooth rssi based ranging session. 
BlobHandle An identifier to represent a blob. 
BlockingOption Options for blocking a network through WifiManager.disallowCurrentSuggestedNetwork(BlockingOption) 
BluetoothClass Represents a Bluetooth class, which describes general characteristics and capabilities of a device. 
BluetoothCodecConfig Represents the codec configuration for a Bluetooth A2DP source device. 
BluetoothCodecStatus Represents the codec status (configuration and capability) for a Bluetooth A2DP source device. 
BluetoothCodecType Represents a supported source codec type for a Bluetooth A2DP device. 
BluetoothDevice Represents a remote Bluetooth device. 
BluetoothDevice.BluetoothAddress A data class for Bluetooth address and address type. 
BluetoothDeviceFilter A filter for Bluetooth(non-LE) devices 
BluetoothGattCharacteristic Represents a Bluetooth GATT Characteristic

A GATT characteristic is a basic data element used to construct a GATT service, BluetoothGattService

BluetoothGattDescriptor Represents a Bluetooth GATT Descriptor

GATT Descriptors contain additional information and attributes of a GATT characteristic, BluetoothGattCharacteristic

BluetoothGattService Represents a Bluetooth GATT Service

Gatt Service contains a collection of BluetoothGattCharacteristic, as well as referenced services. 

BluetoothHealthAppConfiguration This class was deprecated in API level 29. Health Device Profile (HDP) and MCAP protocol are no longer used. New apps should use Bluetooth Low Energy based solutions such as BluetoothGatt, BluetoothAdapter.listenUsingL2capChannel(), or BluetoothDevice.createL2capChannel(int) 
BluetoothHidDeviceAppQosSettings Represents the Quality of Service (QoS) settings for a Bluetooth HID Device application. 
BluetoothHidDeviceAppSdpSettings Represents the Service Discovery Protocol (SDP) settings for a Bluetooth HID Device application. 
BluetoothLeAudioCodecConfig Represents the codec configuration for a Bluetooth LE Audio source device. 
BluetoothLeAudioCodecStatus Represents the codec status (configuration and capability) for a Bluetooth Le Audio source device. 
BluetoothLeDeviceFilter A filter for Bluetooth LE devices 
BroadcastInfoRequest A request for the information retrieved from broadcast signal. 
BroadcastInfoResponse A response of BroadcastInfoRequest for information retrieved from broadcast signal. 
BulletSpan A span which styles paragraphs as bullet points (respecting layout direction). 
Bundle A mapping from String keys to various Parcelable values. 
CallAttributes CallAttributes represents a set of properties that define a new Call. 
CallAudioState Encapsulates the telecom audio state, including the current audio routing, supported audio routing and mute. 
CallEndpoint Encapsulates the endpoint where call media can flow 
CallEndpointException This class represents a set of exceptions that can occur when requesting a CallEndpoint change. 
CallException This class defines exceptions that can be thrown when using Telecom APIs with OutcomeReceivers. 
CallingAppInfo Information pertaining to the calling application, including the package name and a list of app signatures. 
Capability Represents a capability that can be performed by an app, also known as App Action. 
CapabilityParams Represents the parameters and its matching names which can be associated with a Capability
CaptivePortal A class allowing apps handling the ConnectivityManager.ACTION_CAPTIVE_PORTAL_SIGN_IN activity to indicate to the system different outcomes of captive portal sign in. 
CaptureRequest

An immutable package of settings and outputs needed to capture a single image from the camera device. 

CarrierIdentifier Used to pass info to CarrierConfigService implementations so they can decide what values to return. 
CellIdentity CellIdentity represents the identity of a unique cell. 
CellIdentityCdma This class was deprecated in API level Baklava. Legacy CDMA is unsupported. 
CellIdentityGsm CellIdentity to represent a unique GSM cell 
CellIdentityLte CellIdentity is to represent a unique LTE cell 
CellIdentityNr Information to represent a unique NR(New Radio 5G) cell. 
CellIdentityTdscdma CellIdentity is to represent a unique TD-SCDMA cell 
CellIdentityWcdma CellIdentity to represent a unique UMTS cell 
CellInfo Immutable cell information from a point in time. 
CellInfoCdma This class was deprecated in API level Baklava. Legacy CDMA is unsupported. 
CellInfoGsm A CellInfo representing a GSM cell that provides identity and measurement info. 
CellInfoLte A CellInfo representing an LTE cell that provides identity and measurement info. 
CellInfoNr A CellInfo representing an 5G NR cell that provides identity and measurement info. 
CellInfoTdscdma A CellInfo representing a TD-SCDMA cell that provides identity and measurement info. 
CellInfoWcdma A CellInfo representing a WCDMA cell that provides identity and measurement info. 
CellSignalStrengthCdma Signal strength related information. 
CellSignalStrengthGsm GSM signal strength related information. 
CellSignalStrengthLte LTE signal strength related information. 
CellSignalStrengthNr 5G NR signal strength related information. 
CellSignalStrengthTdscdma Tdscdma signal strength related information. 
CellSignalStrengthWcdma Wcdma signal strength related information. 
ChangeLogTokenRequest A class to request changelog token using HealthConnectManager.getChangeLogToken 
ChangeLogTokenResponse Response class for HealthConnectManager.getChangeLogToken
ChangeLogsRequest Request class for HealthConnectManager.getChangeLogs 
ChangeLogsResponse Response class for HealthConnectManager.getChangeLogs This is the response to clients fetching changes. 
ChangedPackages Packages that have been changed since the last time they were requested. 
CharSequenceTransformation Replaces a TextView child of a CustomDescription with the contents of one or more regular expressions (regexs). 
Characteristics The characteristics of the Wi-Fi Aware implementation. 
Checksum A typed checksum. 
ChooserAction A ChooserAction is an app-defined action that can be provided to the Android Sharesheet to be shown to the user when Intent.ACTION_CHOOSER is invoked. 
ChooserResult An event reported to a supplied [IntentSender] by the system chooser when an activity is selected or other actions are taken to complete the session. 
ChooserTarget This class was deprecated in API level 30. For publishing direct share targets, please follow the instructions in https://developer.android.com/training/sharing/receive.html#providing-direct-share-targets instead. 
ClearCredentialStateRequest A request class for clearing a user's credential state. 
ClipData Representation of a clipped data on the clipboard. 
ClipDescription Meta-data describing the contents of a ClipData
ClosedSubscriberGroupInfo Information to represent a closed subscriber group. 
CloudMediaProviderContract.Capabilities Information about what capabilities a CloudMediaProvider can support. 
ColorStateList Lets you map View state sets to colors. 
CombinedVibration A CombinedVibration describes a combination of haptic effects to be performed by one or more Vibrators
CommandRequest A request for command from broadcast signal. 
CommandResponse A response for command from broadcast signal. 
CommitBlobResponse The response to provide batch operation results of AppSearchSession.commitBlob
CompletionInfo Information about a single text completion that an editor has reported to an input method. 
ComponentAdData Represents data specific to a component ad that is necessary for ad selection and rendering. 
ComponentName Identifier for a specific application component (Activity, Service, BroadcastReceiver, or ContentProvider) that is available. 
Condition The current condition of an AutomaticZenRule, provided by the app that owns the rule. 
Configuration This class describes all device configuration information that can impact the resources the application retrieves. 
ConfigurationInfo Information you can retrieve about hardware configuration preferences declared by an application. 
ConfigurationStats Represents the usage statistics of a device Configuration for a specific time range. 
ConnectEvent A class that represents a TCP connect event initiated through the standard network stack. 
ConnectionRequest Simple data container encapsulating a request to some entity to create a new Connection
ConnectivityDiagnosticsManager.ConnectivityReport Class that includes connectivity information for a specific Network at a specific time. 
ConnectivityDiagnosticsManager.DataStallReport Class that includes information for a suspected data stall on a specific Network 
ContactsContract.SimAccount A parcelable class encapsulating account data for contacts that originate from a SIM card. 
ContentCaptureCondition Defines a condition for when content capture should be allowed. 
ContentCaptureContext Context associated with a ContentCaptureSession - see ContentCaptureManager for more info. 
ContentCaptureSessionId Identifier for a Content Capture session. 
ContentInfo Holds all the relevant data for a request to View.performReceiveContent
ContentProviderOperation Represents a single operation to be performed as part of a batch of operations. 
ContentProviderResult Contains the result of the application of a ContentProviderOperation
ContentValues This class is used to store a set of values that the ContentResolver can process. 
Control Represents a physical object that can be represented by a ControlTemplate and whose properties may be modified through a ControlAction
ControlButton Button element for ControlTemplate
ConversationAction Represents the action suggested by a TextClassifier on a given conversation. 
ConversationActions Represents a list of actions suggested by a TextClassifier on a given conversation. 
ConversationActions.Message Represents a message in the conversation. 
ConversationActions.Request A request object for generating conversation action suggestions. 
ConversationStatus  
CorrectionInfo Information about a single text correction that an editor has reported to an input method. 
CpuUsageInfo CPU usage information per core. 
CreateCredentialRequest Request for creating a credential. 
CreateCredentialResponse A response object that encapsulates the result of a successful credential creation execution. 
CreateEntry An entry to be shown on the UI. 
CreateMedicalDataSourceRequest A create request for HealthConnectManager.createMedicalDataSource
Credential Class representing Credential subtree in the PerProviderSubscription (PPS) Management Object (MO) tree. 
Credential.CertificateCredential Certificate based credential. 
Credential.SimCredential SIM (Subscriber Identify Module) based credential. 
Credential.UserCredential Username-password based credential. 
CredentialDescription Represents the type and contained data fields of a Credential
CredentialEntry A credential entry that is to be displayed on the account selector that is presented to the user. 
CredentialOption Information about a specific type of credential to be requested during a CredentialManager.getCredential(Context, GetCredentialRequest, CancellationSignal, Executor, OutcomeReceiver) operation. 
Criteria This class was deprecated in API level 34. Criteria based APIs are deprecated because they cannot fully capture the complexity of location providers, and encourage bad development practices. Prefer to explicit select the location provider of interest (LocationManager.FUSED_PROVIDER, etc), rather than relying on Criteria. 
CursorAnchorInfo Positional information about the text insertion point and characters in the composition string. 
CursorWindow A buffer containing multiple cursor rows. 
CustomAudience Represents the information necessary for a custom audience to participate in ad selection. 
CustomDescription Defines a custom description for the autofill save UI. 
DataNotificationConfig Represents the configuration for data notifications in ranging operations. 
DataRemovalRequest Class used by apps to request the content capture service to remove data associated with LocusIds
DataShareRequest Container class representing a request to share data with Content Capture service. 
Dataset

A Dataset object represents a group of fields (key / value pairs) used to autofill parts of a screen. 

DateTransformation Replaces a TextView child of a CustomDescription with the contents of a field that is expected to have a date value
DateValueSanitizer Sanitizes a date AutofillValue using a DateFormat
Debug.MemoryInfo This class is used to retrieved various statistics about the memory mappings for this process. 
DecisionLogic Generic Decision logic that could be provided by the buyer or seller. 
DeleteGesture A sub-class of HandwritingGesture for deleting an area of text using single rectangle. 
DeleteMedicalResourcesRequest A delete request for HealthConnectManager.deleteMedicalResources
DeleteRangeGesture A subclass of HandwritingGesture for deleting a range of text by defining start and end rectangles. 
DeviceAdminInfo This class is used to specify meta information of a device administrator component. 
DeviceFilter<D extends Parcelable> A filter for companion devices of type D 
DeviceHandle Represents a handle to a ranging device, containing information about the device and a transport handle for out-of-band communication. 
DeviceId A device id represents a device identifier managed by the companion app. 
DevicePresenceEvent Event for observing device presence. 
DeviceProductInfo Product-specific information about the display or the directly connected device on the display chain. 
DhcpInfo A simple object for retrieving the results of a DHCP request. 
DirectAction Represents an abstract action that can be perform on this app. 
DisconnectCause Describes the cause of a disconnected call. 
DiscoveryRequest Encapsulates parameters for NsdManager.discoverServices
Display.HdrCapabilities Encapsulates the HDR capabilities of a given display. 
Display.Mode A mode supported by a given display. 
DisplayHash The DisplayHash used to validate information about what was present on screen. 
DisplayShape A class representing the shape of a display. 
DnsEvent A class that represents a DNS lookup event initiated through the standard network stack. 
DocumentsContract.Path Holds a path from a document to a particular document under it. 
DomainVerificationUserState Contains the user selection state for a package. 
DownloadRequest Describes a request to download files over cell-broadcast. 
DownloadableSubscription Information about a subscription which is downloadable to an eUICC using EuiccManager.downloadSubscription(DownloadableSubscription, boolean, PendingIntent) 
DragAndDropPermissions DragAndDropPermissions controls the access permissions for the content URIs associated with a DragEvent
DragEvent Represents an event that is sent out by the system at various times during a drag and drop operation. 
DropBoxManager.Entry A single entry retrieved from the drop box. 
DsmccRequest A request for DSM-CC from broadcast signal. 
DsmccResponse A response for DSM-CC from broadcast signal. 
E2eeContactKeysManager.E2eeContactKey A parcelable class encapsulating other users' end to end encrypted contact key. 
E2eeContactKeysManager.E2eeSelfKey A parcelable class encapsulating self end to end encrypted contact key. 
EasyEditSpan Provides an easy way to edit a portion of text. 
EditingEndedEvent Event for an editing operation having ended. 
EditorBoundsInfo Container of rectangular position related info for the Editor. 
EditorInfo An EditorInfo describes several attributes of a text editing object that an input method is communicating with (typically an EditText), most importantly the type of text content it contains and the current cursor position. 
EmbeddedPhotoPickerFeatureInfo An immutable parcel to carry information regarding desired features of caller for a given session. 
EmbeddingVector Embeddings are vector representations of data, such as text, images, and audio, which can be generated by machine learning models and used for semantic search. 
EmergencyNumber A parcelable class that wraps and retrieves the information of number, service category(s) and country code for a specific emergency number. 
EthernetNetworkSpecifier A NetworkSpecifier used to identify ethernet interfaces. 
EuiccInfo Information about an eUICC chip/device. 
EventLogRecord Data to be logged in the EVENTS table. 
EventStats Contains usage statistics for an event type for a specific time range. 
ExecuteAppFunctionRequest A request to execute an app function. 
ExecuteAppFunctionResponse The response to an app function execution. 
ExerciseRoute Route of the exercise session. 
ExerciseRoute.Location Point in the time and space. 
ExternalStorageStats Shared/external storage statistics for a UserHandle on a single storage volume. 
ExtractedText Information about text that has been extracted for use by an input method. 
ExtractedTextRequest Description of what an input method would like from an application when extract text from its input editor. 
FactoryResetProtectionPolicy The factory reset protection policy determines which accounts can unlock a device that has gone through untrusted factory reset. 
FeatureGroupInfo A set of features that can be requested by an application. 
FeatureInfo Definition of a single optional hardware or software feature of an Android device. 
FhirResource A class to capture the FHIR resource data. 
FhirVersion Represents the FHIR version. 
FieldClassification Represents a classified field from the detection service. 
FileInfo Describes a single file that is available over MBMS. 
FileServiceInfo Describes a file service available from the carrier from which files can be downloaded via cell-broadcast. 
FillContext This class represents a context for each fill request made via AutofillService.onFillRequest(android.service.autofill.FillRequest, android.os.CancellationSignal, android.service.autofill.FillCallback)
FillEventHistory Describes what happened after the last AutofillService.onFillRequest(FillRequest, android.os.CancellationSignal, FillCallback) call. 
FillRequest This class represents a request to an autofill service to interpret the screen and provide information to the system which views are interesting for saving and what are the possible ways to fill the inputs on the screen if applicable. 
FillResponse Response for an AutofillService.onFillRequest(android.service.autofill.FillRequest, android.os.CancellationSignal, android.service.autofill.FillCallback)
ForegroundColorSpan Changes the color of the text to which the span is attached. 
ForegroundServiceStartNotAllowedException Exception thrown when an app tries to start a foreground Service when it's not allowed to do so. 
FormEditRecord Record of a form filling operation that has been executed on a single form field in a PDF. 
FormWidgetInfo Information about a form widget of a PDF document. 
Fragment.SavedState This class was deprecated in API level 28. Use Fragment.SavedState 
FrequencyCapFilters A container for the ad filters that are based on frequency caps. 
Gainmap Gainmap represents a mechanism for augmenting an SDR image to produce an HDR one with variable display adjustment capability. 
GameState State of the game passed to the GameManager. 
GatewayInfo Encapsulated gateway address information for outgoing call. 
Gesture A gesture is a hand-drawn shape on a touch screen. 
GetByDocumentIdRequest Encapsulates a request to retrieve documents by namespace and IDs from the AppSearchSession database. 
GetCredentialRequest Request for getting user's credential from a given credential provider. 
GetCredentialResponse A response object that encapsulates the credential successfully retrieved from the user. 
GetMedicalDataSourcesRequest A create request for HealthConnectManager.getMedicalDataSources
GetSchemaResponse The response class of AppSearchSession.getSchema 
GetValueRequest Request parameters to retrieve the current value of a Settings Preference. 
GetValueResult Result object given a corresponding GetValueRequest
GetWalletCardsError Error response for an GetWalletCardsRequest
GetWalletCardsRequest Represents a request to a QuickAccessWalletService for walletCards
GetWalletCardsResponse The response for an GetWalletCardsRequest contains a list of wallet cards and the index of the card that should initially be displayed in the 'selected' position. 
GnssAntennaInfo A class that contains information about a GNSS antenna. 
GnssAntennaInfo.PhaseCenterOffset Class containing information about the antenna phase center offset (PCO). 
GnssAntennaInfo.SphericalCorrections Represents corrections on a spherical mapping. 
GnssAutomaticGainControl A class that contains GNSS Automatic Gain Control (AGC) information. 
GnssCapabilities GNSS chipset capabilities. 
GnssClock A class containing a GNSS clock timestamp. 
GnssMeasurement A class representing a GNSS satellite measurement, containing raw and computed information. 
GnssMeasurementRequest This class contains extra parameters to pass in a GNSS measurement request. 
GnssMeasurementsEvent A class implementing a container for data associated with a measurement event. 
GnssNavigationMessage A class containing a GNSS satellite Navigation Message. 
GnssSignalType This class represents a GNSS signal type. 
GnssStatus This class represents the current state of the GNSS engine and is used in conjunction with GnssStatus.Callback
HardwareBuffer HardwareBuffer wraps a native AHardwareBuffer object, which is a low-level object representing a memory buffer accessible by various hardware units. 
HdrConversionMode Describes the HDR conversion mode for a device. 
HomeSp Class representing HomeSP subtree in PerProviderSubscription (PPS) Management Object (MO) tree. 
HostUsiVersion Provides information about the supported Universal Stylus Initiative (USI) version of the host device. 
IccOpenLogicalChannelResponse Response to the TelephonyManager.iccOpenLogicalChannel command. 
Icon An umbrella container for several serializable graphics representations, including Bitmaps, compressed bitmap images (e.g. JPG or PNG), and drawable resources (including vectors). 
ImageTransformation Replaces the content of a child ImageView of a presentation template with the first image that matches a regular expression (regex). 
ImsReasonInfo Provides details on why an IMS call failed. 
ImsRegistrationAttributes Contains the attributes associated with the current IMS registration. 
InlinePresentation Wrapper class holding a Slice and an InlinePresentationSpec for rendering UI for an Inline Suggestion. 
InlinePresentationSpec This class represents the presentation specification by which an inline suggestion should abide when constructing its UI. 
InlineSuggestion This class represents an inline suggestion which is made by one app and can be embedded into the UI of another. 
InlineSuggestionInfo This class represents the description of an inline suggestion. 
InlineSuggestionsRequest This class represents an inline suggestion request made by one app to get suggestions from the other source. 
InlineSuggestionsResponse This class represents an inline suggestion response. 
InputBinding Information given to an InputMethod about a client connecting to it. 
InputContentInfo A container object with which input methods can send content files to the target application. 
InputDevice Describes the capabilities of a particular input device. 
InputEvent Common base class for input events. 
InputMethodInfo This class is used to specify meta information of an input method. 
InputMethodSubtype This class is used to specify meta information of a subtype contained in an input method editor (IME). 
InputTransferToken A token that can be used to request focus on or to transfer touch gesture to a SurfaceControlViewHost or SurfaceControl that has an input channel. 
InsertGesture A sub-class of HandwritingGesture for inserting text at the defined insertion point. 
InsertModeGesture A sub-class of HandwritingGesture for starting an insert mode which inserts a space in the editor to let users hand write freely at the designated insertion point. 
Insets An Insets instance holds four integer offsets which describe changes to the four edges of a Rectangle. 
InstallSourceInfo Information about how an app was installed. 
InstrumentationInfo Information you can retrieve about a particular piece of test instrumentation. 
Intent An intent is an abstract description of an operation to be performed. 
Intent.ShortcutIconResource Represents a shortcut/live folder icon resource. 
IntentFilter Structured description of Intent values to be matched. 
IntentSender A description of an Intent and target action to perform with it. 
InvalidForegroundServiceTypeException Exception thrown when an app tries to start a foreground Service with an invalid type. 
IpConfiguration A class representing the IP configuration of a network. 
IpPrefix This class represents an IP prefix, i.e., a contiguous block of IP addresses aligned on a power of two boundary (also known as an "IP subnet"). 
IpSecAlgorithm This class represents a single algorithm that can be used by an IpSecTransform
IpSecTransformState This class represents a snapshot of the state of an IpSecTransform

This class provides the current state of an IpSecTransform, enabling link metric analysis by the caller. 

JobInfo Container of data passed to the JobScheduler fully encapsulating the parameters required to schedule work against the calling application. 
JobInfo.TriggerContentUri Information about a content URI modification that a job would like to trigger on. 
JobParameters Contains the parameters used to configure/identify your job. 
JobWorkItem A unit of work that can be enqueued for a job using JobScheduler.enqueue
JoinOrSplitGesture A subclass of HandwritingGesture for deleting or inserting whitespace in text. 
JoinSpec This class represents the specifications for the joining operation in search. 
KeyCharacterMap Describes the keys provided by a keyboard device and their associated labels. 
KeyEvent Object used to report key and button events. 
KeyboardShortcutGroup A group of KeyboardShortcutInfo
KeyboardShortcutInfo Information about a Keyboard Shortcut. 
KeyedFrequencyCap A frequency cap for a specific ad counter key. 
L2capNetworkSpecifier A NetworkSpecifier used to identify an L2CAP network over BLE. 
LabeledIntent A special subclass of Intent that can have a custom label/icon associated with it. 
LauncherApps.PinItemRequest Represents a "pin shortcut" or a "pin appwidget" request made by an app, which is sent with an LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT or LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET intent respectively to the default launcher app. 
LauncherUserInfo The LauncherUserInfo object holds information about an Android user that is required to display the Launcher related UI elements specific to the user (like badges). 
LeadingMarginSpan.Standard The standard implementation of LeadingMarginSpan, which adjusts the margin but does not do any rendering. 
Light Represents a logical light on the device. 
LightState Represents the state of a device light. 
LineBackgroundSpan.Standard Default implementation of the LineBackgroundSpan, which changes the background color of the lines to which the span is attached. 
LineBreakConfig Specifies the line-break strategies for text wrapping. 
LineBreakConfigSpan LineBreakSpan for changing line break style of the specific region of the text. 
LineHeightSpan.Standard Default implementation of the LineHeightSpan, which changes the line height of the attached paragraph. 
LinkAddress Identifies an IP address on a network link. 
LinkProperties Describes the properties of a network link. 
ListItem Represents a single option in a combo box or list box PDF form widget. 
LoadSdkException Exception thrown by SdkSandboxManager.loadSdk 
LocaleConfig The LocaleConfig of an application. 
LocaleList LocaleList is an immutable list of Locales, typically used to keep an ordered list of user preferences for locales. 
LocaleSpan Changes the Locale of the text to which the span is attached. 
Location A data class representing a geographic location. 
LocationRequest An encapsulation of various parameters for requesting location via LocationManager
LocusId An identifier for an unique state (locus) in the application. 
LuhnChecksumValidator Validator that returns true if the number created by concatenating all given fields pass a Luhn algorithm checksum. 
MacAddress Representation of a MAC address. 
MagnificationConfig This class describes the magnification config for AccessibilityService to control the magnification. 
ManagedSubscriptionsPolicy A policy class that describes how managed SIM subscriptions should behave on the device. 
MediaBrowser.MediaItem A class with information on a single media item for use in browsing/searching media. 
MediaController.PlaybackInfo Holds information about the current playback and how audio is handled for this session. 
MediaDescription A simple set of metadata for a media item suitable for display. 
MediaItemInfo Represents information about a piece of media (for example, an audio or video file). 
MediaMetadata Contains metadata about an item, such as the title, artist, etc. 
MediaPlayer.TrackInfo Class for MediaPlayer to return each audio/video/subtitle track's metadata. 
MediaProjectionConfig Configure the MediaProjection session requested from MediaProjectionManager.createScreenCaptureIntent(MediaProjectionConfig)
MediaQualityManager.ProfileQueryParams Options for profile queries. 
MediaRoute2Info Describes the properties of a route. 
MediaSession.QueueItem A single item that is part of the play queue. 
MediaSession.Token Represents an ongoing session. 
MediaSyncEvent The MediaSyncEvent class defines events that can be used to synchronize playback or capture actions between different players and recorders. 
MedicalDataSource Captures the data source information of medical data. 
MedicalResource A class to capture the user's medical data. 
MedicalResourceId A class to represent a unique identifier of a medical resource. 
Message Defines a message containing a description and arbitrary data object that can be sent to a Handler
MessagePdu A parcelable list of PDUs representing contents of a possibly multi-part SMS. 
Messenger Reference to a Handler, which others can use to send messages to it. 
MetadataRequest Request parameters to retrieve all metadata for all available settings preferences within this application. 
MetadataResult Result object given a corresponding MetadataRequest
MidiDeviceInfo This class contains information to describe a MIDI device. 
MidiDeviceStatus This is an immutable class that describes the current status of a MIDI device's ports. 
MissingForegroundServiceTypeException Exception thrown when an app tries to start a foreground Service without a type. 
MloLink Data structure class representing a Wi-Fi Multi-Link Operation (MLO) link This is only used by 802.11be capable devices 
ModuleInfo Information you can retrieve about a particular system module. 
MotionEvent Object used to report movement (mouse, pen, finger, trackball) events. 
NdefMessage Represents an immutable NDEF Message. 
NdefRecord Represents an immutable NDEF Record. 
NeighboringCellInfo This class was deprecated in API level 29. This class should not be used by any app targeting Android Q or higher. Instead callers should use CellInfo. 
Network Identifies a Network
NetworkCapabilities Representation of the capabilities of an active network. 
NetworkEvent An abstract class that represents a network event. 
NetworkInfo This class was deprecated in API level 29. Callers should instead use the ConnectivityManager.NetworkCallback API to learn about connectivity changes, or switch to use ConnectivityManager.getNetworkCapabilities or ConnectivityManager.getLinkProperties to get information synchronously. Keep in mind that while callbacks are guaranteed to be called for every event in order, synchronous calls have no such constraints, and as such it is unadvisable to use the synchronous methods inside the callbacks as they will often not offer a view of networking that is consistent (that is: they may return a past or a future state with respect to the event being processed by the callback). Instead, callers are advised to only use the arguments of the callbacks, possibly memorizing the specific bits of information they need to keep from one callback to another. 
NetworkRegistrationInfo Description of a mobile network registration info 
NetworkRequest An object describing a network that the application is interested in. 
NetworkScanRequest Defines a request to perform a network scan. 
NetworkSliceInfo Represents a S-NSSAI as defined in 3GPP TS 24.501, which represents a network slice. 
NetworkSlicingConfig Represents a slicing configuration 
NfcAntennaInfo Contains information on all available Nfc antennas on an Android device as well as information on the device itself in relation positioning of the antennas. 
NoWritingToolsSpan A span that signals to IMEs that writing tools should not modify the text. 
Notification A class that represents how a persistent notification is to be presented to the user using the NotificationManager
Notification.Action Structure to encapsulate a named action that can be shown as part of this notification. 
Notification.BubbleMetadata Encapsulates the information needed to display a notification as a bubble. 
NotificationChannel A representation of settings that apply to a collection of similarly themed notifications. 
NotificationChannelGroup A grouping of related notification channels. 
NotificationListenerService.RankingMap Provides access to ranking information on currently active notifications. 
NotificationManager.Policy Notification policy configuration. 
NsdServiceInfo A class representing service information for network service discovery 
ObbInfo Basic information about a Opaque Binary Blob (OBB) that reflects the info from the footer on the OBB file. 
ObserverSpec Configures the types, namespaces and other properties that ObserverCallback instances match against. 
ObservingDevicePresenceRequest A request for setting the types of device for observing device presence. 
OobInitiatorRangingConfig Represents the configuration for an Out-of-Band (OOB) initiator in a ranging session. 
OobResponderRangingConfig Represents the configuration for an Out-of-Band (OOB) responder in a ranging session. 
OpenBlobForReadResponse The response to provide batch operation results of AppSearchSession.openBlobForRead
OpenBlobForWriteResponse The response to provide batch operation results of AppSearchSession.openBlobForWrite
OutputConfiguration A class for describing camera output, which contains a Surface and its specific configuration for creating capture session. 
OverlayIdentifier A key used to uniquely identify a Runtime Resource Overlay (RRO). 
OverlayInfo An immutable information about an overlay. 
OverlayManagerTransaction A container for a batch of requests to the OverlayManager. 
OverlayProperties Provides supported overlay properties of the device. 
PackageInfo Overall information about the contents of a package. 
PackageInstaller.InstallConstraints A class to encapsulate constraints for installation. 
PackageInstaller.InstallConstraintsResult The callback result of PackageInstaller.checkInstallConstraints(java.util.List, android.content.pm.PackageInstaller.InstallConstraints, java.util.concurrent.Executor, java.util.function.Consumer)
PackageInstaller.PreapprovalDetails Details for requesting the pre-commit install approval. 
PackageInstaller.SessionInfo Details for an active install session. 
PackageInstaller.SessionParams Parameters for creating a new PackageInstaller.Session
PackageManager.ComponentEnabledSetting The class containing the enabled setting of a package component. 
PackageManager.Property A property value set within the manifest. 
PackagePolicy A generic class that defines which APK packages are in scope for some device policy. 
PackageStats This class was deprecated in API level 26. this class is an orphan that could never be obtained from a valid public API. If you need package storage statistics use the new StorageStatsManager APIs. 
PageMatchBounds Represents the bounds of a single search match on a page of the PDF document. 
PageRange Represents a range of pages. 
PageSelection

Represents the list of selected content on a particular page of the PDF document. 

ParameterCapability Capability info of media quality parameters 
ParcelFileDescriptor The FileDescriptor returned by Parcel.readFileDescriptor, allowing you to close it when done with it. 
ParcelUuid This class is a Parcelable wrapper around UUID which is an immutable representation of a 128-bit universally unique identifier. 
ParcelableColorSpace A Parcelable wrapper for a ColorSpace
ParcelablePeerHandle A Parcelable PeerHandle
ParcelableSpan A special kind of Parcelable for objects that will serve as text spans. 
PartialCustomAudience Represents a partial custom audience that is passed along to the buyer ad tech, when scheduling a delayed update for Custom Audience. 
PasnConfig Pre-association security negotiation (PASN) configuration. 
PasspointConfiguration Class representing Passpoint configuration. 
PathPermission Description of permissions needed to access a particular path in a ProviderInfo
PatternMatcher A simple pattern matcher, which is safe to use on untrusted data: it does not provide full reg-exp support, only simple globbing that can not be used maliciously. 
PdfPageGotoLinkContent Represents the content associated with a goto link on a page in the PDF document. 
PdfPageGotoLinkContent.Destination Represents the content associated with the destination where a goto link is directing 
PdfPageImageContent

Represents the content associated with an image type in a page of a PDF document. 

PdfPageLinkContent

Represents the bounds and link on a page of the PDF document. 

PdfPageTextContent

Represents a continuous stream of text in a page of a PDF document in the order of viewing. 

PendingIntent A description of an Intent and target action to perform with it. 
PendingJobReasonsInfo A simple wrapper which includes a timestamp (in millis since epoch) and an array of ERROR(reasons/android.app.job.JobScheduler.PendingJobReason reasons) at that timestamp for why a particular job may be pending. 
PerBuyerConfiguration Contains a per buyer configuration which will be used as part of a SellerConfiguration in a GetAdSelectionDataRequest
PerBuyerDecisionLogic The override object for decision logic JS per buyer for SignedContextualAds
PeriodicAdvertisingParameters The PeriodicAdvertisingParameters provide a way to adjust periodic advertising preferences for each Bluetooth LE advertising set. 
PeriodicSync Value type that contains information about a periodic sync. 
PermissionGroupInfo Information you can retrieve about a particular security permission group known to the system. 
PermissionInfo Information you can retrieve about a particular security permission known to the system. 
PersistableBundle A mapping from String keys to values of various types. 
Person Provides an immutable reference to an entity that appears repeatedly on different surfaces of the platform. 
PesRequest A request for PES from broadcast signal. 
PesResponse A response for PES from broadcast signal. 
PhoneAccount Represents a distinct method to place or receive a phone call. 
PhoneAccountHandle The unique identifier for a PhoneAccount
PhoneAccountSuggestion  
PhysicalChannelConfig  
PictureInPictureParams Represents a set of parameters used to initialize and update an Activity in picture-in-picture mode. 
PictureInPictureUiState Used by Activity.onPictureInPictureUiStateChanged(PictureInPictureUiState)
PictureProfile Profile for picture quality. 
PlaybackErrorEvent Playback error event. 
PlaybackMetrics This class is used to store playback data. 
PlaybackParams Structure for common playback params. 
PlaybackState Playback state for a MediaSession
PlaybackState.CustomAction CustomActions can be used to extend the capabilities of the standard transport controls by exposing app specific actions to MediaControllers
PlaybackStateEvent Playback state event. 
Point Point holds two integer coordinates 
PointF PointF holds two float coordinates 
PointerIcon Represents an icon that can be used as a mouse pointer. 
PollingFrame Polling Frames represent data about individual frames of an NFC polling loop. 
PowerMonitor A PowerMonitor represents either an ODPM rail (on-device power rail monitor) or a modeled energy consumer. 
PreciseDataConnectionState Contains precise data connection state. 
Preference.BaseSavedState This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings. 
PreferenceActivity.Header This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings. 
PreferentialNetworkServiceConfig Network configuration to be set for the user profile . 
PrintAttributes This class represents the attributes of a print job. 
PrintDocumentInfo This class encapsulates information about a document for printing purposes. 
PrintJobId This class represents the id of a print job. 
PrintJobInfo This class represents the description of a print job. 
PrinterCapabilitiesInfo This class represents the capabilities of a printer. 
PrinterId This class represents the unique id of a printer. 
PrinterInfo This class represents the description of a printer. 
ProfilingResult Encapsulates results of a single profiling request operation. 
PromptContentItemBulletedText A list item with bulleted text shown on PromptVerticalListContentView
PromptContentItemPlainText A list item with plain text shown on PromptVerticalListContentView
PromptContentViewWithMoreOptionsButton Contains the information of the template of content view with a more options button for Biometric Prompt. 
PromptVerticalListContentView Contains the information of the template of vertical list content view for Biometric Prompt. 
ProviderInfo Holds information about a specific content provider
ProviderProperties Location provider properties. 
ProxyInfo Describes a proxy configuration. 
PublishConfig Defines the configuration of an Aware publish session. 
QueryLocationException This class represents a set of exceptions that can occur when requesting a Connection.queryLocationForEmergency(long, String, Executor, OutcomeReceiver) 
QuoteSpan A span which styles paragraphs by adding a vertical stripe at the beginning of the text (respecting layout direction). 
RadioAccessSpecifier Describes a particular radio access network to be scanned. 
RangingCapabilities Represents the capabilities and availability of various ranging technologies. 
RangingConfig Abstract class to represent type of ranging configuration. 
RangingData Represents ranging data, including distance, azimuth, elevation, and RSSI measurements, along with the ranging technology used and a timestamp. 
RangingDevice Represents a ranging device identified by a unique UUID. 
RangingMeasurement Represents a ranging measurement. 
RangingPreference Represents the configuration preferences for a ranging session. 
RangingRequest Defines the ranging request to other devices. 
RangingResult Ranging result for a request started by WifiRttManager.startRanging(RangingRequest, java.util.concurrent.Executor, RangingResultCallback)
Rating A class to encapsulate rating information used as content metadata. 
RawInitiatorRangingConfig Represents the configuration for initiating a raw ranging session. 
RawRangingDevice Represents a device participating in ranging operations. 
RawResponderRangingConfig Represents the configuration for a raw ranging session initiated by a responder device. 
ReadMedicalResourcesResponse A read response for HealthConnectManager.readMedicalResources
RecognitionPart Info about a single recognition part. 
RecognitionSupport Encodes the level of support for a given speech recognition request 
RecoverableSecurityException Specialization of SecurityException that contains additional information about how to involve the end user to recover from the exception. 
Rect Rect holds four integer coordinates for a rectangle. 
RectF RectF holds four float coordinates for a rectangle. 
RegexValidator Defines if a field is valid based on a regular expression (regex). 
Region  
RegisterCredentialDescriptionRequest A request to register a ComponentName that contains an actively provisioned Credential represented by a CredentialDescription
RelativeSizeSpan Uniformly scales the size of the text to which it's attached by a certain proportion. 
RemoteAction Represents a remote action that can be called from another process. 
RemoteEntry An entry to be shown on the UI. 
RemoteInput A RemoteInput object specifies input to be collected from a user to be passed along with an intent inside a PendingIntent that is sent. 
RemoteViews A class that describes a view hierarchy that can be displayed in another process. 
RemoteViews.RemoteCollectionItems Representation of a fixed list of items to be displayed in a RemoteViews collection. 
RemoveBlobResponse Results of AppSearchSession.removeBlob, containing the outcome of the removal of each handles. 
RemoveByDocumentIdRequest Encapsulates a request to remove documents by namespace and IDs from the AppSearchSession database. 
RemoveSpaceGesture A subclass of HandwritingGesture for removing whitespace from text. 
RenderingConfig Information returned by IsolatedWorker.onExecute(ExecuteInput, android.os.OutcomeReceiver) that is used in a subesequent call to IsolatedWorker.onRender(RenderInput, android.os.OutcomeReceiver) to identify the content to be displayed in a single View
ReportUsageRequest A request to report usage of a document. 
RequestLogRecord Contains data that will be written to the REQUESTS table at the end of a call to IsolatedWorker.onExecute(ExecuteInput, android.os.OutcomeReceiver)
ResolveInfo Information that is returned from resolving an intent against an IntentFilter. 
ResponderConfig Defines the configuration of an IEEE 802.11mc Responder. 
ResponderLocation ResponderLocation is both a Location Configuration Information (LCI) decoder and a Location Civic Report (LCR) decoder for information received from a Wi-Fi Access Point (AP) during Wi-Fi RTT ranging process. 
RestrictionEntry Applications can expose restrictions for a restricted user on a multiuser device. 
ResultReceiver Generic interface for receiving a callback result from someone. 
RoundedCorner Represents a rounded corner of the display. 
RouteDiscoveryPreference A media route discovery preference describing the features of routes that media router would like to discover and whether to perform active scanning. 
RouteInfo Represents a network route. 
RouteListingPreference Allows applications to customize the list of routes used for media routing (for example, in the System UI Output Switcher). 
RouteListingPreference.Item Holds preference information for a specific route in a RouteListingPreference
RouteSelectionDescriptor Represents a single route selection descriptor as defined in 3GPP TS 24.526. 
RoutingSessionInfo Describes a routing session which is created when a media route is selected. 
RttRangingCapabilities Represents the capabilities of the WiFi Neighbor Awareness Networking Round Trip Time (NAN-RTT) ranging. 
RttRangingParams Represents the parameters required to perform Wi-Fi Round Trip Time (RTT) ranging. 
SandboxedSdk Represents an SDK loaded in the sandbox process. 
SaveInfo Information used to indicate that an AutofillService is interested on saving the user-inputed data for future use, through a AutofillService.onSaveRequest(SaveRequest, SaveCallback) call. 
SaveRequest This class represents a request to an autofill provider to save applicable data entered by the user. 
ScaleXSpan Scales horizontally the size of the text to which it's attached by a certain factor. 
ScanFilter Criteria for filtering result from Bluetooth LE scans. 
ScanResult ScanResult for Bluetooth LE scan. 
ScanResult.InformationElement information elements from beacon. 
ScanSettings Bluetooth LE scan settings are passed to BluetoothLeScanner.startScan to define the parameters for the scan. 
SchemaVisibilityConfig A class to hold a all necessary Visibility information corresponding to the same schema. 
SearchResult This class represents one of the results obtained from an AppSearch query. 
SearchResult.MatchInfo This class represents match objects for any snippets that might be present in SearchResults from a query. 
SearchSpec This class represents the specification logic for AppSearch. 
SearchSuggestionResult The result class of the AppSearchSession.searchSuggestion
SearchSuggestionSpec This class represents the specification logic for AppSearch. 
SearchableInfo Searchability meta-data for an activity. 
SectionRequest A request for Section from broadcast signal. 
SectionResponse A response for Section from broadcast signal. 
SecureRangingConfig Secure ranging configuration. 
SecurityLog.SecurityEvent A class representing a security event log entry. 
SelectGesture A sub-class of HandwritingGesture for selecting an area of text using single rectangle. 
SelectRangeGesture A subclass of HandwritingGesture for selecting a range of text by defining start and end rectangles. 
SelectWalletCardRequest Represents a request to a QuickAccessWalletService to select a particular walletCard
SelectionBoundary Represents one edge of the selected content. 
SelectionEvent A selection event. 
SellerConfiguration This object will be part of the GetAdSelectionDataRequest and will be constructed and used by the SDK to influence the size of the response of AdSelectionManager.getAdSelectionData(android.adservices.adselection.GetAdSelectionDataRequest, java.util.concurrent.Executor, android.os.OutcomeReceiver) 
SensorFusionParams Represents the parameters for sensor fusion in ranging operations. 
SentenceSuggestionsInfo This class contains a metadata of suggestions returned from a text service (e.g. SpellCheckerService). 
ServiceInfo Information you can retrieve about a particular application service. 
ServiceState Contains phone state and service related information. 
Session2Command This API is not generally intended for third party application developers. 
Session2CommandGroup This API is not generally intended for third party application developers. 
Session2Token This API is not generally intended for third party application developers. 
SessionConfig Defines the ranging session configurations. 
SessionConfiguration A helper class that aggregates all supported arguments for capture session initialization. 
SetSchemaResponse The response class of AppSearchSession.setSchema 
SetSchemaResponse.MigrationFailure The class represents a post-migrated GenericDocument that failed to be saved by AppSearchSession.setSchema
SetValueRequest Request parameters to set the current value to a Settings Preference. 
SetValueResult Result object given a corresponding SetValueRequest
SettingsPreferenceMetadata Data object representation of a Settings Preference definition and state. 
SettingsPreferenceValue This objects represents a value that can be used for a particular settings preference. 
SharedLibraryInfo This class provides information for a shared library. 
SharedMemory SharedMemory enables the creation, mapping, and protection control over anonymous shared memory. 
ShortcutInfo Represents a shortcut that can be published via ShortcutManager
SignalStrength Contains phone signal strength related information. 
SignalStrengthUpdateRequest Request used to register SignalThresholdInfo to be notified when the signal strength breach the specified thresholds. 
SignalThresholdInfo Defines the threshold value of the signal strength. 
SignalingDataInfo Describes a metadata object of a SignalingDataResponse
SignalingDataRequest Request to retrieve the Low-level Signalling Tables (LLS) and Service-layer Signalling (SLS) metadata. 
SignalingDataResponse A response for the signaling data from the broadcast signal. 
Signature Opaque, immutable representation of a signing certificate associated with an application package. 
SignedContextualAds Contains a list of buyer supplied AdWithBid bundle and its signature. 
SigningInfo Information pertaining to the signing certificates used to sign a package. 
SipDetails Contains the information for SIP. 
SipProfile This class was deprecated in API level 31. SipManager and associated classes are no longer supported and should not be used as the basis of future VOIP apps. 
SizeF Immutable class for describing width and height dimensions in some arbitrary unit. 
Slice This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from ERROR(/android.os.Build.VANILLA_ICE_CREAM) and forward. If you are looking for a framework that sends displayable data from one app to another, consider using AppSearchManager. 
SliceItem This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from ERROR(/android.os.Build.VANILLA_ICE_CREAM) and forward. If you are looking for a framework that sends displayable data from one app to another, consider using AppSearchManager. 
SliceSpec This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from ERROR(/android.os.Build.VANILLA_ICE_CREAM) and forward. If you are looking for a framework that sends displayable data from one app to another, consider using AppSearchManager. 
SoftApConfiguration Configuration for a soft access point (a.k.a. 
SoundProfile Profile for sound quality. 
SourceRegistrationRequest Class to hold input to measurement source registration calls. 
SpellCheckerInfo This class is used to specify meta information of a spell checker. 
SpellCheckerSubtype This class is used to specify meta information of a subtype contained in a spell checker. 
StartForegroundCalledOnStoppedServiceException Exception thrown when Service.startForeground is called on a service that's not actually started. 
StaticIpConfiguration Class that describes static IP configuration. 
StatusBarNotification Class encapsulating a Notification. 
StatusHints Contains status label and icon displayed in the in-call UI. 
StorageInfo The response class of AppSearchSession#getStorageInfo
StorageStats Storage statistics for a UID, package, or UserHandle on a single storage volume. 
StorageVolume Information about a shared/external storage volume for a specific user. 
StreamEventRequest A request for Stream Event from broadcast signal. 
StreamEventResponse A response for Stream Event from broadcast signal. 
StreamingServiceInfo Describes a single MBMS streaming service. 
StrikethroughSpan A span that strikes through the text it's attached to. 
StyleSpan Span that allows setting the style of the text it's attached to. 
SubscribeConfig Defines the configuration of an Aware subscribe session. 
SubscriptSpan The span that moves the position of the text baseline lower. 
SubscriptionInfo A Parcelable class for Subscription Information. 
SubscriptionPlan Description of a billing relationship plan between a carrier and a specific subscriber. 
SuggestionRangeSpan A SuggestionRangeSpan is used to show which part of an EditText is affected by a suggestion popup window. 
SuggestionSpan Holds suggestion candidates for the text enclosed in this span. 
SuggestionsInfo This class contains a metadata of suggestions from the text service 
SuperscriptSpan The span that moves the position of the text baseline higher. 
SupplicantState From defs.h in wpa_supplicant
Surface Handle onto a raw buffer that is being managed by the screen compositor. 
SurfaceControl Handle to an on-screen Surface managed by the system compositor. 
SurfaceControl.Transaction An atomic set of changes to a set of SurfaceControl. 
SurfaceControlViewHost.SurfacePackage Package encapsulating a Surface hierarchy which contains interactive view elements. 
SurroundingText Information about the surrounding text around the cursor for use by an input method. 
SyncAdapterType Value type that represents a SyncAdapterType. 
SyncFence A SyncFence represents a synchronization primitive which signals when hardware units have completed work on a particular resource. 
SyncInfo Information about the sync operation that is currently underway. 
SyncNotedAppOp Description of an app-op that was noted for the current process. 
SyncRequest Convenience class to construct sync requests. 
SyncResult This class is used to communicate the results of a sync operation to the SyncManager. 
SyncStats Used to record various statistics about the result of a sync operation. 
SystemUpdateInfo A class containing information about a pending system update. 
SystemUpdatePolicy Determines when over-the-air system updates are installed on a device. 
SystemUpdatePolicy.ValidationFailedException An exception class that represents various validation errors thrown from SystemUpdatePolicy.setFreezePeriods and DevicePolicyManager.setSystemUpdatePolicy 
TableRequest A request for Table from broadcast signal. 
TableResponse A response for Table from broadcast signal. 
Tag Represents an NFC tag that has been discovered. 
TelephonyDisplayInfo TelephonyDisplayInfo contains telephony-related information used for display purposes only. 
TelephonyNetworkSpecifier NetworkSpecifier object for cellular network request. 
TetheringInterface The mapping of tethering interface and type. 
TetheringManager.TetheringRequest Use with TetheringManager.startTethering(TetheringRequest, Executor, StartTetheringCallback) to specify additional parameters when starting tethering. 
TextAppearanceInfo Information about text appearance in an editor, passed through CursorAnchorInfo for use by InputMethodService
TextAppearanceSpan Sets the text appearance using the given TextAppearance attributes. 
TextAttribute The data class that IME can take extra information to applications when setting the text. 
TextBoundsInfo The text bounds information of a slice of text in the editor. 
TextClassification Information for generating a widget to handle classified text. 
TextClassification.Request A request object for generating TextClassification. 
TextClassificationContext A representation of the context in which text classification would be performed. 
TextClassificationSessionId This class represents the id of a text classification session. 
TextClassifier.EntityConfig Configuration object for specifying what entity types to identify. 
TextClassifierEvent This class represents events that are sent by components to the TextClassifier to report something of note that relates to a feature powered by the TextClassifier. 
TextClassifierEvent.ConversationActionsEvent This class represents events that are related to the conversation actions feature. 
TextClassifierEvent.LanguageDetectionEvent This class represents events that are related to the language detection feature. 
TextClassifierEvent.TextLinkifyEvent This class represents events that are related to the smart linkify feature. 
TextClassifierEvent.TextSelectionEvent This class represents events that are related to the smart text selection feature. 
TextInfo This class contains a metadata of the input of TextService 
TextLanguage Represents the result of language detection of a piece of text. 
TextLanguage.Request A request object for detecting the language of a piece of text. 
TextLinks A collection of links, representing subsequences of text and the entity types (phone number, address, url, etc) they may be. 
TextLinks.Request A request object for generating TextLinks. 
TextLinks.TextLink A link, identifying a substring of text and possible entity types for it. 
TextSelection Information about where text selection should be. 
TextSelection.Request A request object for generating TextSelection. 
TextValueSanitizer Sanitizes a text AutofillValue using a regular expression (regex) substitution. 
TextView.SavedState User interface state that is stored by TextView for implementing View.onSaveInstanceState
Tile A Tile holds the state of a tile that will be displayed in Quick Settings. 
TimelineRequest A request for Timeline from broadcast signal. 
TimelineResponse A response for Timeline from broadcast signal. 
TimerStat A TimerStat object stores a count and a time. 
TrackChangeEvent Playback track change event. 
TrafficDescriptor A traffic descriptor, as defined in 3GPP TS 24.526 Section 5.2. 
TrainingExampleRecord One record of TrainingExamplesOutput
TranslationCapability Capability class holding information for a pair of TranslationSpecs. 
TranslationContext Info class holding information for Translators and used by TranslationManager.createOnDeviceTranslator(TranslationContext, Executor, Consumer)
TranslationRequest Translation request sent to the translation service by the Translator which contains the text to be translated. 
TranslationRequestValue A value to be translated via Translator
TranslationResponse Response from the translation service, which contains the translated result. 
TranslationResponseValue A translated response value from translation service. 
TranslationSpec Specs and additional info for the translation data. 
TransportBlock Wrapper for Transport Discovery Data Transport Blocks. 
TransportDiscoveryData Wrapper for Transport Discovery Data AD Type. 
TrustedBiddingData Represents data used during the ad selection process to fetch buyer bidding signals from a trusted key/value server. 
TrustedPresentationThresholds Threshold values that are sent with WindowManager.registerTrustedPresentationListener(IBinder, TrustedPresentationThresholds, Executor, Consumer) 
TsRequest A request for TS (transport stream) from broadcast signal. 
TsResponse A response for TS (transport stream) from broadcast signal. 
TtsSpan A span that supplies additional meta-data for the associated text intended for text-to-speech engines. 
TvAdServiceInfo This class is used to specify meta information of a TV AD service. 
TvInputInfo This class is used to specify meta information of a TV input. 
TvInteractiveAppServiceInfo This class is used to specify meta information of a TV interactive app. 
TvRecordingInfo This class is used to describe the meta information for a TV recording. 
TvTrackInfo Encapsulates the format of tracks played in TvInputService
TypefaceSpan Span that updates the typeface of the text it's attached to. 
URLSpan Implementation of the ClickableSpan that allows setting a url string. 
UiccCardInfo The UiccCardInfo represents information about a currently inserted UICC or embedded eUICC. 
UiccPortInfo UiccPortInfo class represents information about a single port contained on UiccCardInfo
UnderlineSpan A span that underlines the text it's attached to. 
UnregisterCredentialDescriptionRequest A request to unregister a ComponentName that contains an actively provisioned Credential represented by a CredentialDescription
UnsafeStateException Exception thrown when a DevicePolicyManager operation failed because it was not safe to be executed at that moment. 
UpsertMedicalResourceRequest An upsert request for HealthConnectManager.upsertMedicalResources
Uri Immutable URI reference. 
UriPermission Description of a single Uri permission grant. 
UrspRule Represents a single URSP rule as defined in 3GPP TS 24.526. 
UsageEvents A result returned from UsageStatsManager.queryEvents(long, long) from which to read UsageEvents.Event objects. 
UsageEventsQuery An Object-Oriented representation for a UsageEvents query. 
UsageStats Contains usage statistics for an app package for a specific time range. 
UsbAccessory A class representing a USB accessory, which is an external hardware component that communicates with an android application over USB. 
UsbConfiguration A class representing a configuration on a UsbDevice
UsbDevice This class represents a USB device attached to the android device with the android device acting as the USB host. 
UsbEndpoint A class representing an endpoint on a UsbInterface
UsbInterface A class representing an interface on a UsbDevice
UserData User data provided by the platform to an IsolatedService
UserHandle Representation of a user on the device. 
UwbAddress A class representing a UWB address 
UwbComplexChannel A Class representing the complex channel for UWB which comprises channel and preamble index negotiated between peer devices out of band before ranging. 
UwbRangingCapabilities Represents the capabilities of Ultra-Wideband (UWB) ranging technology. 
UwbRangingParams UwbRangingParams encapsulates the parameters required for a UWB ranging session. 
VcnConfig This class represents a configuration for a Virtual Carrier Network. 
VerifiedDisplayHash The verified display hash used to validate information about what was present on screen. 
VerifiedInputEvent Base class for verified events. 
VerifiedKeyEvent KeyEvent that has been verified by the system. 
VerifiedMotionEvent MotionEvent that has been verified by the system. 
VersionedPackage Encapsulates a package and its version code. 
VibrationAttributes Encapsulates a collection of attributes describing information about a vibration. 
VibrationEffect A VibrationEffect describes a haptic effect to be performed by a Vibrator
VibratorEnvelopeEffectInfo Provides information about the vibrator hardware capabilities and limitations regarding waveform envelope effects. 
VideoProfile Represents attributes of video calls. 
VideoProfile.CameraCapabilities Represents the camera capabilities important to a Video Telephony provider. 
View.BaseSavedState Base class for derived classes that want to save and restore their own state in View.onSaveInstanceState()
ViewTranslationRequest Wrapper class representing a translation request associated with a View to be used by translation service. 
ViewTranslationResponse Wrapper class representing a translation response associated with a View to be used by translation service. 
VirtualDevice Details of a particular virtual device. 
VirtualDisplayConfig Holds configuration used to create VirtualDisplay instances. 
VisibilitySetterAction Action used to change the visibility of other child view in a CustomDescription presentation template
VisibleActivityInfo The class is used to represent a visible activity information. 
VisualVoicemailSms Represents the content of a visual voicemail SMS. 
VisualVoicemailSmsFilterSettings Class to represent various settings for the visual voicemail SMS filter. 
Voice Characteristics and features of a Text-To-Speech Voice. 
VoiceInteractor.PickOptionRequest.Option Represents a single option that the user may select using their voice. 
VoiceInteractor.Prompt A set of voice prompts to use with the voice interaction system to confirm an action, select an option, or do similar operations. 
VolumeShaper.Configuration The VolumeShaper.Configuration class contains curve and duration information. 
VolumeShaper.Operation The VolumeShaper.Operation class is used to specify operations to the VolumeShaper that affect the volume change. 
VpnProfileState Describe the state of VPN. 
WalletCard A WalletCard can represent anything that a user might carry in their wallet -- a credit card, library card, transit pass, etc. 
WalletServiceEvent Represents a request from the wallet app to the Quick Access Wallet in System UI. 
WallpaperColors Provides information about the colors of a wallpaper. 
WallpaperDescription Describes a wallpaper, including associated metadata and optional content to be used by its WallpaperService.Engine, the ComponentName to be used by WallpaperManager, and an optional id to differentiate between different distinct wallpapers rendered by the same wallpaper service. 
WallpaperInfo This class is used to specify meta information of a wallpaper service. 
WallpaperInstance Describes a wallpaper that has been set as a current wallpaper. 
WebSourceParams Class holding source registration parameters. 
WebSourceRegistrationRequest Class to hold input to measurement source registration calls from web context. 
WebTriggerParams Class holding trigger registration parameters. 
WebTriggerRegistrationRequest Class to hold input to measurement trigger registration calls from web context. 
WifiAvailableChannel Contains information about a Wifi channel and bitmask of Wifi operational modes allowed on that channel. 
WifiAwareChannelInfo Wi-Fi Aware data-path channel information. 
WifiAwareDataPathSecurityConfig Wi-Fi Aware data-path security config. 
WifiAwareNetworkInfo Wi-Fi Aware-specific network information. 
WifiAwareNetworkSpecifier Network specifier object used to request a Wi-Fi Aware network. 
WifiConfiguration This class was deprecated in API level 29. Use WifiNetworkSpecifier.Builder to create NetworkSpecifier and WifiNetworkSuggestion.Builder to create WifiNetworkSuggestion. This class can still be used with privileged APIs such as WifiManager.addNetwork(WifiConfiguration). 
WifiDeviceFilter A filter for Wifi devices 
WifiEnterpriseConfig Enterprise configuration details for Wi-Fi. 
WifiInfo Describes the state of any Wi-Fi connection that is active or is in the process of being set up. 
WifiManager.AddNetworkResult Provides the results of a call to WifiManager.addNetworkPrivileged(android.net.wifi.WifiConfiguration) 
WifiNetworkSpecifier Network specifier object used to request a Wi-Fi network. 
WifiNetworkSuggestion The Network Suggestion object is used to provide a Wi-Fi network for consideration when auto-connecting to networks. 
WifiP2pConfig A class representing a Wi-Fi P2p configuration for setting up a connection  
WifiP2pDevice A class representing a Wi-Fi p2p device Note that the operations are not thread safe  
WifiP2pDeviceList A class representing a Wi-Fi P2p device list. 
WifiP2pDirInfo This object contains the Device Identity Resolution (DIR) Info to check if the device is a previously paired device. 
WifiP2pDiscoveryConfig A class representing a Wi-Fi P2P scan configuration for setting up discovery. 
WifiP2pDnsSdServiceInfo A class for storing Bonjour service information that is advertised over a Wi-Fi peer-to-peer setup. 
WifiP2pDnsSdServiceRequest A class for creating a Bonjour service discovery request for use with WifiP2pManager.addServiceRequest and WifiP2pManager.removeServiceRequest  
WifiP2pGroup A class representing a Wi-Fi P2p group. 
WifiP2pInfo A class representing connection information about a Wi-Fi p2p group  
WifiP2pPairingBootstrappingConfig A class representing Wi-Fi Direct pairing bootstrapping configuration. 
WifiP2pServiceInfo A class for storing service information that is advertised over a Wi-Fi peer-to-peer setup 
WifiP2pServiceRequest A class for creating a service discovery request for use with WifiP2pManager.addServiceRequest and WifiP2pManager.removeServiceRequest

This class is used to create service discovery request for custom vendor specific service discovery protocol WifiP2pServiceInfo.SERVICE_TYPE_VENDOR_SPECIFIC or to search all service protocols WifiP2pServiceInfo.SERVICE_TYPE_ALL

WifiP2pUpnpServiceInfo A class for storing Upnp service information that is advertised over a Wi-Fi peer-to-peer setup. 
WifiP2pUpnpServiceRequest A class for creating a Upnp service discovery request for use with WifiP2pManager.addServiceRequest and WifiP2pManager.removeServiceRequest  
WifiP2pUsdBasedLocalServiceAdvertisementConfig A class representing a Wi-Fi P2P USD based service advertisement configuration for advertising the services. 
WifiP2pUsdBasedServiceConfig A class for creating a USD based service discovery configuration for use with WifiP2pServiceInfo
WifiP2pUsdBasedServiceDiscoveryConfig A class representing a Wi-Fi P2P USD based service discovery configuration for discovering the services. 
WifiP2pUsdBasedServiceResponse A class for a response for USD based service discovery. 
WifiP2pWfdInfo A class representing Wifi Display information for a device. 
WifiSsid Representation of a Wi-Fi Service Set Identifier (SSID). 
WifiSsidPolicy Used to indicate the Wi-Fi SSID restriction policy the network must satisfy in order to be eligible for a connection. 
WindowAnimationFrameStats This class was deprecated in API level 34. Use Shared FrameTimeline jank metrics instead. 
WindowContentFrameStats This class contains window content frame statistics. 
WindowId Safe identifier for a window. 
WindowManager.LayoutParams  
WorkSource Describes the source of some work that may be done by someone else. 
WpsInfo A class representing Wi-Fi Protected Setup  
ZenDeviceEffects Represents the set of device effects (affecting display and device behavior in general) that are applied whenever an AutomaticZenRule is active. 
ZenPolicy ZenPolicy determines whether to allow certain notifications and their corresponding sounds to play when a device is in Do Not Disturb mode. 


Interface for classes whose instances can be written to and restored from a Parcel. Classes implementing the Parcelable interface must also have a non-null public static field called CREATOR of a type that implements the Parcelable.Creator interface.

A typical implementation of Parcelable is:

KotlinJava
 class MyParcelable private constructor(`in`: Parcel) : Parcelable {
     private val mData: Int = `in`.readInt()

     override fun describeContents(): Int {
         return 0
     }

     override fun writeToParcel(out: Parcel, flags: Int) {
         out.writeInt(mData)
     }

     companion object CREATOR: Parcelable.Creator<MyParcelable?> {
         override fun createFromParcel(`in`: Parcel): MyParcelable? {
             return MyParcelable(`in`)
         }

         override fun newArray(size: Int): Array<MyParcelable?> {
             return arrayOfNulls(size)
         }
     }
 }
 
 public class MyParcelable implements Parcelable {
     private int mData;

     public int describeContents() {
         return 0;
     }

     public void writeToParcel(Parcel out, int flags) {
         out.writeInt(mData);
     }

     public static final Parcelable.Creator<MyParcelable> CREATOR
             = new Parcelable.Creator<MyParcelable>() {
         public MyParcelable createFromParcel(Parcel in) {
             return new MyParcelable(in);
         }

         public MyParcelable[] newArray(int size) {
             return new MyParcelable[size];
         }
     };

     private MyParcelable(Parcel in) {
         mData = in.readInt();
     }
 }

Summary

Nested classes

interface Parcelable.ClassLoaderCreator<T>

Specialization of Creator that allows you to receive the ClassLoader the object is being created in. 

interface Parcelable.Creator<T>

Interface that must be implemented and provided as a public CREATOR field that generates instances of your Parcelable class from a Parcel. 

Constants

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(Parcel, 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)".

Public methods

abstract int describeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

abstract void writeToParcel(Parcel dest, int flags)

Flatten this object in to a Parcel.

Constants

CONTENTS_FILE_DESCRIPTOR

Added in API level 1
public static final int CONTENTS_FILE_DESCRIPTOR

Descriptor bit used with describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor.

See also:

Constant Value: 1 (0x00000001)

PARCELABLE_WRITE_RETURN_VALUE

Added in API level 1
public static final int PARCELABLE_WRITE_RETURN_VALUE

Flag for use with writeToParcel(Parcel, 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.

Constant Value: 1 (0x00000001)

Public methods

describeContents

Added in API level 1
public abstract int describeContents ()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of writeToParcel(android.os.Parcel, int), the return value of this method must include the CONTENTS_FILE_DESCRIPTOR bit.

Returns
int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or CONTENTS_FILE_DESCRIPTOR

writeToParcel

Added in API level 1
public abstract void writeToParcel (Parcel dest, 
                int flags)

Flatten this object in to a Parcel.

Parameters
dest Parcel: The Parcel in which the object should be written. This value cannot be null.

flags int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES