Class Index


These are all the API classes. See all API packages.

A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

A

AbsListView

Base class that can be used to implement virtualized lists of items.

AbsListView.LayoutParams

AbsListView extends LayoutParams to provide a place to hold the view type.

AbsListView.MultiChoiceModeListener

A MultiChoiceModeListener receives events for AbsListView.CHOICE_MODE_MULTIPLE_MODAL.

AbsListView.OnScrollListener

Interface definition for a callback to be invoked when the list or grid has been scrolled.

AbsListView.RecyclerListener

A RecyclerListener is used to receive a notification whenever a View is placed inside the RecycleBin's scrap heap.

AbsListView.SelectionBoundsAdjuster

The top-level view of a list item can implement this interface to allow itself to modify the bounds of the selection shown for that item.

AbsoluteLayout This class was deprecated in API level 3. Use android.widget.FrameLayout, android.widget.RelativeLayout or a custom layout instead.
AbsoluteLayout.LayoutParams This class was deprecated in API level 29. Deprecated in Java.
AbsoluteSizeSpan

A span that changes the size of the text it's attached to.

AbsSavedState

A Parcelable implementation that should be used by inheritance hierarchies to ensure the state of all classes along the chain is saved.

AbsSeekBar

AbsSeekBar extends the capabilities of ProgressBar by adding a draggable thumb.

AbsSpinner

An abstract base class for spinner widgets.

AbstractAccountAuthenticator

Abstract base class for creating AccountAuthenticators.

AbstractChronology

An abstract implementation of a calendar system, used to organize and identify dates.

AbstractCollection

This class provides a skeletal implementation of the Collection interface, to minimize the effort required to implement this interface.

AbstractCursor

This is an abstract cursor class that handles a lot of the common code that all cursors need to deal with and is provided for convenience reasons.

AbstractCursor.SelfContentObserver

Cursors use this class to track changes others make to their URI.

AbstractExecutorService

Provides default implementations of ExecutorService execution methods.

AbstractInputMethodService

AbstractInputMethodService provides a abstract base class for input methods.

AbstractInputMethodService.AbstractInputMethodImpl

Base class for derived classes to implement their InputMethod interface.

AbstractInputMethodService.AbstractInputMethodSessionImpl

Base class for derived classes to implement their InputMethodSession interface.

AbstractInterruptibleChannel

Base implementation class for interruptible channels.

AbstractList

This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).

AbstractMap

This class provides a skeletal implementation of the Map interface, to minimize the effort required to implement this interface.

AbstractMap.SimpleEntry

An Entry maintaining a key and a value.

AbstractMap.SimpleImmutableEntry

An unmodifiable Entry maintaining a key and a value.

AbstractMethodError

Thrown when an application tries to call an abstract method.

AbstractOwnableSynchronizer

A synchronizer that may be exclusively owned by a thread.

AbstractPreferences

This class provides a skeletal implementation of the Preferences class, greatly easing the task of implementing it.

AbstractQueue

This class provides skeletal implementations of some Queue operations.

AbstractQueuedLongSynchronizer

A version of AbstractQueuedSynchronizer in which synchronization state is maintained as a long.

AbstractQueuedLongSynchronizer.ConditionObject

Condition implementation for a AbstractQueuedLongSynchronizer serving as the basis of a Lock implementation.

AbstractQueuedSynchronizer

Provides a framework for implementing blocking locks and related synchronizers (semaphores, events, etc) that rely on first-in-first-out (FIFO) wait queues.

AbstractQueuedSynchronizer.ConditionObject

Condition implementation for a AbstractQueuedSynchronizer serving as the basis of a Lock implementation.

AbstractSelectableChannel

Base implementation class for selectable channels.

AbstractSelectionKey

Base implementation class for selection keys.

AbstractSelector

Base implementation class for selectors.

AbstractSequentialList

This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).

AbstractSet

This class provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface.

AbstractThreadedSyncAdapter

An abstract implementation of a SyncAdapter that spawns a thread to invoke a sync operation.

AbstractVerifier This class was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
AbstractWindowedCursor

A base class for Cursors that store their data in CursorWindows.

AccelerateDecelerateInterpolator

An interpolator where the rate of change starts and ends slowly but accelerates through the middle.

AccelerateInterpolator

An interpolator where the rate of change starts out slowly and and then accelerates.

AcceptPendingException

Unchecked exception thrown when an attempt is made to initiate an accept operation on a channel and a previous accept operation has not completed.

AccessControlContext

Android doesn't support SecurityManager.

AccessControlException

This exception is thrown by the AccessController to indicate that a requested access (to a critical system resource such as the file system or the network) is denied.

AccessController

Android doesn't support SecurityManager.

AccessControlProfile

A class used to specify access controls.

AccessControlProfile.Builder

A builder for AccessControlProfile.

AccessControlProfileId

A class used to wrap an access control profile identifiers.

AccessDeniedException

Checked exception thrown when a file system operation is denied, typically due to a file permission or other access check.

AccessibilityButtonController

Controller for the accessibility button within the system's navigation area

AccessibilityButtonController.AccessibilityButtonCallback

Callback for interaction with and changes to state of the accessibility button within the system's navigation area.

AccessibilityEvent

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

AccessibilityEventSource

This interface is implemented by classes source of AccessibilityEvents.

AccessibilityGestureEvent

This class describes the gesture event including gesture id and which display it happens on.

AccessibilityManager

System level service that serves as an event dispatch for AccessibilityEvents, and provides facilities for querying the accessibility state of the system.

AccessibilityManager.AccessibilityServicesStateChangeListener

Listener for changes to the state of accessibility services.

AccessibilityManager.AccessibilityStateChangeListener

Listener for the system accessibility state.

AccessibilityManager.AudioDescriptionRequestedChangeListener

Listener for the audio description by default state.

AccessibilityManager.HighContrastTextStateChangeListener

Listener for the system high contrast text state.

AccessibilityManager.TouchExplorationStateChangeListener

Listener for the system touch exploration state.

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.CollectionInfo

Class with information if a node is a collection.

AccessibilityNodeInfo.CollectionInfo.Builder

The builder for CollectionInfo.

AccessibilityNodeInfo.CollectionItemInfo

Class with information if a node is a collection item.

AccessibilityNodeInfo.CollectionItemInfo.Builder

Builder for creating CollectionItemInfo objects.

AccessibilityNodeInfo.ExtraRenderingInfo

Class with information of a view useful to evaluate accessibility needs.

AccessibilityNodeInfo.RangeInfo

Class with information if a node is a range.

AccessibilityNodeInfo.TouchDelegateInfo

Class with information of touch delegated views and regions from TouchDelegate for the AccessibilityNodeInfo.

AccessibilityNodeProvider

This class is the contract a client should implement to enable support of a virtual view hierarchy rooted at a given view for accessibility purposes.

AccessibilityRecord

Represents a record in an AccessibilityEvent and contains information about state change of its source android.view.View.

AccessibilityRequestPreparer

Object responsible to ensuring that a View is prepared to meet a synchronous request for accessibility data.

AccessibilityService

Accessibility services should only be used to assist users with disabilities in using Android devices and apps.

AccessibilityService.GestureResultCallback

Class used to report status of dispatched gestures

AccessibilityService.MagnificationController

Used to control and query the state of display magnification.

AccessibilityService.MagnificationController.OnMagnificationChangedListener

Listener for changes in the state of magnification.

AccessibilityService.ScreenshotResult

Can be used to construct a bitmap of the screenshot or any other operations for AccessibilityService.takeScreenshot API.

AccessibilityService.SoftKeyboardController

Used to control, query, and listen for changes to the soft keyboard show mode.

AccessibilityService.SoftKeyboardController.OnShowModeChangedListener

Listener for changes in the soft keyboard show mode.

AccessibilityService.TakeScreenshotCallback

Interface used to report status of taking screenshot.

AccessibilityServiceInfo

This class describes an AccessibilityService.

AccessibilityWindowInfo

This class represents a state snapshot of a window for accessibility purposes.

AccessibleObject

The AccessibleObject class is the base class for Field, Method and Constructor objects.

AccessMode

Defines access modes used to test the accessibility of a file.

AccessNetworkConstants

Contains access network related constants.

AccessNetworkConstants.AccessNetworkType

AccessNetworkConstants.EutranBand

Frequency bands for EUTRAN.

AccessNetworkConstants.GeranBand

Frequency bands for GERAN.

AccessNetworkConstants.NgranBands

Frequency bands for NGRAN https://www.

AccessNetworkConstants.UtranBand

Frequency bands for UTRAN.

Account

Value type that represents an Account in the AccountManager.

AccountAuthenticatorActivity This class was deprecated in API level 30. Applications should extend Activity themselves. This class is not compatible with AppCompat, and the functionality it provides is not complex.
AccountAuthenticatorResponse

Object used to communicate responses back to the AccountManager

AccountManager

This class provides access to a centralized registry of the user's online accounts.

AccountManagerCallback

AccountManagerFuture

A AccountManagerFuture represents the result of an asynchronous AccountManager call.

AccountsException

Acl This interface was deprecated in API level 33. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
AclEntry

An entry in an access control list (ACL).

AclEntry This interface was deprecated in API level 33. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
AclEntry.Builder

A builder of AclEntry objects.

AclEntryFlag

Defines the flags for used by the flags component of an ACL entry.

AclEntryPermission

Defines the permissions for use with the permissions component of an ACL entry.

AclEntryType

A typesafe enumeration of the access control entry types.

AclFileAttributeView

A file attribute view that supports reading or updating a file's Access Control Lists (ACL) or file owner attributes.

AclNotFoundException This exception was deprecated in API level 33. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
AconfigPackage

An aconfig package containing the enabled state of its flags.

AconfigStorageReadException

Exception thrown when an error occurs while reading from Aconfig Storage.

AcousticEchoCanceler

Acoustic Echo Canceler (AEC).

Action

An action defined by the provider that intents into the provider's app for specific user actions.

ActionBar

A primary toolbar within the activity that may display the activity title, application-level navigation affordances, and other interactive items.

ActionBar.LayoutParams

Per-child layout information associated with action bar custom views.

ActionBar.OnMenuVisibilityListener

Listener for receiving events when action bar menus are shown or hidden.

ActionBar.OnNavigationListener This interface was deprecated in API level 21. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead.
ActionBar.Tab This class was deprecated in API level 21. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead.
ActionBar.TabListener This interface was deprecated in API level 21. Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead.
ActionMenuView

ActionMenuView is a presentation of a series of menu options as a View.

ActionMenuView.LayoutParams

ActionMenuView.OnMenuItemClickListener

Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners.

ActionMode

Represents a contextual mode of the user interface.

ActionMode.Callback

Callback interface for action modes.

ActionMode.Callback2

Extension of ActionMode.Callback to provide content rect information.

ActionProvider

An ActionProvider defines rich menu interaction in a single component.

ActionProvider.VisibilityListener

Listens to changes in visibility as reported by ActionProvider.refreshVisibility().

ActiveCaloriesBurnedRecord

Captures the estimated active energy burned by the user (in kilocalories), excluding basal metabolic rate (BMR).

ActiveCaloriesBurnedRecord.Builder

Builder class for ActiveCaloriesBurnedRecord

ActiveProcessingPicture

Active picture represents an image or video undergoing picture processing which uses a picture profile.

Activity

An activity is a single, focused thing that the user can do.

Activity.ScreenCaptureCallback

Interface for observing screen captures of an Activity.

ActivityGroup This class was deprecated in API level 13. Use the new Fragment and FragmentManager APIs instead; these are also available on older platforms through the Android compatibility package.
ActivityInfo

Information you can retrieve about a particular application activity or receiver.

ActivityInfo.WindowLayout

Contains information about position and size of the activity on the display.

ActivityInstrumentationTestCase This class was deprecated in API level 3. new tests should be written using android.test.ActivityInstrumentationTestCase2, which provides more options for configuring the Activity under test
ActivityInstrumentationTestCase2 This class was deprecated in API level 24. Use ActivityTestRule instead. New tests should be written using the Android Testing Support Library.
ActivityIntensityRecord

Represents intensity of an activity.

ActivityIntensityRecord.Builder

Builder class for ActivityIntensityRecord

ActivityManager

This class gives information about, and interacts with, activities, services, and the containing process.

ActivityManager.AppTask

The AppTask allows you to manage your own application's tasks.

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.

ActivityManager.TaskDescription.Builder

Provides a convenient way to set the fields of a TaskDescription when creating a new instance.

ActivityNotFoundException

This exception is thrown when a call to android.

ActivityOptions

Helper class for building an options Bundle that can be used with Context.startActivity(Intent, Bundle) and related methods.

ActivityTestCase This class was deprecated in API level 24. New tests should be written using the Android Testing Support Library.
ActivityUnitTestCase This class was deprecated in API level 24. Write Local Unit Tests instead.
Adapter

An Adapter object acts as a bridge between an AdapterView and the underlying data for that view.

AdapterView

An AdapterView is a view whose children are determined by an Adapter.

AdapterView.AdapterContextMenuInfo

Extra menu information provided to the android.view.View.OnCreateContextMenuListener#onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView.

AdapterView.OnItemClickListener

Interface definition for a callback to be invoked when an item in this AdapterView has been clicked.

AdapterView.OnItemLongClickListener

Interface definition for a callback to be invoked when an item in this view has been clicked and held.

AdapterView.OnItemSelectedListener

Interface definition for a callback to be invoked when an item in this view has been selected.

AdapterViewAnimator

Base class for a AdapterView that will perform animations when switching between its views.

AdapterViewFlipper

Simple ViewAnimator that will animate between two or more views that have been added to it.

AdaptiveIconDrawable

This class can also be created via XML inflation using <adaptive-icon> tag in addition to dynamic creation.

AdBuffer

Buffer for advertisement data.

AddAdSelectionFromOutcomesOverrideRequest

This POJO represents the android.adservices.adselection.TestAdSelectionManager#overrideAdSelectionFromOutcomesConfigRemoteInfo ( AddAdSelectionOverrideRequest, Executor, OutcomeReceiver)} request

AddAdSelectionOverrideRequest

This POJO represents the android.adservices.adselection.TestAdSelectionManager#overrideAdSelectionConfigRemoteInfo(android.adservices.adselection.AddAdSelectionOverrideRequest,java.util.concurrent.Executor,android.os.OutcomeReceiver) request

AdData

Represents data specific to an ad that is necessary for ad selection and rendering.

AdData.Builder

Builder for AdData objects.

AddCustomAudienceOverrideRequest

This POJO represents the android.adservices.customaudience.TestCustomAudienceManager#overrideCustomAudienceRemoteInfo(android.adservices.customaudience.AddCustomAudienceOverrideRequest,java.util.concurrent.Executor,android.os.OutcomeReceiver) request.

AddCustomAudienceOverrideRequest.Builder

Builder for AddCustomAudienceOverrideRequest objects.

AdditionalContentContract

Specifies constants used by Chooser when interacting with the additional content provider, see android.content.Intent#EXTRA_CHOOSER_ADDITIONAL_CONTENT_URI.

AdditionalContentContract.Columns

AdditionalContentContract.CursorExtraKeys

Constants for android.database.Cursor#getExtras keys.

AdditionalContentContract.MethodNames

Constants for method names used with android.

Address

A class representing an Address, that is, a set of Strings describing a location.

AdFilters

A container class for filters which are associated with an ad.

AdFilters.Builder

Builder for creating AdFilters objects.

AdId

A unique, user-resettable, device-wide, per-profile ID for advertising.

AdIdManager

AdId Manager provides APIs for app and ad-SDKs to access advertising ID.

Adler32

A class that can be used to compute the Adler-32 checksum of a data stream.

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.

AdSelectionConfig.Builder

Builder for AdSelectionConfig object.

AdSelectionFromOutcomesConfig

Contains the configuration of the ad selection process that select a winner from a given list of ad selection ids.

AdSelectionFromOutcomesConfig.Builder

Builder for AdSelectionFromOutcomesConfig objects.

AdSelectionManager

AdSelection Manager provides APIs for app and ad-SDKs to run ad selection processes as well as report impressions.

AdSelectionOutcome

This class represents a field in the OutcomeReceiver, which is an input to the android.

AdSelectionOutcome.Builder

Builder for AdSelectionOutcome objects.

AdSelectionSignals

This class holds JSON that will be passed into a JavaScript function during ad selection.

AdServicesException

Exception thrown by AdServices.

AdServicesOutcomeReceiver This interface was deprecated in API level 36. use android.os.OutcomeReceiver instead. Android R is no longer supported.
AdServicesPermissions

Permissions used by the AdServices APIs.

AdServicesState

This class specifies the state of the APIs exposed by AdServicesApi apk.

AdTechIdentifier

An Identifier representing an ad buyer or seller.

Advanceable

This interface can be implemented by any collection-type view which has a notion of progressing through its set of children.

AdvancedProtectionManager

Advanced Protection is a mode that users can enroll their device into, that enhances security by enabling features and restrictions across both the platform and user apps.

AdvancedProtectionManager.Callback

A callback class for monitoring changes to Advanced Protection state

AdvertiseCallback

Bluetooth LE advertising callbacks, used to deliver advertising operation status.

AdvertiseData

Advertise data packet container for Bluetooth LE advertising.

AdvertiseData.Builder

Builder for AdvertiseData.

AdvertiseSettings

The AdvertiseSettings provide a way to adjust advertising preferences for each Bluetooth LE advertisement instance.

AdvertiseSettings.Builder

Builder class for AdvertiseSettings.

AdvertisingRequest

Encapsulates parameters for android.

AdvertisingRequest.Builder

A builder for creating new AdvertisingRequest objects.

AdvertisingSet

This class provides a way to control single Bluetooth LE advertising instance.

AdvertisingSetCallback

Bluetooth LE advertising set callbacks, used to deliver advertising operation status.

AdvertisingSetParameters

The AdvertisingSetParameters provide a way to adjust advertising preferences for each Bluetooth LE advertising set.

AdvertisingSetParameters.Builder

Builder class for AdvertisingSetParameters.

AdWithBid

Represents an ad and its corresponding bid value after the bid generation step in the ad selection process.

AEADBadTagException

This exception is thrown when a Cipher operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.

AggregateRecordsGroupedByDurationResponse

Class to represent the response from HealthConnectManager.aggregateGroupByDuration

AggregateRecordsGroupedByPeriodResponse

Class to represent the response from HealthConnectManager.aggregateGroupByPeriod

AggregateRecordsRequest

A class to create requests for HealthConnectManager.aggregate

AggregateRecordsRequest.Builder

AggregateRecordsResponse

A class representing response for HealthConnectManager.aggregate

AggregationType

Class to represent aggregation types in Record classes.

AitInfo

AIT (Application Information Table) info.

AlarmClock

The AlarmClock provider contains an Intent action and extras that can be used to start an Activity to set a new alarm or timer in an alarm clock application.

AlarmManager

This class provides access to the system alarm services.

AlarmManager.AlarmClockInfo

An immutable description of a scheduled "alarm clock" event.

AlarmManager.OnAlarmListener

Direct-notification alarms: the requester must be running continuously from the time the alarm is set to the time it is delivered, or delivery will fail.

AlertDialog

A subclass of Dialog that can display one, two or three buttons.

AlertDialog.Builder

AlgorithmConstraints

This interface specifies constraints for cryptographic algorithms, keys (key sizes), and other algorithm parameters.

AlgorithmParameterGenerator

The AlgorithmParameterGenerator class is used to generate a set of parameters to be used with a certain algorithm.

AlgorithmParameterGeneratorSpi

This class defines the Service Provider Interface (SPI) for the AlgorithmParameterGenerator class, which is used to generate a set of parameters to be used with a certain algorithm.

AlgorithmParameters

This class is used as an opaque representation of cryptographic parameters.

AlgorithmParameterSpec

A (transparent) specification of cryptographic parameters.

AlgorithmParametersSpi

This class defines the Service Provider Interface (SPI) for the AlgorithmParameters class, which is used to manage algorithm parameters.

AliasActivity This class was deprecated in API level 30. Use <activity-alias> or subclass Activity directly.
AlignmentSpan

Span that allows defining the alignment of text at the paragraph level.

AlignmentSpan.Standard

Default implementation of the AlignmentSpan.

Allocation This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Allocation.MipmapControl This enum was deprecated in API level 31. Deprecated in Java.
Allocation.OnBufferAvailableListener This interface was deprecated in API level 31. Deprecated in Java.
AllocationAdapter This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
AllowAllHostnameVerifier This class was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
AllPermission

Android doesn't support SecurityManager.

AlphaAnimation

An animation that controls the alpha level of an object.

AlphabeticIndex

AlphabeticIndex supports the creation of a UI index appropriate for a given language.

AlphabeticIndex.Bucket

An index "bucket" with a label string and type.

AlphabeticIndex.Bucket.LabelType

Type of the label

AlphabeticIndex.ImmutableIndex

Immutable, thread-safe version of AlphabeticIndex.

AlphabeticIndex.Record

A (name, data) pair, to be sorted by name into one of the index buckets.

AlphabetIndexer

A helper class for adapters that implement the SectionIndexer interface.

AlreadyBoundException

Unchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound.

AlreadyConnectedException

Unchecked exception thrown when an attempt is made to connect a SocketChannel that is already connected.

AlreadyPersonalizedException

Thrown if trying to create a credential which already exists.

AlteredCharSequence This class was deprecated in API level 30. The functionality this class offers is easily implemented outside the framework.
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.

AltitudeConverter

Converts altitudes reported above the World Geodetic System 1984 (WGS84) reference ellipsoid into ones above Mean Sea Level.

AmbientBacklightEvent

Ambient backlight event

AmbientBacklightMetadata

Metadata of ambient backlight.

AmbientBacklightSettings

Settings to configure ambient backlight hardware.

AnalogClock This class was deprecated in API level 23. This widget is no longer supported; except for android.widget.RemoteViews use cases like app widgets.
AndroidCharacter This class was deprecated in API level 26. Use various methods from android.icu.lang.UCharacter, instead.
AndroidException

Base class for all checked exceptions thrown by the Android frameworks.

AndroidRuntimeException

Base class for all unchecked exceptions thrown by the Android frameworks.

AndroidTestCase This class was deprecated in API level 24. Use InstrumentationRegistry instead. New tests should be written using the Android Testing Support Library.
AndroidTestRunner This class was deprecated in API level 24. Use AndroidJUnitRunner instead. New tests should be written using the Android Testing Support Library.
Animatable

Interface that drawables supporting animations should implement.

Animatable2

Abstract class that drawables supporting animations and callbacks should extend.

Animatable2.AnimationCallback

AnimatedImageDrawable

Drawable for drawing animated images (like GIF).

AnimatedStateListDrawable

Drawable containing a set of Drawable keyframes where the currently displayed keyframe is chosen based on the current state set.

AnimatedVectorDrawable

This class animates properties of a android.graphics.drawable.VectorDrawable with animations defined using android.animation.ObjectAnimator or android.animation.AnimatorSet.

Animation

Abstraction for an Animation that can be applied to Views, Surfaces, or other objects.

Animation.AnimationListener

An animation listener receives notifications from an animation.

Animation.Description

Utility class to parse a string description of a size.

AnimationDrawable

An object used to create frame-by-frame animations, defined by a series of Drawable objects, which can be used as a View object's background.

AnimationSet

Represents a group of Animations that should be played together.

AnimationUtils

Defines common utilities for working with animations.

Animator

This is the superclass for classes which provide basic support for animations which can be started, ended, and have AnimatorListeners added to them.

Animator.AnimatorListener

An animation listener receives notifications from an animation.

Animator.AnimatorPauseListener

A pause listener receives notifications from an animation when the animation is paused or resumed.

AnimatorInflater

This class is used to instantiate animator XML files into Animator objects.

AnimatorListenerAdapter

This adapter class provides empty implementations of the methods from android.animation.Animator.AnimatorListener.

AnimatorSet

This class plays a set of Animator objects in the specified order.

AnimatorSet.Builder

The Builder object is a utility class to facilitate adding animations to a AnimatorSet along with the relationships between the various animations.

AnnotatedElement

Represents an annotated element of the program currently running in this VM.

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.

Annotation

The common interface extended by all annotation interfaces.

Annotation

An Annotation object is used as a wrapper for a text attribute value if the attribute has annotation characteristics.

AnnotationFormatError

Thrown when the annotation parser attempts to read an annotation from a class file and determines that the annotation is malformed.

AnnotationTypeMismatchException

Thrown to indicate that a program has attempted to access an element of an annotation whose type has changed after the annotation was compiled (or serialized).

AnticipateInterpolator

An interpolator where the change starts backward then flings forward.

AnticipateOvershootInterpolator

An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value.

ApkChecksum

A typed checksum of an APK.

ApnSetting

An Access Point Name (APN) configuration for a carrier data connection.

ApnSetting.Builder

Provides a convenient way to set the fields of a ApnSetting when creating a new instance.

AppComponentFactory

Interface used to control the instantiation of manifest elements.

Appendable

An object to which char sequences and values can be appended.

AppFunctionException

Represents an app function related error.

AppFunctionManager

Provides access to App Functions.

AppFunctionService

Abstract base class to provide app functions to the system.

AppInfo

Information about apps.

AppInfo

Application Info class containing details about a given application

AppInstallFilters

A container for the ad filters that are based on app install state.

AppInstallFilters.Builder

Builder for creating AppInstallFilters objects.

AppJankStats

This class stores detailed jank statistics for an individual UI widget.

Application

Base class for maintaining global application state.

Application.ActivityLifecycleCallbacks

Application.OnProvideAssistDataListener

Callback interface for use with Application.registerOnProvideAssistDataListener and Application.unregisterOnProvideAssistDataListener.

ApplicationErrorReport

Describes an application error.

ApplicationErrorReport.AnrInfo

Describes an application not responding error.

ApplicationErrorReport.BatteryInfo

Describes a battery usage report.

ApplicationErrorReport.CrashInfo

Describes an application crash.

ApplicationErrorReport.RunningServiceInfo

Describes a running service report.

ApplicationExitInfo

Describes the information of an application process's death.

ApplicationInfo

Information you can retrieve about a particular application.

ApplicationInfo.DisplayNameComparator

ApplicationMediaCapabilities

ApplicationMediaCapabilities is an immutable class that encapsulates an application's capabilities for handling newer video codec format and media features.

ApplicationMediaCapabilities.Builder

Builder class for ApplicationMediaCapabilities objects.

ApplicationRuntime

Provides APIs to retrieve the information about the application loaded in the current runtime.

ApplicationStartInfo

Describes information related to an application process's startup.

ApplicationTestCase This class was deprecated in API level 24. Use InstrumentationRegistry instead. New tests should be written using the Android Testing Support Library.
AppLinkInfo

App link information used by TV interactive app to launch Android apps.

AppOpsManager

App-ops are used for two purposes: Access control and tracking.

AppOpsManager.OnOpActiveChangedListener

Callback for notification of changes to operation active state.

AppOpsManager.OnOpChangedListener

Callback for notification of changes to operation state.

AppOpsManager.OnOpNotedCallback

Callback an app can #setOnOpNotedCallback to monitor the app-ops the system has tracked for it.

AppOwnedSdkSandboxInterface

Represents a channel for an SDK in the sandbox process to interact with the app.

AppSearchBatchResult

Provides results for AppSearch batch operations which encompass multiple documents.

AppSearchBatchResult.Builder

Builder for AppSearchBatchResult objects.

AppSearchBlobHandle

An identifier to represent a blob in AppSearch.

AppSearchException

An exception thrown by android.app.appsearch.AppSearchSession or a subcomponent.

AppSearchManager

Provides access to the centralized AppSearch index maintained by the system.

AppSearchManager.SearchContext

Contains information about how to create the search session.

AppSearchManager.SearchContext.Builder

Builder for SearchContext objects.

AppSearchResult

Information about the success or failure of an AppSearch call.

AppSearchSchema

The AppSearch Schema for a particular type of document.

AppSearchSchema.BlobHandlePropertyConfig

Configuration for a property of type AppSearchBlobHandle in a Document.

AppSearchSchema.BlobHandlePropertyConfig.Builder

Builder for BlobHandlePropertyConfig.

AppSearchSchema.BooleanPropertyConfig

Configuration for a property containing a boolean.

AppSearchSchema.BooleanPropertyConfig.Builder

Builder for BooleanPropertyConfig.

AppSearchSchema.Builder

Builder for objects.

AppSearchSchema.BytesPropertyConfig

Configuration for a property containing a byte array.

AppSearchSchema.BytesPropertyConfig.Builder

Builder for BytesPropertyConfig.

AppSearchSchema.DocumentPropertyConfig

Configuration for a property containing another Document.

AppSearchSchema.DocumentPropertyConfig.Builder

Builder for DocumentPropertyConfig.

AppSearchSchema.DoublePropertyConfig

Configuration for a property containing a double-precision decimal number.

AppSearchSchema.DoublePropertyConfig.Builder

Builder for DoublePropertyConfig.

AppSearchSchema.EmbeddingPropertyConfig

Configuration for a property of type EmbeddingVector in a Document.

AppSearchSchema.EmbeddingPropertyConfig.Builder

Builder for EmbeddingPropertyConfig.

AppSearchSchema.LongPropertyConfig

Configuration for a property containing a 64-bit integer.

AppSearchSchema.LongPropertyConfig.Builder

Builder for LongPropertyConfig.

AppSearchSchema.PropertyConfig

Common configuration for a single property (field) in a Document.

AppSearchSchema.StringPropertyConfig

Configuration for a property of type String in a Document.

AppSearchSchema.StringPropertyConfig.Builder

Builder for StringPropertyConfig.

AppSearchSession

Provides a connection to a single AppSearch database.

AppSetId

A unique, per-device, per developer-account user-resettable ID for non-monetizing advertising usecases.

AppSetIdManager

AppSetIdManager provides APIs for app and ad-SDKs to access appSetId for non-monetizing purpose.

AppUriAuthenticationPolicy

The app-URI authentication policy is set by the credential management app.

AppUriAuthenticationPolicy.Builder

Builder class for AppUriAuthenticationPolicy objects.

AppWidgetHost

AppWidgetHost provides the interaction with the AppWidget service for apps, like the home screen, that want to embed AppWidgets in their UI.

AppWidgetHostView

Provides the glue to show AppWidget views.

AppWidgetManager

Updates AppWidget state; gets information about installed AppWidget providers and other AppWidget related state.

AppWidgetProvider

A convenience class to aid in implementing an AppWidget provider.

AppWidgetProviderInfo

Describes the meta data for an installed AppWidget provider.

ArchivedActivityInfo

Contains fields required to show archived package in Launcher.

ArchivedPackageInfo

Contains fields required for archived package installation, i.

ArcMotion

A PathMotion that generates a curved path along an arc on an imaginary circle containing the two points.

ArcShape

Creates an arc shape.

ArgbEvaluator

This evaluator can be used to perform type interpolation between integer values that represent ARGB colors.

ArithmeticException

Thrown when an exceptional arithmetic condition has occurred.

Array

The Array class provides static methods to dynamically create and access Java arrays.

Array

The mapping in the Java programming language for the SQL type ARRAY.

ArrayAdapter

You can use this adapter to provide views for an AdapterView, Returns a view for each object in a collection of data objects you provide, and can be used with list-based user interface widgets such as ListView or Spinner.

ArrayBlockingQueue

A bounded blocking queue backed by an array.

ArrayDeque

Resizable-array implementation of the Deque interface.

ArrayIndexOutOfBoundsException

Thrown to indicate that an array has been accessed with an illegal index.

ArrayList

Resizable-array implementation of the List interface.

ArrayMap

ArrayMap is a generic key->value mapping data structure that is designed to be more memory efficient than a traditional java.util.HashMap.

Arrays

This class contains various methods for manipulating arrays (such as sorting and searching).

ArraySet

ArraySet is a generic set data structure that is designed to be more memory efficient than a traditional java.util.HashSet.

ArrayStoreException

Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.

ArrowKeyMovementMethod

A movement method that provides cursor movement and selection.

AssertionError

Thrown to indicate that an assertion has failed.

AssertionFailedError This exception was deprecated in API level 16. use junit.framework.AssertionFailedError
AssetFileDescriptor

File descriptor of an entry in the AssetManager.

AssetFileDescriptor.AutoCloseInputStream

An InputStream you can create on a ParcelFileDescriptor, which will take care of calling android.

AssetFileDescriptor.AutoCloseOutputStream

An OutputStream you can create on a ParcelFileDescriptor, which will take care of calling android.

AssetManager

Provides access to an application's raw asset files; see Resources for the way most applications will want to retrieve their resource data.

AssetManager.AssetInputStream

AssetsProvider

Provides callbacks that allow for the value of a file-based resources or assets of a ResourcesProvider to be specified or overridden.

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.

AssistStructure.ViewNode

Describes a single view in the assist data.

AssistStructure.WindowNode

Describes a window in the assist data.

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.

AssociationRequest.Builder

A builder for AssociationRequest

AsynchronousByteChannel

An asynchronous channel that can read and write bytes.

AsynchronousChannel

A channel that supports asynchronous I/O operations.

AsynchronousChannelGroup

A grouping of asynchronous channels for the purpose of resource sharing.

AsynchronousChannelProvider

Service-provider class for asynchronous channels.

AsynchronousCloseException

Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.

AsynchronousFileChannel

An asynchronous channel for reading, writing, and manipulating a file.

AsynchronousServerSocketChannel

An asynchronous channel for stream-oriented listening sockets.

AsynchronousSocketChannel

An asynchronous channel for stream-oriented connecting sockets.

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.

AsyncPlayer

Plays a series of audio URIs, but does all the hard work on another thread so that any slowness with preparing or loading doesn't block the calling thread.

AsyncQueryHandler

A helper class to help make handling asynchronous ContentResolver queries easier.

AsyncQueryHandler.WorkerArgs

AsyncQueryHandler.WorkerHandler

AsyncTask This class was deprecated in API level 30. Use the standard java.util.concurrent or Kotlin concurrency utilities instead.
AsyncTask.Status This enum was deprecated in API level 30. Deprecated in Java.
AsyncTaskLoader This class was deprecated in API level 28. Use the Support Library androidx.loader.content.AsyncTaskLoader
AtomicBoolean

A boolean value that may be updated atomically.

AtomicFile

Helper class for performing atomic operations on a file by writing to a new file and renaming it into the place of the original file after the write has successfully completed.

AtomicInteger

An int value that may be updated atomically.

AtomicIntegerArray

An int array in which elements may be updated atomically.

AtomicIntegerFieldUpdater

A reflection-based utility that enables atomic updates to designated volatile int fields of designated classes.

AtomicLong

A long value that may be updated atomically.

AtomicLongArray

A long array in which elements may be updated atomically.

AtomicLongFieldUpdater

A reflection-based utility that enables atomic updates to designated volatile long fields of designated classes.

AtomicMarkableReference

An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically.

AtomicMoveNotSupportedException

Checked exception thrown when a file cannot be moved as an atomic file system operation.

AtomicReference

An object reference that may be updated atomically.

AtomicReferenceArray

An array of object references in which elements may be updated atomically.

AtomicReferenceFieldUpdater

A reflection-based utility that enables atomic updates to designated volatile reference fields of designated classes.

AtomicStampedReference

An AtomicStampedReference maintains an object reference along with an integer "stamp", that can be updated atomically.

AttachCallback

Base class for Aware attach callbacks.

AttachedSurfaceControl

Provides an interface to the root-Surface of a View Hierarchy or Window.

AttachedSurfaceControl.OnBufferTransformHintChangedListener

Buffer transform hint change listener.

AttestedKeyPair

The AttestedKeyPair class contains a KeyPair instance of keys generated by Keystore and owned by KeyChain, as well as an attestation record for the key.

Attr

The Attr interface represents an attribute in an Element object.

AttributedCharacterIterator

An AttributedCharacterIterator allows iteration through both text and related attribute information.

AttributedCharacterIterator.Attribute

Defines attribute keys that are used to identify text attributes.

AttributedString

An AttributedString holds text and related attribute information.

AttributeList This interface was deprecated in API level 9. This interface has been replaced by the SAX2 Attributes interface, which includes Namespace support.
AttributeListImpl This class was deprecated in API level 9. This class implements a deprecated interface, AttributeList; that interface has been replaced by Attributes, which is implemented in the AttributesImpl helper class.
Attributes

The Attributes class maps Manifest attribute names to associated string values.

Attributes

Interface for a list of XML attributes.

Attributes.Name

The Attributes.

Attributes2

SAX2 extension to augment the per-attribute information provided though Attributes.

Attributes2Impl

SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface.

AttributeSet

A collection of attributes, as found associated with a tag in an XML document.

AttributesImpl

Default implementation of the Attributes interface.

AttributeView

An object that provides a read-only or updatable view of non-opaque values associated with an object in a filesystem.

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.

AttributionSource.Builder

A builder for AttributionSource

AudioAttributes

A class to encapsulate a collection of attributes describing information about an audio stream.

AudioAttributes.Builder

Builder class for AudioAttributes objects.

AudioCodec This class was deprecated in API level 31. android.net.sip.SipManager and associated classes are no longer supported and should not be used as the basis of future VOIP apps.
AudioDescriptor

The AudioDescriptor contains the information to describe the audio playback/capture capabilities.

AudioDeviceCallback

AudioDeviceCallback defines the mechanism by which applications can receive notifications of audio device connection and disconnection events.

AudioDeviceInfo

Provides information about an audio device.

AudioEffect

AudioEffect is the base class for controlling audio effects provided by the android audio framework.

AudioEffect.Descriptor

The effect descriptor contains information on a particular effect implemented in the audio framework:

The method queryEffects() returns an array of Descriptors to facilitate effects enumeration.

AudioEffect.OnControlStatusChangeListener

The OnControlStatusChangeListener interface defines a method called by the AudioEffect when control of the effect engine is gained or lost by the application

AudioEffect.OnEnableStatusChangeListener

The OnEnableStatusChangeListener interface defines a method called by the AudioEffect when the enabled state of the effect engine was changed by the controlling application.

AudioFocusRequest

A class to encapsulate information about an audio focus request.

AudioFocusRequest.Builder

Builder class for AudioFocusRequest objects.

AudioFormat

The AudioFormat class is used to access a number of audio format and channel configuration constants.

AudioFormat.Builder

Builder class for AudioFormat objects.

AudioGroup This class was deprecated in API level 31. android.net.sip.SipManager and associated classes are no longer supported and should not be used as the basis of future VOIP apps.
AudioManager

AudioManager provides access to volume and ringer mode control.

AudioManager.AudioPlaybackCallback

Interface for receiving update notifications about the playback activity on the system.

AudioManager.AudioRecordingCallback

Interface for receiving update notifications about the recording configuration.

AudioManager.OnAudioFocusChangeListener

Interface definition for a callback to be invoked when the audio focus of the system is updated.

AudioManager.OnCommunicationDeviceChangedListener

Listener registered by client to be notified upon communication audio device change.

AudioManager.OnModeChangedListener

Interface definition of a callback that is notified when the audio mode changes

AudioManager.OnPreferredMixerAttributesChangedListener

Interface to be notified of changes in the preferred mixer attributes.

AudioMetadata

AudioMetadata class is used to manage typed key-value pairs for configuration and capability requests within the Audio Framework.

AudioMetadata.Format

A container class for AudioMetadata Format keys.

AudioMetadata.Key

Key interface for the AudioMetadata map.

AudioMetadataMap

AudioMetadataMap is a writeable Map-style interface of AudioMetadata.Key value pairs.

AudioMetadataReadMap

A read only Map-style interface of AudioMetadata.Key value pairs used for AudioMetadata.

AudioMixerAttributes

Class to represent the attributes of the audio mixer: its format, which represents by an AudioFormat object and mixer behavior.

AudioMixerAttributes.Builder

Builder class for AudioMixerAttributes objects.

AudioPlaybackCaptureConfiguration

Configuration for capturing audio played by other apps.

AudioPlaybackCaptureConfiguration.Builder

Builder for creating AudioPlaybackCaptureConfiguration instances.

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.

AudioPresentation.Builder

A builder class for creating AudioPresentation objects.

AudioProfile

An AudioProfile is specific to an audio format and lists supported sampling rates and channel masks for that format.

AudioRecord

The AudioRecord class manages the audio resources for Java applications to record audio from the audio input hardware of the platform.

AudioRecord.Builder

Builder class for AudioRecord objects.

AudioRecord.MetricsConstants

AudioRecord.OnRecordPositionUpdateListener

Interface definition for a callback to be invoked when an AudioRecord has reached a notification marker set by AudioRecord.setNotificationMarkerPosition(int) or for periodic updates on the progress of the record head, as set by AudioRecord.setPositionNotificationPeriod(int).

AudioRecord.OnRoutingChangedListener This interface was deprecated in API level 24. users should switch to the general purpose AudioRouting.OnRoutingChangedListener class instead.
AudioRecordingConfiguration

The AudioRecordingConfiguration class collects the information describing an audio recording session.

AudioRecordingMonitor

AudioRecordingMonitor defines an interface implemented by AudioRecord and MediaRecorder allowing applications to install a callback and be notified of changes in the capture path while recoding is active.

AudioRouting

AudioRouting defines an interface for controlling routing and routing notifications in AudioTrack and AudioRecord objects.

AudioRouting.OnRoutingChangedListener

Defines the interface by which applications can receive notifications of routing changes for the associated AudioRouting.

AudioStream This class was deprecated in API level 31. android.net.sip.SipManager and associated classes are no longer supported and should not be used as the basis of future VOIP apps.
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.

AudioTrack

The AudioTrack class manages and plays a single audio resource for Java applications.

AudioTrack.Builder

Builder class for AudioTrack objects.

AudioTrack.MetricsConstants

AudioTrack.OnCodecFormatChangedListener

Interface definition for a listener for codec format changes.

AudioTrack.OnPlaybackPositionUpdateListener

Interface definition for a callback to be invoked when the playback head position of an AudioTrack has reached a notification marker or has increased by a certain period.

AudioTrack.OnRoutingChangedListener This interface was deprecated in API level 24. users should switch to the general purpose AudioRouting.OnRoutingChangedListener class instead.
AudioTrack.StreamEventCallback

Abstract class to receive event notifications about the stream playback in offloaded mode.

AuthenticationKeyMetadata

Data about authentication keys.

AuthenticationRequiredException

Specialization of SecurityException that is thrown when authentication is needed from the end user before viewing the content.

Authenticator

The class Authenticator represents an object that knows how to obtain authentication for a network connection.

Authenticator.RequestorType

The type of the entity requesting authentication.

AuthenticatorDescription

A Parcelable value type that contains information about an account authenticator.

AuthenticatorException

AuthPermission

Legacy security code; do not use.

AuthProvider

Legacy security code; do not use.

AutoCloseable

An object that may hold resources (such as file or socket handles) until it is closed.

AutoCompleteTextView

An editable text view that shows completion suggestions automatically while the user is typing.

AutoCompleteTextView.OnDismissListener

Listener to respond to the AutoCompleteTextView's completion list being dismissed.

AutoCompleteTextView.Validator

This interface is used to make sure that the text entered in this TextView complies to a certain format.

AutofillId

A unique identifier for an autofill node inside an android.app.Activity.

AutofillManager

The AutofillManager class provides ways for apps and custom views to integrate with the Autofill Framework lifecycle.

AutofillManager.AutofillCallback

Callback for autofill related events.

AutofillService

An AutofillService is a service used to automatically fill the contents of the screen on behalf of a given user - for more information about autofill, read Autofill Framework.

AutofillValue

Abstracts how a View can be autofilled by an android.service.autofill.AutofillService.

AutomaticGainControl

Automatic Gain Control (AGC).

AutomaticZenRule

Rule instance information for a zen (aka DND or Attention Management) mode.

AutomaticZenRule.Builder

AutoText

This class accesses a dictionary of corrections to frequent misspellings.

AutoTransition

Utility class for creating a default transition that automatically fades, moves, and resizes views during a scene change.

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

AvailableNetworkInfo.Builder

Provides a convenient way to set the fields of a AvailableNetworkInfo when creating a new instance.

AvailableNfcAntenna

Represents a single available Nfc antenna on an Android device.

AwarePairingConfig

The config for the Aware Pairing.

AwarePairingConfig.Builder

Builder used to build AwarePairingConfig objects.

AwareResources

The resources of the Aware service.

B

BackendBusyException

Indicates a transient error that prevented a key operation from being created.

BackEvent

Object used to report back gesture progress.

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.

BackingStoreException

Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.

BackupAgent

Provides the central interface between an application and Android's data backup infrastructure.

BackupAgentHelper

A convenient BackupAgent wrapper class that automatically manages heterogeneous data sets within the backup data, each identified by a unique key prefix.

BackupDataInput

Provides the structured interface through which a BackupAgent reads information from the backup data set, via its onRestore() method.

BackupDataInputStream

Provides an java.io.InputStream-like interface for accessing an entity's data during a restore operation.

BackupDataOutput

Provides the structured interface through which a BackupAgent commits information to the backup data set, via its onBackup() method.

BackupHelper

Defines the calling interface that BackupAgentHelper uses when dispatching backup and restore operations to the installed helpers.

BackupManager

The interface through which an application interacts with the Android backup service to request backup and restore operations.

BadPaddingException

This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.

BadParcelableException

Exception thrown when a Parcelable is malformed or otherwise invalid.

BarringInfo

Provides the barring configuration for a particular service type.

BarringInfo.BarringServiceInfo

Describe the current barring configuration of a cell

BasalBodyTemperatureRecord

Captures the body temperature of a user when at rest (for example, immediately after waking up).

BasalBodyTemperatureRecord.Builder

Builder class for BasalBodyTemperatureRecord

BasalMetabolicRateRecord

Captures the BMR of a user.

BasalMetabolicRateRecord.Builder

Builder class for BasalMetabolicRateRecord

Base64

Utilities for encoding and decoding the Base64 representation of binary data.

Base64

This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme.

Base64.Decoder

This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.

Base64.Encoder

This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.

Base64DataException

This exception is thrown by Base64InputStream or Base64OutputStream when an error is detected in the data being decoded.

Base64InputStream

An InputStream that does Base64 decoding on the data read through it.

Base64OutputStream

An OutputStream that does Base64 encoding on the data written to it, writing the resulting data to another OutputStream.

BaseAdapter

Common base class of common implementation for an Adapter that can be used in both ListView (by implementing the specialized ListAdapter interface) and Spinner (by implementing the specialized SpinnerAdapter interface).

BaseBundle

A mapping from String keys to values of various types.

BaseColumns

BaseDexClassLoader

Base class for common functionality between various dex-based ClassLoader implementations.

BaseExpandableListAdapter

Base class for a ExpandableListAdapter used to provide data and Views from some data to an expandable list view.

BaseInputConnection

Base class for implementors of the InputConnection interface, taking care of most of the common behavior for providing a connection to an Editable.

BaseInterpolator

An abstract class which is extended by default interpolators.

BaseKeyListener

Abstract base class for key listeners.

BaseMovementMethod

Base classes for movement methods.

BaseObj This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
BaseStream

Base interface for streams, which are sequences of elements supporting sequential and parallel aggregate operations.

BasicFileAttributes

Basic attributes associated with a file in a file system.

BasicFileAttributeView

A file attribute view that provides a view of a basic set of file attributes common to many file systems.

BasicPermission

Android doesn't support SecurityManager.

BassBoost

Bass boost is an audio effect to boost or amplify low frequencies of the sound.

BassBoost.OnParameterChangeListener

The OnParameterChangeListener interface defines a method called by the BassBoost when a parameter value has changed.

BassBoost.Settings

The Settings class regroups all bass boost parameters.

BatchResultCallback

The callback interface to return AppSearchBatchResult.

BatchUpdateException

The subclass of SQLException thrown when an error occurs during a batch update operation.

BatchUpdates

Defines actions to be applied to a template presentation.

BatchUpdates.Builder

Builder for BatchUpdates objects.

BatteryManager

The BatteryManager class contains strings and constants used for values in the android.content.Intent#ACTION_BATTERY_CHANGED Intent, and provides a method for querying battery and charging properties.

BatteryState

The BatteryState class is a representation of a single battery on a device.

BeginCreateCredentialRequest

Request for beginning a create credential request.

BeginCreateCredentialResponse

Response to a BeginCreateCredentialRequest.

BeginCreateCredentialResponse.Builder

A builder for BeginCreateCredentialResponse

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.

BeginGetCredentialRequest.Builder

Builder for BeginGetCredentialRequest.

BeginGetCredentialResponse

Response from a credential provider, containing credential entries and other associated data to be shown on the account selector UI.

BeginGetCredentialResponse.Builder

Builds an instance of BeginGetCredentialResponse.

BiConsumer

Represents an operation that accepts two input arguments and returns no result.

Bidi

Bidi algorithm for ICU

This is an implementation of the Unicode Bidirectional Algorithm.

Bidi

This class implements the Unicode Bidirectional Algorithm.

BidiClassifier

Overrides default Bidi class values with custom ones.

BidiFormatter

Utility class for formatting text for display in a potentially opposite-directionality context without garbling.

BidiFormatter.Builder

A class for building a BidiFormatter with non-default options.

BidirectionalStream

Class for bidirectional sending and receiving of data over HTTP/2 or QUIC connections.

BidirectionalStream.Builder

Builder for BidirectionalStreams.

BidirectionalStream.Callback

Callback interface used to receive callbacks from a BidirectionalStream.

BidirectionalTypeConverter

Abstract base class used convert type T to another type V and back again.

BidiRun

A BidiRun represents a sequence of characters at the same embedding level.

BiFunction

Represents a function that accepts two arguments and produces a result.

BigDecimal

The BigDecimal class implements immutable arbitrary-precision decimal numbers.

BigDecimal

Immutable, arbitrary-precision signed decimal numbers.

BigInteger

Immutable arbitrary-precision integers.

BinaryOperator

Represents an operation upon two operands of the same type, producing a result of the same type as the operands.

Binder

Base class for a remotable object, the core part of a lightweight remote procedure call mechanism defined by IBinder.

BindException

Signals that an error occurred while attempting to bind a socket to a local address and port.

BiometricManager

A class that contains biometric utilities.

BiometricManager.Authenticators

Types of authenticators, defined at a level of granularity supported by BiometricManager and BiometricPrompt.

BiometricManager.Strings

Provides localized strings for an application that uses BiometricPrompt to authenticate the user.

BiometricPrompt

A class that manages a system-provided biometric dialog.

BiometricPrompt.AuthenticationCallback

Callback structure provided to BiometricPrompt.authenticate(CancellationSignal, or BiometricPrompt.authenticate(CryptoObject,.

BiometricPrompt.AuthenticationResult

Container for callback data from authenticate(android.os.CancellationSignal,java.util.concurrent.Executor,android.hardware.biometrics.BiometricPrompt.AuthenticationCallback) and authenticate(android.hardware.biometrics.BiometricPrompt.CryptoObject,android.os.CancellationSignal,java.util.concurrent.Executor,android.hardware.biometrics.BiometricPrompt.AuthenticationCallback).

BiometricPrompt.Builder

A builder that collects arguments to be shown on the system-provided biometric dialog.

BiometricPrompt.CryptoObject

A wrapper class for the cryptographic operations supported by BiometricPrompt.

BiPredicate

Represents a predicate (boolean-valued function) of two arguments.

Bitmap

Bitmap.CompressFormat

Specifies the known formats a bitmap can be compressed into

Bitmap.Config

Possible bitmap configurations.

BitmapDrawable

A Drawable that wraps a bitmap and can be tiled, stretched, or aligned.

BitmapFactory

Creates Bitmap objects from various sources, including files, streams, and byte-arrays.

BitmapFactory.Options

BitmapRegionDecoder

BitmapRegionDecoder can be used to decode a rectangle region from an image.

BitmapShader

Shader used to draw a bitmap as a texture.

BitSet

This class implements a vector of bits that grows as needed.

BlackLevelPattern

Immutable class to store a 4-element vector of integers corresponding to a 2x2 pattern of color channel offsets used for the black level offsets of each color channel.

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.

BleCsRangingParams.Builder

Builder class to create BleCsRangingParams instances.

BlendMode

BlendModeColorFilter

A color filter that can be used to tint the source pixels using a single color and a specific BlendMode.

BleRssiRangingParams

BleRssiRangingParams encapsulates the parameters required for a bluetooth rssi based ranging session.

BleRssiRangingParams.Builder

Builder class to create BleRssiRangingParams instances.

Blob

The representation (mapping) in the JavaTM programming language of an SQL BLOB value.

BlobHandle

An identifier to represent a blob.

BlobStoreManager

This class provides access to the blob store managed by the system.

BlobStoreManager.Session

Represents an ongoing session of a blob's contribution to the blob store managed by the system.

BlockedNumberContract

The contract between the blockednumber provider and applications.

BlockedNumberContract.BlockedNumbers

Constants to interact with the blocked numbers list.

BlockingDeque

A Deque that additionally supports blocking operations that wait for the deque to become non-empty when retrieving an element, and wait for space to become available in the deque when storing an element.

BlockingOption

Options for blocking a network through WifiManager.disallowCurrentSuggestedNetwork(BlockingOption)

BlockingOption.Builder

Builder used to create BlockingOption objects.

BlockingQueue

A Queue that additionally supports operations that wait for the queue to become non-empty when retrieving an element, and wait for space to become available in the queue when storing an element.

BloodGlucose

Represents a unit of blood glucose level (glycaemia).

BloodGlucoseRecord

Captures the concentration of glucose in the blood.

BloodGlucoseRecord.Builder

Builder class for BloodGlucoseRecord

BloodGlucoseRecord.RelationToMealType

Relationship of the meal to the blood glucose measurement.

BloodGlucoseRecord.SpecimenSource

Type of body fluid used to measure the blood glucose.

BloodPressureRecord

Captures the blood pressure of a user.

BloodPressureRecord.BloodPressureMeasurementLocation

Identifier for Blood Pressure Measurement Location

BloodPressureRecord.BodyPosition

Identifier for body position

BloodPressureRecord.Builder

Builder class for BloodPressureRecord

BluetoothA2dp

This class provides the public APIs to control the Bluetooth A2DP profile.

BluetoothAdapter

Represents the local device Bluetooth adapter.

BluetoothAdapter.LeScanCallback

Callback interface used to deliver LE scan results.

BluetoothAssignedNumbers

Bluetooth Assigned Numbers.

BluetoothClass

Represents a Bluetooth class, which describes general characteristics and capabilities of a device.

BluetoothClass.Device

Defines all device class constants.

BluetoothClass.Device.Major

Defines all major device class constants.

BluetoothClass.Service

Defines all service class constants.

BluetoothCodecConfig

Represents the codec configuration for a Bluetooth A2DP source device.

BluetoothCodecConfig.Builder

Builder for BluetoothCodecConfig.

BluetoothCodecStatus

Represents the codec status (configuration and capability) for a Bluetooth A2DP source device.

BluetoothCodecStatus.Builder

Builder for BluetoothCodecStatus.

BluetoothCodecType

Represents a supported source codec type for a Bluetooth A2DP device.

BluetoothCsipSetCoordinator

This class provides the public APIs to control the Bluetooth CSIP set coordinator.

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

BluetoothDeviceFilter.Builder

A builder for BluetoothDeviceFilter

BluetoothGatt

Public API for the Bluetooth GATT Profile.

BluetoothGattCallback

This abstract class is used to implement BluetoothGatt callbacks.

BluetoothGattCharacteristic

Represents a Bluetooth GATT Characteristic

BluetoothGattDescriptor

Represents a Bluetooth GATT Descriptor

BluetoothGattServer

Public API for the Bluetooth GATT Profile server role.

BluetoothGattServerCallback

This abstract class is used to implement BluetoothGattServer callbacks.

BluetoothGattService

Represents a Bluetooth GATT Service

BluetoothHeadset

Public API for controlling the Bluetooth Headset Service.

BluetoothHealth 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, android.bluetooth.BluetoothAdapter#listenUsingL2capChannel(), or android.bluetooth.BluetoothDevice#createL2capChannel(int)
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, android.bluetooth.BluetoothAdapter#listenUsingL2capChannel(), or android.bluetooth.BluetoothDevice#createL2capChannel(int)
BluetoothHealthCallback 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, android.bluetooth.BluetoothAdapter#listenUsingL2capChannel(), or android.bluetooth.BluetoothDevice#createL2capChannel(int)
BluetoothHearingAid

This class provides the public APIs to control the Hearing Aid profile.

BluetoothHidDevice

Provides the public APIs to control the Bluetooth HID Device profile.

BluetoothHidDevice.Callback

The template class that applications use to call callback functions on events from the HID host.

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.

BluetoothLeAdvertiser

This class provides a way to perform Bluetooth LE advertise operations, such as starting and stopping advertising.

BluetoothLeAudio

This class provides the public APIs to control the LeAudio profile.

BluetoothLeAudioCodecConfig

Represents the codec configuration for a Bluetooth LE Audio source device.

BluetoothLeAudioCodecConfig.Builder

Builder for BluetoothLeAudioCodecConfig.

BluetoothLeAudioCodecStatus

Represents the codec status (configuration and capability) for a Bluetooth Le Audio source device.

BluetoothLeDeviceFilter

A filter for Bluetooth LE devices

BluetoothLeDeviceFilter.Builder

Builder for BluetoothLeDeviceFilter

BluetoothLeScanner

This class provides methods to perform scan related operations for Bluetooth LE devices.

BluetoothManager

High level manager used to obtain an instance of an BluetoothAdapter and to conduct overall Bluetooth Management.

BluetoothProfile

Public APIs for the Bluetooth Profiles.

BluetoothProfile.ServiceListener

An interface for notifying BluetoothProfile IPC clients when they have been connected or disconnected to the service.

BluetoothServerSocket

A listening Bluetooth socket.

BluetoothSocket

A connected or connecting Bluetooth socket.

BluetoothSocketException

Thrown when an error occurs during a Bluetooth Socket related exception.

BluetoothSocketSettings

Defines parameters for creating Bluetooth server and client socket channels.

BluetoothSocketSettings.Builder

Builder for BluetoothSocketSettings.

BluetoothStatusCodes

A class with constants representing possible return values for Bluetooth APIs.

BlurMaskFilter

This takes a mask, and blurs its edge by the specified radius.

BlurMaskFilter.Blur

BodyFatRecord

Captures the body fat percentage of a user.

BodyFatRecord.Builder

Builder class for BodyFatRecord

BodyTemperatureMeasurementLocation

Where on the user's body a temperature measurement was taken from.

BodyTemperatureRecord

Captures the body temperature of a user.

BodyTemperatureRecord.Builder

Builder class for BodyTemperatureRecord

BodyWaterMassRecord

Captures the user's body water mass.

BodyWaterMassRecord.Builder

Builder class for BodyWaterMassRecord

BoneMassRecord

Captures the user's bone mass.

BoneMassRecord.Builder

Builder class for BoneMassRecord

Boolean

The Boolean class wraps a value of the primitive type boolean in an object.

BooleanAction

Action sent by user toggling a Control between checked/unchecked.

BooleanSupplier

Represents a supplier of boolean-valued results.

BootstrapMethodError

Thrown to indicate that an invokedynamic instruction or a dynamic constant failed to resolve its bootstrap method and arguments, or for invokedynamic instruction the bootstrap method has failed to provide a call site with a target of the correct method type, or for a dynamic constant the bootstrap method has failed to provide a constant value of the required type.

BoringLayout

A BoringLayout is a very simple Layout implementation for text that fits on a single line and is all left-to-right characters.

BoringLayout.Metrics

BounceInterpolator

An interpolator where the change bounces at the end.

BrailleDisplayController

Used to communicate with a Braille display that supports the Braille display HID standard (usage page 0x41).

BrailleDisplayController.BrailleDisplayCallback

Interface provided to BrailleDisplayController connection methods to receive callbacks from the system.

BreakIterator

[icu enhancement] ICU's replacement for java.text.BreakIterator.

BreakIterator

The BreakIterator class implements methods for finding the location of boundaries in text.

BroadcastInfoRequest

A request for the information retrieved from broadcast signal.

BroadcastInfoResponse

A response of BroadcastInfoRequest for information retrieved from broadcast signal.

BroadcastOptions

Helper class for building an options Bundle that can be used with Context.sendBroadcast(Intent) and related methods.

BroadcastReceiver

Base class for code that receives and handles broadcast intents sent by android.content.Context#sendBroadcast(Intent).

BroadcastReceiver.PendingResult

State for a result that is pending for a broadcast receiver.

BrokenBarrierException

Exception thrown when a thread tries to wait upon a barrier that is in a broken state, or which enters the broken state while the thread is waiting.

Browser

BrowserCompatHostnameVerifier This class was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
BuddhistCalendar

BuddhistCalendar is a subclass of GregorianCalendar that numbers years since the birth of the Buddha.

Buffer

A container for data of a specific primitive type.

BufferedInputStream

A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support the mark and reset methods.

BufferedOutputStream

The class implements a buffered output stream.

BufferedReader

Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.

BufferedWriter

Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.

BufferOverflowException

Unchecked exception thrown when a relative put operation reaches the target buffer's limit.

BufferUnderflowException

Unchecked exception thrown when a relative get operation reaches the source buffer's limit.

BugreportManager

Class that provides a privileged API to capture and consume bugreports.

BugreportManager.BugreportCallback

An interface describing the callback for bugreport progress and status.

Build

Information about the current build, extracted from system properties.

Build.Partition

Build information for a particular device partition.

Build.VERSION

Various version strings.

Build.VERSION_CODES

Enumeration of the currently known SDK version codes.

Build.VERSION_CODES_FULL

Enumeration of the currently known SDK major and minor version codes.

BulletSpan

A span which styles paragraphs as bullet points (respecting layout direction).

Bundle

A mapping from String keys to various Parcelable values.

BundleSession

An instances of this class represents a session with data stored in a bundle.

Button

A user interface element the user can tap or click to perform an action.

Byte

The Byte class wraps a value of primitive type byte in an object.

Byte2 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Byte3 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Byte4 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
ByteArrayInputStream

A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.

ByteArrayOutputStream

This class implements an output stream in which the data is written into a byte array.

ByteBuffer

A byte buffer.

ByteChannel

A channel that can read and write bytes.

ByteOrder

A typesafe enumeration for byte orders.

C

CacheRequest

Represents channels for storing resources in the ResponseCache.

CacheResponse

Represent channels for retrieving resources from the ResponseCache.

Calendar

[icu enhancement] ICU's replacement for java.util.Calendar.

Calendar

The class is an abstract class that provides methods for converting between a specific instant in time and a set of calendar fields such as YEARMONTHDAY_OF_MONTHHOUR, and so on, and for manipulating the calendar fields, such as getting the date of the next week.

Calendar.Builder

Calendar.Builder is used for creating a Calendar from various date-time parameters.

Calendar.WeekData

Simple, immutable struct-like class for access to the CLDR week data.

CalendarContract

The contract between the calendar provider and applications.

CalendarContract.Attendees

Fields and helpers for interacting with Attendees.

CalendarContract.AttendeesColumns

Columns from the Attendees table that other tables join into themselves.

CalendarContract.CalendarAlerts

Fields and helpers for accessing calendar alerts information.

CalendarContract.CalendarAlertsColumns

CalendarContract.CalendarCache

CalendarCache stores some settings for calendar including the current time zone for the instances.

CalendarContract.CalendarCacheColumns

CalendarContract.CalendarColumns

Columns specific to the Calendars Uri that other Uris can query.

CalendarContract.CalendarEntity

Class that represents a Calendar Entity.

CalendarContract.Calendars

Constants and helpers for the Calendars table, which contains details for individual calendars.

CalendarContract.CalendarSyncColumns

Generic columns for use by sync adapters.

CalendarContract.Colors

Fields for accessing colors available for a given account.

CalendarContract.ColorsColumns

CalendarContract.EventDays

Fields and helpers for querying for a list of days that contain events.

CalendarContract.EventDaysColumns

CalendarContract.Events

Constants and helpers for the Events table, which contains details for individual events.

CalendarContract.EventsColumns

Columns from the Events table that other tables join into themselves.

CalendarContract.EventsEntity

Class that represents an Event Entity.

CalendarContract.ExtendedProperties

Fields for accessing the Extended Properties.

CalendarContract.ExtendedPropertiesColumns

CalendarContract.Instances

Fields and helpers for interacting with Instances.

CalendarContract.Reminders

Fields and helpers for accessing reminders for an event.

CalendarContract.RemindersColumns

CalendarContract.SyncColumns

Columns for Sync information used by Calendars and Events tables.

CalendarContract.SyncState

A table provided for sync adapters to use for storing private sync state data.

CalendarView

This class is a calendar widget for displaying and selecting dates.

CalendarView.OnDateChangeListener

The callback used to indicate the user changes the date.

Call

Represents an ongoing phone call that the in-call app should present to the user.

Call.Callback

Defines callbacks which inform the InCallService of changes to a Call.

Call.Details

Call.RttCall

A class that holds the state that describes the state of the RTT channel to the remote party, if it is active.

Callable

A task that returns a result and may throw an exception.

CallableStatement

The interface used to execute SQL stored procedures.

CallAttributes

CallAttributes represents a set of properties that define a new Call.

CallAttributes.Builder

Build an instance of CallAttributes.

CallAudioState

Encapsulates the telecom audio state, including the current audio routing, supported audio routing and mute.

Callback

Implementations of this interface are passed to a CallbackHandler, allowing underlying security services the ability to interact with a calling application to retrieve specific authentication data such as usernames and passwords, or to display certain information, such as error and warning messages.

CallbackException

Exception passed to UrlRequest.Callback.onFailed() when UrlRequest.Callback or UploadDataProvider method throws an exception.

CallbackHandler

An application implements a CallbackHandler and passes it to underlying security services so that they may interact with the application to retrieve specific authentication data, such as usernames and passwords, or to display certain information, such as error and warning messages.

CallControl

CallControl provides client side control of a call.

CallControlCallback

CallControlCallback relays call updates (that require a response) from the Telecom framework out to the application.

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.

CallEventCallback

CallEventCallback relays call updates (that do not require any action) from the Telecom framework out to the application.

CallException

This class defines exceptions that can be thrown when using Telecom APIs with android.os.OutcomeReceivers.

CallingAppInfo

Information pertaining to the calling application, including the package name and a list of app signatures.

CallLog

The CallLog provider contains information about placed and received calls.

CallLog.Calls

Contains the recent calls.

CallLog.Locations

Table that contains information on location data sent via call composer.

CallRedirectionService

This service can be implemented to interact between Telecom and its implementor for making outgoing call with optional redirection/cancellation purposes.

CallScreeningService

This service can be implemented by the default dialer (see TelecomManager.getDefaultDialerPackage()) or a third party app to allow or disallow incoming calls before they are shown to a user.

CallScreeningService.CallResponse

Information about how to respond to an incoming call.

CallScreeningService.CallResponse.Builder

CallSite

A CallSite is a holder for a variable MethodHandle, which is called its target.

CamcorderProfile

Retrieves the predefined camcorder profile settings for camcorder applications.

Camera

A camera instance can be used to compute 3D transformations and generate a matrix that can be applied, for instance, on a Canvas.

Camera This class was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.Area This class was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.AutoFocusCallback This interface was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.AutoFocusMoveCallback This interface was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.CameraInfo This class was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.ErrorCallback This interface was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.Face This class was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.FaceDetectionListener This interface was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.OnZoomChangeListener This interface was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.Parameters This class was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.PictureCallback This interface was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.PreviewCallback This interface was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.ShutterCallback This interface was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
Camera.Size This class was deprecated in API level 21. We recommend using the new android.hardware.camera2 API for new applications.
CameraAccessException

CameraAccessException is thrown if a camera device could not be queried or opened by the CameraManager, or if the connection to an opened CameraDevice is no longer valid.

CameraCaptureSession

A configured capture session for a CameraDevice, used for capturing images from the camera or reprocessing images captured from the camera in the same session previously.

CameraCaptureSession.CaptureCallback

A callback object for tracking the progress of a CaptureRequest submitted to the camera device.

CameraCaptureSession.StateCallback

A callback object for receiving updates about the state of a camera capture session.

CameraCharacteristics

The properties describing a CameraDevice.

CameraCharacteristics.Key

A Key is used to do camera characteristics field lookups with CameraCharacteristics.get.

CameraConstrainedHighSpeedCaptureSession

A constrained high speed capture session for a CameraDevice, used for capturing high speed images from the CameraDevice for high speed video recording use case.

CameraDevice

The CameraDevice class is a representation of a single camera connected to an Android device, allowing for fine-grain control of image capture and post-processing at high frame rates.

CameraDevice.CameraDeviceSetup

CameraDeviceSetup is a limited representation of CameraDevice that can be used to query device specific information which would otherwise need a CameraDevice instance.

CameraDevice.StateCallback

A callback objects for receiving updates about the state of a camera device.

CameraExtensionCharacteristics

Allows clients to query availability and supported resolutions of camera extensions.

CameraExtensionSession

A camera capture session that enables access to device-specific camera extensions, which often use multi-frame bursts and sophisticated post-process algorithms for image capture.

CameraExtensionSession.ExtensionCaptureCallback

A callback object for tracking the progress of a CaptureRequest submitted to the camera device.

CameraExtensionSession.StateCallback

A callback object for receiving updates about the state of a camera extension session.

CameraExtensionSession.StillCaptureLatency

Realtime calculated still capture latency.

CameraManager

A system service manager for detecting, characterizing, and connecting to CameraDevices.

CameraManager.AvailabilityCallback

A callback for camera devices becoming available or unavailable to open.

CameraManager.TorchCallback

A callback for camera flash torch modes becoming unavailable, disabled, or enabled.

CameraMetadata

The base class for camera controls and information.

CameraOfflineSession

A camera capture session that was switched to offline mode via successful call to CameraCaptureSession.switchToOffline.

CameraOfflineSession.CameraOfflineSessionCallback

CameraPrewarmService

Extend this class to implement a camera prewarm service.

CameraProfile

The CameraProfile class is used to retrieve the pre-defined still image capture (jpeg) quality levels (0-100) used for low, medium, and high quality settings in the Camera application.

CancellationException

Exception indicating that the result of a value-producing task, such as a FutureTask, cannot be retrieved because the task was cancelled.

CancellationSignal

Provides the ability to cancel an operation in progress.

CancellationSignal.OnCancelListener

Listens for cancellation.

CancelledKeyException

Unchecked exception thrown when an attempt is made to use a selection key that is no longer valid.

Canvas

The Canvas class holds the "draw" calls.

Canvas.EdgeType This enum was deprecated in API level 30. quickReject no longer uses this.
Canvas.VertexMode

Capability

Represents a capability that can be performed by an app, also known as App Action.

Capability

Immutable class to store the camera capability, its corresponding maximum streaming dimension and zoom range.

Capability.Builder

Builder class for Capability.

CapabilityParams

Represents the parameters and its matching names which can be associated with a Capability.

CapabilityParams.Builder

Builder class for CapabilityParams.

CaptioningManager

Contains methods for accessing and monitoring preferred video captioning state and visual properties.

CaptioningManager.CaptioningChangeListener

Listener for changes in captioning properties, including enabled state and user style preferences.

CaptioningManager.CaptionStyle

Specifies visual properties for video captions, including foreground and background colors, edge properties, and typeface.

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.

CaptureFailure

A report of failed capture for a single image capture from the image sensor.

CaptureRequest

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

CaptureRequest.Builder

A builder for capture requests.

CaptureRequest.Key

A Key is used to do capture request field lookups with CaptureRequest.get or to set fields with CaptureRequest.Builder.set(Key, Object).

CaptureResult

The subset of the results of a single image capture from the image sensor.

CaptureResult.Key

A Key is used to do capture result field lookups with CaptureResult.get.

CardEmulation

This class can be used to query the state of NFC card emulation services.

CardEmulation.NfcEventCallback

Callback interface for NFC-related events.

CarrierConfigManager

Provides access to telephony configuration values that are carrier-specific.

CarrierConfigManager.Apn

Configs used for APN setup.

CarrierConfigManager.Bsf

This groups the BSF (BootStrapping Function) related configs.

CarrierConfigManager.CarrierConfigChangeListener

Listener interface to get a notification when the carrier configurations have changed.

CarrierConfigManager.Gps

GPS configs.

CarrierConfigManager.Ims

Configs used by the IMS stack.

CarrierConfigManager.ImsEmergency

Emergency Call/E911.

CarrierConfigManager.ImsRtt

IMS RTT configs.

CarrierConfigManager.ImsServiceEntitlement

Configs used by ImsServiceEntitlement.

CarrierConfigManager.ImsSms

IMS SMS configs.

CarrierConfigManager.ImsSs

IMS supplementary services configs.

CarrierConfigManager.ImsVoice

IMS Voice configs.

CarrierConfigManager.ImsVt

IMS Video Telephony configs.

CarrierConfigManager.ImsWfc

WiFi Calling.

CarrierConfigManager.Iwlan

Configs used for epdg tunnel bring up.

CarrierIdentifier

Used to pass info to CarrierConfigService implementations so they can decide what values to return.

CarrierMessagingClientService

If the default SMS app has a service that extends this class, the system always tries to bind it so that the process is always running, which allows the app to have a persistent connection to the server.

CarrierMessagingService

A service that receives calls from the system when new SMS and MMS are sent or received.

CarrierMessagingService.ResultCallback

A callback interface used to provide results asynchronously.

CarrierMessagingService.SendMmsResult

The result of sending an MMS.

CarrierMessagingService.SendMultipartSmsResult

The result of sending a multipart SMS.

CarrierMessagingService.SendSmsResult

The result of sending an SMS.

CarrierService

A service that exposes carrier-specific functionality to the system.

CaseMap

Low-level case mapping options and methods.

CaseMap.Fold

Case folding options and methods.

CaseMap.Lower

Lowercasing options and methods.

CaseMap.Title

Titlecasing options and methods.

CaseMap.Upper

Uppercasing options and methods.

CDATASection

CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.

CdmaCellLocation This class was deprecated in API level 31. use CellIdentity.
CellIdentity

CellIdentity represents the identity of a unique cell.

CellIdentityCdma This class was deprecated in API level 36. 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 36. 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.

CellLocation This class was deprecated in API level 31. use CellIdentity.
CellSignalStrength

Abstract base class for cell phone signal strength related information.

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.

Certificate This interface was deprecated in API level 3. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.cert.Certificate and related classes.
Certificate

Abstract class for managing a variety of identity certificates.

Certificate

Abstract class for managing a variety of identity certificates.

Certificate.CertificateRep

Alternate Certificate class for serialization.

CertificateEncodingException

Certificate Encoding Exception.

CertificateEncodingException

Certificate Encoding Exception.

CertificateException

This exception indicates one of a variety of certificate problems.

CertificateException

This exception indicates one of a variety of certificate problems.

CertificateExpiredException

Certificate Expired Exception.

CertificateExpiredException

Certificate Expired Exception.

CertificateFactory

This class defines the functionality of a certificate factory, which is used to generate certificate, certification path () and certificate revocation list (CRL) objects from their encodings.

CertificateFactorySpi

This class defines the Service Provider Interface (SPI) for the CertificateFactory class.

CertificateNotYetValidException

Certificate is not yet valid exception.

CertificateNotYetValidException

Certificate is not yet valid exception.

CertificateParsingException

Certificate Parsing Exception.

CertificateParsingException

Certificate Parsing Exception.

CertificateRevokedException

An exception that indicates an X.

CertPath

An immutable sequence of certificates (a certification path).

CertPath.CertPathRep

Alternate CertPath class for serialization.

CertPathBuilder

A class for building certification paths (also known as certificate chains).

CertPathBuilderException

An exception indicating one of a variety of problems encountered when building a certification path with a CertPathBuilder.

CertPathBuilderResult

A specification of the result of a certification path builder algorithm.

CertPathBuilderSpi

The Service Provider Interface (SPI) for the CertPathBuilder class.

CertPathChecker

Performs one or more checks on each Certificate of a CertPath.

CertPathParameters

A specification of certification path algorithm parameters.

CertPathTrustManagerParameters

A wrapper for CertPathParameters.

CertPathValidator

A class for validating certification paths (also known as certificate chains).

CertPathValidatorException

An exception indicating one of a variety of problems encountered when validating a certification path.

CertPathValidatorException.BasicReason

The BasicReason enumerates the potential reasons that a certification path of any type may be invalid.

CertPathValidatorException.Reason

The reason the validation algorithm failed.

CertPathValidatorResult

A specification of the result of a certification path validator algorithm.

CertPathValidatorSpi

The Service Provider Interface (SPI) for the CertPathValidator class.

CertSelector

A selector that defines a set of criteria for selecting Certificates.

CertStore

A class for retrieving Certificates and CRLs from a repository.

CertStoreException

An exception indicating one of a variety of problems retrieving certificates and CRLs from a CertStore.

CertStoreParameters

A specification of CertStore parameters.

CertStoreSpi

The Service Provider Interface (SPI) for the CertStore class.

CervicalMucusRecord

Captures the description of cervical mucus.

CervicalMucusRecord.Builder

Builder class for CervicalMucusRecord

CervicalMucusRecord.CervicalMucusAppearance

Identifier for Cervical Mucus Appearance

CervicalMucusRecord.CervicalMucusSensation

Identifier for Cervical Mucus Sensation

ChaCha20ParameterSpec

This class specifies the parameters used with the ChaCha20 algorithm.

ChangeBounds

This transition captures the layout bounds of target views before and after the scene change and animates those changes during the transition.

ChangeClipBounds

ChangeClipBounds captures the android.view.View#getClipBounds() before and after the scene change and animates those changes during the transition.

ChangedPackages

Packages that have been changed since the last time they were requested.

ChangeImageTransform

This Transition captures an ImageView's matrix before and after the scene change and animates it during the transition.

ChangeLogsRequest

Request class for HealthConnectManager.getChangeLogs

ChangeLogsRequest.Builder

Builder class for ChangeLogsRequest

ChangeLogsResponse

Response class for HealthConnectManager.getChangeLogs This is the response to clients fetching changes.

ChangeLogsResponse.DeletedLog

A change log holds the Metadata.getId() of a deleted Record.

ChangeLogTokenRequest

A class to request changelog token using HealthConnectManager.getChangeLogToken

ChangeLogTokenRequest.Builder

Builder for ChangeLogTokenRequest

ChangeLogTokenResponse

Response class for HealthConnectManager.getChangeLogToken}

ChangeScroll

This transition captures the scroll properties of targets before and after the scene change and animates any changes.

ChangeTransform

This Transition captures scale and rotation for Views before and after the scene change and animates those changes during the transition.

Channel

Instances of this class represent an ISO/IEC 7816-4 channel opened to a Secure Element.

Channel

A nexus for I/O operations.

Channels

Utility methods for channels and streams.

Character

The Character class wraps a value of the primitive type char in an object.

Character.Subset

Instances of this class represent particular subsets of the Unicode character set.

Character.UnicodeBlock

A family of character subsets representing the character blocks in the Unicode specification.

Character.UnicodeScript

A family of character subsets representing the character scripts defined in the Unicode Standard Annex #24: Script Names.

CharacterCodingException

Checked exception thrown when a character encoding or decoding error occurs.

CharacterData

The CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM.

Characteristics

The characteristics of the Wi-Fi Aware implementation.

CharacterIterator

This interface defines a protocol for bidirectional iteration over text.

CharacterPickerDialog

Dialog for choosing accented characters related to a base character.

CharacterStyle

The classes that affect character-level text formatting extend this class.

CharArrayBuffer

This is used for Cursor.copyStringToBuffer

CharArrayReader

This class implements a character buffer that can be used as a character-input stream.

CharArrayWriter

This class implements a character buffer that can be used as an Writer.

CharBuffer

A char buffer.

CharConversionException

Base class for character conversion exceptions.

CharSequence

A CharSequence is a readable sequence of char values.

CharSequenceTransformation

Replaces a TextView child of a CustomDescription with the contents of one or more regular expressions (regexs).

CharSequenceTransformation.Builder

Builder for CharSequenceTransformation objects.

Charset

A named mapping between sequences of sixteen-bit Unicode code units and sequences of bytes.

CharsetDecoder

An engine that can transform a sequence of bytes in a specific charset into a sequence of sixteen-bit Unicode characters.

CharsetEncoder

An engine that can transform a sequence of sixteen-bit Unicode characters into a sequence of bytes in a specific charset.

CharsetProvider

Charset service-provider class.

Checkable

Defines an extension for views that make them checkable.

CheckBox

A checkbox is a specific type of two-states button that can be either checked or unchecked.

CheckBoxPreference 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.
CheckedInputStream

An input stream that also maintains a checksum of the data being read.

CheckedOutputStream

An output stream that also maintains a checksum of the data being written.

CheckedTextView

An extension to TextView that supports the Checkable interface and displays.

Checksum

A typed checksum.

Checksum

An interface representing a data checksum.

ChildSaProposal

ChildSaProposal represents a proposed configuration to negotiate a Child SA.

ChildSaProposal.Builder

This class is used to incrementally construct a ChildSaProposal.

ChildSessionCallback

Callback interface for receiving state changes of a Child Session.

ChildSessionConfiguration

ChildSessionConfiguration represents the negotiated configuration for a Child Session.

ChildSessionConfiguration.Builder

This class can be used to incrementally construct a ChildSessionConfiguration.

ChildSessionParams

ChildSessionParams is an abstract class that represents proposed configurations for negotiating a Child Session.

ChineseCalendar

ChineseCalendar is a concrete subclass of Calendar that implements a traditional Chinese calendar.

ChoiceFormat

A ChoiceFormat allows you to attach a format to a range of numbers.

ChooserAction

A ChooserAction is an app-defined action that can be provided to the Android Sharesheet to be shown to the user when android.content.Intent#ACTION_CHOOSER is invoked.

ChooserAction.Builder

Builder class for ChooserAction objects

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.
ChooserTargetService 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.
Choreographer

Coordinates the timing of animations, input and drawing.

Choreographer.FrameCallback

Implement this interface to receive a callback when a new display frame is being rendered.

Choreographer.FrameData

The payload for VsyncCallback which includes frame information such as when the frame started being rendered, and multiple possible frame timelines and their information including deadline and expected present time.

Choreographer.FrameTimeline

Holds data that describes one possible VSync frame event to render at.

Choreographer.VsyncCallback

Implement this interface to receive a callback to start the next frame.

ChronoField

A standard set of fields.

ChronoLocalDate

A date without time-of-day or time-zone in an arbitrary chronology, intended for advanced globalization use cases.

ChronoLocalDateTime

A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases.

Chronology

A calendar system, used to organize and identify dates.

Chronometer

Class that implements a simple timer.

Chronometer.OnChronometerTickListener

A callback that notifies when the chronometer has incremented on its own.

ChronoPeriod

A date-based amount of time, such as '3 years, 4 months and 5 days' in an arbitrary chronology, intended for advanced globalization use cases.

ChronoUnit

A standard set of date periods units.

ChronoZonedDateTime

A date-time with a time-zone in an arbitrary chronology, intended for advanced globalization use cases.

Cipher

This class provides the functionality of a cryptographic cipher for encryption and decryption.

CipherInputStream

A CipherInputStream is composed of an InputStream and a Cipher so that read() methods return data that are read in from the underlying InputStream but have been additionally processed by the Cipher.

CipherOutputStream

A CipherOutputStream is composed of an OutputStream and a Cipher so that write() methods first process the data before writing them out to the underlying OutputStream.

CipherSpi

This class defines the Service Provider Interface (SPI) for the Cipher class.

CipherSuiteNotSupportedException

Thrown if trying to use a cipher suite which isn't supported.

CircularPropagation

A propagation that varies with the distance to the epicenter of the Transition or center of the scene if no epicenter exists.

CivicLocationKeys

Civic Address key types used to define address elements.

Class

Instances of the class represent classes and interfaces in a running Java application.

ClassCastException

Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.

ClassCircularityError

Thrown when the Java Virtual Machine detects a circularity in the superclass hierarchy of a class being loaded.

ClassFormatError

Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.

ClassLoader

A class loader is an object that is responsible for loading classes.

ClassNotFoundException

Thrown when an application tries to load in a class through its string name using:

  • The forName method in class Class.
  • The findSystemClass method in class ClassLoader .
  • The loadClass method in class ClassLoader.

ClassValue

Lazily associate a computed value with (potentially) every type.

Cleaner

Cleaner manages a set of object references and corresponding cleaning actions.

Cleaner.Cleanable

Cleanable represents an object and a cleaning action registered in a Cleaner.

ClearCredentialStateException

Represents an error encountered during the CredentialManager.clearCredentialState(ClearCredentialStateRequest, operation.

ClearCredentialStateRequest

A request class for clearing a user's credential state from the credential providers.

ClearCredentialStateRequest

A request class for clearing a user's credential state.

CleartextNetworkViolation

ClickableSpan

If an object of this type is attached to the text of a TextView with a movement method of LinkMovementMethod, the affected spans of text can be selected.

ClientCertRequest

ClientCertRequest: The user receives an instance of this class as a parameter of WebViewClient.onReceivedClientCertRequest.

ClientInfoStatus

Enumeration for status of the reason that a property could not be set via a call to Connection.setClientInfo

ClipboardManager

Interface to the clipboard service, for placing and retrieving text in the global clipboard.

ClipboardManager This class was deprecated in API level 11. Old text-only interface to the clipboard. See android.content.ClipboardManager for the modern API.
ClipboardManager.OnPrimaryClipChangedListener

Defines a listener callback that is invoked when the primary clip on the clipboard changes.

ClipData

Representation of a clipped data on the clipboard.

ClipData.Item

Description of a single item in a ClipData.

ClipData.Item.Builder

A builder for a ClipData Item.

ClipDescription

Meta-data describing the contents of a ClipData.

ClipDrawable

A Drawable that clips another Drawable based on this Drawable's current level value.

Clob

The mapping in the JavaTM programming language for the SQL CLOB type.

Clock

A clock providing access to the current instant, date and time using a time-zone.

Cloneable

A class implements the Cloneable interface to indicate to the java.lang.Object#clone() method that it is legal for that method to make a field-for-field copy of instances of that class.

CloneNotSupportedException

Thrown to indicate that the clone method in class Object has been called to clone an object, but that the object's class does not implement the Cloneable interface.

Closeable

A Closeable is a source or destination of data that can be closed.

ClosedByInterruptException

Checked exception received by a thread when another thread interrupts it while it is blocked in an I/O operation upon a channel.

ClosedChannelException

Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation.

ClosedDirectoryStreamException

Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.

ClosedFileSystemException

Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.

ClosedSelectorException

Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector.

ClosedSubscriberGroupInfo

Information to represent a closed subscriber group.

ClosedWatchServiceException

Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed.

CloseGuard

CloseGuard is a mechanism for flagging implicit finalizer cleanup of resources that should have been cleaned up by explicit close methods (aka "explicit termination methods" in Effective Java).

CloudMediaProvider

Base class for a cloud media provider.

CloudMediaProvider.CloudMediaSurfaceController

Manages rendering the preview of media items on given instances of Surface.

CloudMediaProvider.CloudMediaSurfaceStateChangedCallback

This class is used by CloudMediaProvider to send Surface state updates to picker launched via MediaStore.ACTION_PICK_IMAGES.

CloudMediaProviderContract

Defines the contract between a cloud media provider and the OS.

CloudMediaProviderContract.AlbumColumns

Constants related to an album item, including Cursor column names

CloudMediaProviderContract.Capabilities

Information about what capabilities a CloudMediaProvider can support.

CloudMediaProviderContract.Capabilities.Builder

Builder for a CloudMediaProviderContract.Capabilities object.

CloudMediaProviderContract.MediaCategoryColumns

MediaCategory represents a broader structure that a MediaSetColumns or another MediaCategoryColumns belongs to.

CloudMediaProviderContract.MediaCollectionInfo

Constants related to a media collection

CloudMediaProviderContract.MediaColumns

Constants related to a media item, including Cursor column names

CloudMediaProviderContract.MediaSetColumns

MediaSet represents a cohesive collection of related unique media items, sharing a common meaningful context or theme.

CloudMediaProviderContract.SearchSuggestionColumns

Represents a search suggestion provided by the CloudMediaProvider.

CoderMalfunctionError

Error thrown when the decodeLoop method of a CharsetDecoder, or the encodeLoop method of a CharsetEncoder, throws an unexpected exception.

CoderResult

A description of the result state of a coder.

CodeSigner

This class encapsulates information about a code signer.

CodeSource

Legacy security code; do not use.

CodingErrorAction

A typesafe enumeration for coding-error actions.

CollapsibleActionView

When a View implements this interface it will receive callbacks when expanded or collapsed as an action view alongside the optional, app-specified callbacks to OnActionExpandListener.

CollationElementIterator

CollationElementIterator is an iterator created by a RuleBasedCollator to walk through a string.

CollationElementIterator

The CollationElementIterator class is used as an iterator to walk through each character of an international string.

CollationKey

A CollationKey represents a String under the rules of a specific Collator object.

CollationKey

A CollationKey represents a String under the rules of a specific Collator object.

CollationKey.BoundMode

Options that used in the API CollationKey.

Collator

[icu enhancement] ICU's replacement for java.text.Collator.

Collator

The Collator class performs locale-sensitive String comparison.

Collator.ReorderCodes

Reordering codes for non-script groups that can be reordered under collation.

Collection

The root interface in the collection hierarchy.

CollectionCertStoreParameters

Parameters used as input for the Collection CertStore algorithm.

Collections

This class consists exclusively of static methods that operate on or return collections.

Collector

A mutable reduction operation that accumulates input elements into a mutable result container, optionally transforming the accumulated result into a final representation after all input elements have been processed.

Collector.Characteristics

Characteristics indicating properties of a Collector, which can be used to optimize reduction implementations.

Collectors

Implementations of Collector that implement various useful reduction operations, such as accumulating elements into collections, summarizing elements according to various criteria, etc.

Color

The Color class provides methods for creating, converting and manipulating colors.

ColorDrawable

A specialized Drawable that fills the Canvas with a specified color.

ColorFilter

A color filter can be used with a Paint to modify the color of each pixel drawn with that paint.

ColorMatrix

4x5 matrix for transforming the color and alpha components of a Bitmap.

ColorMatrixColorFilter

A color filter that transforms colors through a 4x5 color matrix.

ColorSpace

A ColorSpace is used to identify a specific organization of colors.

ColorSpace.Adaptation

List of adaptation matrices that can be used for chromatic adaptation using the von Kries transform.

ColorSpace.Connector

A connector transforms colors from a source color space to a destination color space.

ColorSpace.Model

A color model is required by a ColorSpace to describe the way colors can be represented as tuples of numbers.

ColorSpace.Named

List of common, named color spaces.

ColorSpace.RenderIntent

A render intent determines how a connector maps colors from one color space to another.

ColorSpace.Rgb

An RGB color space is an additive color space using the RGB color model (a color is therefore represented by a tuple of 3 numbers).

ColorSpace.Rgb.TransferParameters

Defines the parameters for the ICC parametric curve type 4, as defined in ICC.

ColorSpaceProfiles

Immutable class with information about supported color space profiles.

ColorSpaceTransform

Immutable class for describing a 3x3 matrix of Rational values in row-major order.

ColorStateList

Lets you map android.view.View state sets to colors.

ColorStateListDrawable

A Drawable that manages a ColorDrawable to make it stateful and backed by a ColorStateList.

CombinedVibration

A CombinedVibration describes a combination of haptic effects to be performed by one or more Vibrators.

CombinedVibration.ParallelCombination

A combination of haptic effects that should be played in multiple vibrators in parallel.

CommandAction

A simple ControlAction indicating that the user has interacted with a Control created using a StatelessTemplate.

CommandRequest

A request for command from broadcast signal.

CommandResponse

A response for command from broadcast signal.

Comment

This interface inherits from CharacterData and represents the content of a comment, i.

CommitBlobResponse

The response to provide batch operation results of AppSearchSession.commitBlob.

CommonDataSource

Interface that defines the methods which are common between DataSource, XADataSource and ConnectionPoolDataSource.

CompactDecimalFormat

Formats numbers in compact (abbreviated) notation, like "1.

CompactDecimalFormat.CompactStyle

Style parameter for CompactDecimalFormat.

CompactNotation

A class that defines the scientific notation style to be used when formatting numbers in NumberFormatter.

CompanionDeviceManager

Public interfaces for managing companion devices.

CompanionDeviceManager.Callback

Callback for applications to receive updates about and the outcome of AssociationRequest issued via associate() call.

CompanionDeviceService

A service that receives calls from the system with device events.

CompanionException

CompanionException can be thrown during the companion system data transfer process.

Comparable

This interface imposes a total ordering on the objects of each class that implements it.

Comparator

A comparison function, which imposes a total ordering on some collection of objects.

ComparisonFailure This exception was deprecated in API level 16. use org.junit.ComparisonFailure
Compiler

Does nothing on Android.

CompletableFuture

A Future that may be explicitly completed (setting its value and status), and may be used as a CompletionStage, supporting dependent functions and actions that trigger upon its completion.

CompletableFuture.AsynchronousCompletionTask

A marker interface identifying asynchronous tasks produced by async methods.

CompletionException

Exception thrown when an error or other exception is encountered in the course of completing a result or task.

CompletionHandler

A handler for consuming the result of an asynchronous I/O operation.

CompletionInfo

Information about a single text completion that an editor has reported to an input method.

CompletionService

A service that decouples the production of new asynchronous tasks from the consumption of the results of completed tasks.

CompletionStage

A stage of a possibly asynchronous computation, that performs an action or computes a value when another CompletionStage completes.

ComponentAdData

Represents data specific to a component ad that is necessary for ad selection and rendering.

ComponentCallbacks

The set of callback APIs that are common to all application components (android.app.Activity, android.app.Service, ContentProvider, and android.app.Application).

ComponentCallbacks2

Extended ComponentCallbacks interface with a new callback for finer-grained memory management.

ComponentCaller

Represents the app that launched the component.

ComponentInfo

Base class containing information common to all application components (ActivityInfo, ServiceInfo).

ComponentName

Identifier for a specific application component (android.app.Activity, android.app.Service, android.content.BroadcastReceiver, or android.content.ContentProvider) that is available.

ComposePathEffect

ComposeShader

A subclass of shader that returns the composition of two other shaders, combined by an android.graphics.Xfermode subclass.

CompoundButton

A button with two states, checked and unchecked.

CompoundButton.OnCheckedChangeListener

Interface definition for a callback to be invoked when the checked state of a compound button changed.

ConcurrentHashMap

A hash table supporting full concurrency of retrievals and high expected concurrency for updates.

ConcurrentHashMap.KeySetView

A view of a ConcurrentHashMap as a Set of keys, in which additions may optionally be enabled by mapping to a common value.

ConcurrentLinkedDeque

An unbounded concurrent deque based on linked nodes.

ConcurrentLinkedQueue

An unbounded thread-safe queue based on linked nodes.

ConcurrentMap

A Map providing thread safety and atomicity guarantees.

ConcurrentModificationException

This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.

ConcurrentNavigableMap

A ConcurrentMap supporting NavigableMap operations, and recursively so for its navigable sub-maps.

ConcurrentSkipListMap

A scalable concurrent ConcurrentNavigableMap implementation.

ConcurrentSkipListSet

A scalable concurrent NavigableSet implementation based on a ConcurrentSkipListMap.

Condition

The current condition of an android.app.AutomaticZenRule, provided by the app that owns the rule.

Condition

Condition factors out the Object monitor methods (wait, notify and notifyAll) into distinct objects to give the effect of having multiple wait-sets per object, by combining them with the use of arbitrary Lock implementations.

ConditionProviderService This class was deprecated in API level 29. Instead of using an automatically bound service, use android.app.NotificationManager#setAutomaticZenRuleState(String, Condition) to tell the system about the state of your rule. In order to maintain a link from Settings to your rule configuration screens, provide a configuration activity that handles android.app.NotificationManager#ACTION_AUTOMATIC_ZEN_RULE on your android.app.AutomaticZenRule via android.app.AutomaticZenRule#setConfigurationActivity(ComponentName).
ConditionVariable

Class that implements the condition variable locking paradigm.

Conference

Represents a conference call which can contain any number of Connection objects.

Conferenceable

Interface used to identify entities with which another entity can participate in a conference call with.

Config This class was deprecated in API level 14. This class is not useful, it just returns the same value for all constants, and has always done this. Do not use it.
ConfigParser

Utility class for building PasspointConfiguration from an installation file.

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 android.content.res.Configuration for a specific time range.

ConfirmationAlreadyPresentingException

This exception is thrown when presenting a prompt fails because another prompt is already being presented.

ConfirmationCallback

Callback class used when signaling that a prompt is no longer being presented.

ConfirmationNotAvailableException

This exception is thrown when presenting a prompt fails because the environment lacks facilities for showing confirmations.

ConfirmationPrompt

Class used for displaying confirmation prompts.

ConfirmationPrompt.Builder

A builder that collects arguments, to be shown on the system-provided confirmation prompt.

ConnectEvent

A class that represents a TCP connect event initiated through the standard network stack.

ConnectException

Signals that an error occurred while attempting to connect a socket to a remote address and port.

Connection

Represents a phone call or connection to a remote endpoint that carries voice and/or video traffic.

Connection

A connection (session) with a specific database.

Connection.RttModifyStatus

Provides constants to represent the results of responses to session modify requests sent via Call.sendRttRequest()

Connection.RttTextStream

Provides methods to read and write RTT data to/from the in-call app.

Connection.VideoProvider

Provides a means of controlling the video session associated with a Connection.

ConnectionEvent

An Event object that provides information about the source of a connection-related event.

ConnectionEventListener

An object that registers to be notified of events generated by a PooledConnection object.

ConnectionlessHandwritingCallback

Interface to receive the result of starting a connectionless stylus handwriting session using one of InputMethodManager.startConnectionlessStylusHandwriting(View, CursorAnchorInfo,, android.view.inputmethod.InputMethodManager#startConnectionlessStylusHandwritingForDelegation(android.view.View,android.view.inputmethod.CursorAnchorInfo,java.util.concurrent.Executor,android.view.inputmethod.ConnectionlessHandwritingCallback), or android.view.inputmethod.InputMethodManager#startConnectionlessStylusHandwritingForDelegation(android.view.View,android.view.inputmethod.CursorAnchorInfo,java.lang.String,java.util.concurrent.Executor,android.view.inputmethod.ConnectionlessHandwritingCallback).

ConnectionMigrationOptions

A class configuring the HTTP connection migration functionality.

ConnectionMigrationOptions.Builder

Builder for ConnectionMigrationOptions.

ConnectionPendingException

Unchecked exception thrown when an attempt is made to connect a SocketChannel for which a non-blocking connection operation is already in progress.

ConnectionPoolDataSource

A factory for PooledConnection objects.

ConnectionRequest

Simple data container encapsulating a request to some entity to create a new Connection.

ConnectionService

An abstract service that should be implemented by any apps which either:

  1. Can make phone calls (VoIP or otherwise) and want those calls to be integrated into the built-in phone app. Referred to as a system managed ConnectionService.
  2. Are a standalone calling app and don't want their calls to be integrated into the built-in phone app. Referred to as a self managed ConnectionService.
Once implemented, the needs to take the following steps so that Telecom will bind to it:

ConnectivityDiagnosticsManager

Class that provides utilities for collecting network connectivity diagnostics information.

ConnectivityDiagnosticsManager.ConnectivityDiagnosticsCallback

Abstract base class for Connectivity Diagnostics callbacks.

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

ConnectivityManager

Class that answers queries about the state of network connectivity.

ConnectivityManager.NetworkCallback

Base class for NetworkRequest callbacks.

ConnectivityManager.OnNetworkActiveListener

Callback for use with ConnectivityManager.addDefaultNetworkActiveListener to find out when the system default network has gone in to a high power state.

ConnectTimeoutException This exception was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
Console

Methods to access the character-based console device, if any, associated with the current Java virtual machine.

ConsoleHandler

This Handler publishes log records to System.err.

ConsoleMessage

Public class representing a JavaScript console message from WebCore.

ConsoleMessage.MessageLevel

ConstantCallSite

A ConstantCallSite is a CallSite whose target is permanent, and can never be changed.

ConstrainedFieldPosition

Represents a span of a string containing a given field.

Constructor

Constructor provides information about, and access to, a single constructor for a class.

Consumer

Represents an operation that accepts a single input argument and returns no result.

ConsumerIrManager

Class that operates consumer infrared on the device.

ConsumerIrManager.CarrierFrequencyRange

Represents a range of carrier frequencies (inclusive) on which the infrared transmitter can transmit

Contacts This class was deprecated in API level 5. The APIs have been superseded by ContactsContract. The newer APIs allow access multiple accounts and support aggregation of similar contacts. These APIs continue to work but will only return data for the first Google account created, which matches the original behavior.
Contacts.ContactMethods This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.ContactMethodsColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Extensions This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.ExtensionsColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
Contacts.GroupMembership This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Groups This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.GroupsColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Intents This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Intents.Insert This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Intents.UI This class was deprecated in API level 5. Do not use. This is not supported.
Contacts.OrganizationColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Organizations This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.People This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.People.ContactMethods This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.People.Extensions This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.People.Phones This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.PeopleColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Phones This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.PhonesColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Photos This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.PhotosColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
Contacts.PresenceColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
Contacts.Settings This class was deprecated in API level 5. see android.provider.ContactsContract
Contacts.SettingsColumns This interface was deprecated in API level 5. see android.provider.ContactsContract
ContactsContract

The contract between the contacts provider and applications.

ContactsContract.AggregationExceptions

Constants for the contact aggregation exceptions table, which contains aggregation rules overriding those used by automatic aggregation.

ContactsContract.BaseSyncColumns

Generic columns for use by sync adapters.

ContactsContract.CommonDataKinds

Container for definitions of common data types stored in the ContactsContract.Data table.

ContactsContract.CommonDataKinds.BaseTypes

The base types that all "Typed" data kinds support.

ContactsContract.CommonDataKinds.Callable

Convenient functionalities for "callable" data.

ContactsContract.CommonDataKinds.CommonColumns

Columns common across the specific types.

ContactsContract.CommonDataKinds.Contactables

A special class of data items, used to refer to types of data that can be used to attempt to start communicating with a person (Phone and Email).

ContactsContract.CommonDataKinds.Email

A data kind representing an email address.

ContactsContract.CommonDataKinds.Event

A data kind representing an event.

ContactsContract.CommonDataKinds.GroupMembership

Group Membership.

ContactsContract.CommonDataKinds.Identity

A data kind representing an Identity related to the contact.

ContactsContract.CommonDataKinds.Im This class was deprecated in API level 35. This field may not be well supported by some contacts apps and is discouraged to use.
ContactsContract.CommonDataKinds.Nickname

A data kind representing the contact's nickname.

ContactsContract.CommonDataKinds.Note

Notes about the contact.

ContactsContract.CommonDataKinds.Organization

A data kind representing an organization.

ContactsContract.CommonDataKinds.Phone

A data kind representing a telephone number.

ContactsContract.CommonDataKinds.Photo

A data kind representing a photo for the contact.

ContactsContract.CommonDataKinds.Relation

A data kind representing a relation.

ContactsContract.CommonDataKinds.SipAddress This class was deprecated in API level 35. This field may not be well supported by some contacts apps and is discouraged to use.
ContactsContract.CommonDataKinds.StructuredName

A data kind representing the contact's proper name.

ContactsContract.CommonDataKinds.StructuredPostal

A data kind representing a postal addresses.

ContactsContract.CommonDataKinds.Website

A data kind representing a website related to the contact.

ContactsContract.ContactNameColumns

Contact name and contact name metadata columns in the RawContacts table.

ContactsContract.ContactOptionsColumns

Columns of ContactsContract.Contacts that track the user's preferences for, or interactions with, the contact.

ContactsContract.Contacts

Constants for the contacts table, which contains a record per aggregate of raw contacts representing the same person.

ContactsContract.Contacts.AggregationSuggestions

A read-only sub-directory of a single contact aggregate that contains all aggregation suggestions (other contacts).

ContactsContract.Contacts.AggregationSuggestions.Builder

A convenience builder for aggregation suggestion content URIs.

ContactsContract.Contacts.Data

A sub-directory of a single contact that contains all of the constituent raw contact ContactsContract.Data rows.

ContactsContract.Contacts.Entity

A sub-directory of a contact that contains all of its ContactsContract.RawContacts as well as ContactsContract.Data rows.

ContactsContract.Contacts.Photo

A read-only sub-directory of a single contact that contains the contact's primary photo.

ContactsContract.ContactsColumns

Columns of ContactsContract.Contacts that refer to intrinsic properties of the contact, as opposed to the user-specified options found in ContactOptionsColumns.

ContactsContract.ContactStatusColumns

ContactsContract.Data

Constants for the data table, which contains data points tied to a raw contact.

ContactsContract.DataColumns

Columns in the Data table.

ContactsContract.DataColumnsWithJoins

Combines all columns returned by ContactsContract.Data table queries.

ContactsContract.DataUsageFeedback This class was deprecated in API level 29. Contacts affinity information is no longer supported as of Android version android.os.Build.VERSION_CODES#Q. Both update and delete calls are always ignored.
ContactsContract.DataUsageStatColumns

Columns in the Data_Usage_Stat table

ContactsContract.DeletedContacts

Constants for the deleted contact table.

ContactsContract.DeletedContactsColumns

ContactsContract.Directory

A Directory represents a contacts corpus, e.

ContactsContract.DisplayNameSources

Types of data used to produce the display name for a contact.

ContactsContract.DisplayPhoto

Helper class for accessing full-size photos by photo file ID.

ContactsContract.FullNameStyle

Constants for various styles of combining given name, family name etc into a full name.

ContactsContract.Groups

Constants for the groups table.

ContactsContract.GroupsColumns

ContactsContract.Intents

Contains helper classes used to create or manage Intents that involve contacts.

ContactsContract.Intents.Insert

Convenience class that contains string constants used to create contact Intents.

ContactsContract.PhoneLookup

A table that represents the result of looking up a phone number, for example for caller ID.

ContactsContract.PhoneLookupColumns

ContactsContract.PhoneticNameStyle

Constants for various styles of capturing the pronunciation of a person's name.

ContactsContract.PinnedPositions

Contact-specific information about whether or not a contact has been pinned by the user at a particular position within the system contact application's user interface.

ContactsContract.Presence This class was deprecated in API level 5. This old name was never meant to be made public. Do not use.
ContactsContract.PresenceColumns

Additional data mixed in with StatusColumns to link back to specific ContactsContract.Data._ID entries.

ContactsContract.Profile

Constants for the user's profile data, which is represented as a single contact on the device that represents the user.

ContactsContract.ProfileSyncState

A table provided for sync adapters to use for storing private sync state data for the user's personal profile.

ContactsContract.ProviderStatus

API for inquiring about the general status of the provider.

ContactsContract.QuickContact

Helper methods to display QuickContact dialogs that display all the information belonging to a specific Contacts entry.

ContactsContract.RawContacts

Constants for the raw contacts table, which contains one row of contact information for each person in each synced account.

ContactsContract.RawContacts.Data

A sub-directory of a single raw contact that contains all of its ContactsContract.Data rows.

ContactsContract.RawContacts.DefaultAccount

Class containing utility methods around the default account.

ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState

Represents the state of the default account, and the actual Account if it's a cloud account.

ContactsContract.RawContacts.DisplayPhoto

A sub-directory of a single raw contact that represents its primary display photo.

ContactsContract.RawContacts.Entity

A sub-directory of a single raw contact that contains all of its ContactsContract.Data rows.

ContactsContract.RawContactsColumns

ContactsContract.RawContactsEntity

Constants for the raw contacts entities table, which can be thought of as an outer join of the raw_contacts table with the data table.

ContactsContract.SearchSnippets

Additional column returned by Contacts.CONTENT_FILTER_URI explaining why the filter matched the contact.

ContactsContract.Settings

Contacts-specific settings for various Account's.

ContactsContract.SettingsColumns

ContactsContract.SimAccount

A parcelable class encapsulating account data for contacts that originate from a SIM card.

ContactsContract.SimContacts

Class containing utility methods around determine what accounts in the ContactsProvider are related to the SIM cards in the device.

ContactsContract.StatusColumns

Social status update columns.

ContactsContract.StatusUpdates

A status update is linked to a ContactsContract.Data row and captures the user's latest status update via the corresponding source, e.

ContactsContract.SyncColumns

Columns that appear when each row of a table belongs to a specific account, including sync information that an account may need.

ContactsContract.SyncState

A table provided for sync adapters to use for storing private sync state data for contacts.

ContentCaptureCondition

Defines a condition for when content capture should be allowed.

ContentCaptureContext

Context associated with a ContentCaptureSession - see ContentCaptureManager for more info.

ContentCaptureContext.Builder

Builder for ContentCaptureContext objects.

ContentCaptureManager

Provides additional ways for apps to integrate with the content capture subsystem.

ContentCaptureSession

Session used when notifying the Android system about events associated with views.

ContentCaptureSessionId

Identifier for a Content Capture session.

ContentHandler

The abstract class ContentHandler is the superclass of all classes that read an Object from a URLConnection.

ContentHandler

Receive notification of the logical content of a document.

ContentHandlerFactory

This interface defines a factory for content handlers.

ContentInfo

Holds all the relevant data for a request to View.performReceiveContent.

ContentInfo.Builder

Builder for ContentInfo.

ContentObservable

A specialization of Observable for ContentObserver that provides methods for sending notifications to a list of ContentObserver objects.

ContentObserver

Receives call backs for changes to content.

ContentProvider

Content providers are one of the primary building blocks of Android applications, providing content to applications.

ContentProvider.CallingIdentity

Opaque token representing the identity of an incoming IPC.

ContentProvider.PipeDataWriter

Interface to write a stream of data to a pipe.

ContentProviderClient

The public interface object used to interact with a specific ContentProvider.

ContentProviderOperation

Represents a single operation to be performed as part of a batch of operations.

ContentProviderOperation.Builder

Used to add parameters to a ContentProviderOperation.

ContentProviderResult

Contains the result of the application of a ContentProviderOperation.

ContentQueryMap

Caches the contents of a cursor into a Map of String->ContentValues and optionally keeps the cache fresh by registering for updates on the content backing the cursor.

ContentResolver

This class provides applications access to the content model.

ContentResolver.MimeTypeInfo

Detailed description of a specific MIME type, including an icon and label that describe the type.

ContentUris

Utility methods useful for working with android.net.Uri objects that use the "content" (content://) scheme.

ContentUriWithoutPermissionViolation

ContentValues

This class is used to store a set of values that the ContentResolver can process.

Context

Interface to global information about an application environment.

Context.BindServiceFlags

Specific flags used for bindService() call, which encapsulates a 64 bits long integer.

ContextMenu

Extension of Menu for context menus providing functionality to modify the header of the context menu.

ContextMenu.ContextMenuInfo

Additional information regarding the creation of the context menu.

ContextParams

This class represents rules around how a context being created via Context.createContext should behave.

ContextParams.Builder

Builder for creating a ContextParams.

ContextThemeWrapper

A context wrapper that allows you to modify or replace the theme of the wrapped context.

ContextWrapper

Proxying implementation of Context that simply delegates all of its calls to another Context.

Control

Represents a physical object that can be represented by a ControlTemplate and whose properties may be modified through a ControlAction.

Control.StatefulBuilder

Builder class for Control that contains state information.

Control.StatelessBuilder

Builder class for Control.

ControlAction

An abstract action indicating a user interaction with a Control.

ControlButton

Button element for ControlTemplate.

ControlsProviderService

Service implementation allowing applications to contribute controls to the System UI.

ControlTemplate

An abstract input template for a Control.

ConversationAction

Represents the action suggested by a TextClassifier on a given conversation.

ConversationAction.Builder

Builder class to construct ConversationAction.

ConversationActions

Represents a list of actions suggested by a TextClassifier on a given conversation.

ConversationActions.Message

Represents a message in the conversation.

ConversationActions.Message.Builder

Builder class to construct a Message

ConversationActions.Request

A request object for generating conversation action suggestions.

ConversationActions.Request.Builder

Builder object to construct the Request object.

ConversationStatus

ConversationStatus.Builder

CookieHandler

A CookieHandler object provides a callback mechanism to hook up a HTTP state management policy implementation into the HTTP protocol handler.

CookieManager

Manages the cookies used by an application's WebView instances.

CookieManager

CookieManager provides a concrete implementation of CookieHandler, which separates the storage of cookies from the policy surrounding accepting and rejecting cookies.

CookiePolicy

CookiePolicy implementations decide which cookies should be accepted and which should be rejected.

CookieStore

A CookieStore object represents a storage for cookie.

CookieSyncManager This class was deprecated in API level 21. The WebView now automatically syncs cookies as necessary. You no longer need to create or use the CookieSyncManager. To manually force a sync you can use the CookieManager method CookieManager.flush which is a synchronous replacement for sync.
CopticCalendar

Implement the Coptic calendar system.

CopyOnWriteArrayList

A thread-safe variant of java.util.ArrayList in which all mutative operations (add, set, and so on) are implemented by making a fresh copy of the underlying array.

CopyOnWriteArraySet

A Set that uses an internal CopyOnWriteArrayList for all of its operations.

CopyOption

An object that configures how to copy or move a file.

CoreConnectionPNames This interface was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
CornerPathEffect

CorrectionInfo

Information about a single text correction that an editor has reported to an input method.

CountDownLatch

A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes.

CountDownTimer

Schedule a countdown until a time in the future, with regular notifications on intervals along the way.

CountedCompleter

A ForkJoinTask with a completion action performed when triggered and there are no remaining pending actions.

CpuHeadroomParams

Headroom request params used by SystemHealthManager.getCpuHeadroom(CpuHeadroomParams).

CpuHeadroomParams.Builder

CpuUsageInfo

CPU usage information per core.

CRC32

A class that can be used to compute the CRC-32 of a data stream.

CRC32C

A class that can be used to compute the CRC-32C of a data stream.

CreateCredentialException

Represents an error encountered during the CredentialManager.createCredential(Context, CreateCredentialRequest, operation.

CreateCredentialRequest

A request to register a specific type of user credential, potentially launching UI flows to collect user consent and any other operation needed.

CreateCredentialRequest

Request for creating a credential.

CreateCredentialRequest.Builder

A builder for CreateCredentialRequest.

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.

CreateMedicalDataSourceRequest.Builder

Builder class for CreateMedicalDataSourceRequest.

Credential

Represents a user credential that can be used to authenticate to your app.

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.

CredentialDataRequest

An object representing a request for credential data.

CredentialDataRequest.Builder

A builder for CredentialDataRequest.

CredentialDataResult

An object that contains the result of retrieving data from a credential.

CredentialDataResult.Entries

A class for representing data elements returned.

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.

CredentialManager

Manages user authentication flows.

CredentialOption

Information about a specific type of credential to be requested during a android.

CredentialOption.Builder

A builder for CredentialOption.

CredentialProtectedWhileLockedViolation

Subclass of Violation that is used when a process accesses filesystem paths stored in credential protected storage areas while the user is locked.

CredentialProviderService

Service to be extended by credential providers, in order to return user credentials to the framework.

Credentials

A class for representing UNIX credentials passed via ancillary data on UNIX domain sockets.

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.
CriticalNative

An ART runtime built-in optimization for native methods to speed up JNI transitions: Methods that are annotated with @CriticalNative use the fastest available JNI transitions from managed code to the native code and back.

CRL

This class is an abstraction of certificate revocation lists (CRLs) that have different formats but important common uses.

CRLException

CRL (Certificate Revocation List) Exception.

CRLReason

The CRLReason enumeration specifies the reason that a certificate is revoked, as defined in RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile.

CRLSelector

A selector that defines a set of criteria for selecting CRLs.

CrossProcessCursor

A cross process cursor is an extension of a Cursor that also supports usage from remote processes.

CrossProcessCursorWrapper

Cursor wrapper that implements CrossProcessCursor.

CrossProfileApps

Class for handling cross profile operations.

CryptoPrimitive

An enumeration of cryptographic primitives.

Currency

A class encapsulating a currency, as defined by ISO 4217.

Currency

Represents a currency.

Currency.CurrencyUsage

Currency Usage used for Decimal Format

CurrencyAmount

An amount of currency, consisting of a Number and a Currency.

CurrencyPluralInfo

This class represents the information needed by DecimalFormat to format currency plural, such as "3.

CurrencyPrecision

A class that defines a rounding strategy parameterized by a currency to be used when formatting numbers in NumberFormatter.

Cursor

This interface provides random read-write access to the result set returned by a database query.

CursorAdapter

Adapter that exposes data from a Cursor to a ListView widget.

CursorAnchorInfo

Positional information about the text insertion point and characters in the composition string.

CursorAnchorInfo.Builder

Builder for CursorAnchorInfo.

CursorIndexOutOfBoundsException

An exception indicating that a cursor is out of bounds.

CursorJoiner

Does a join on two cursors using the specified columns.

CursorJoiner.Result

The result of a call to next().

CursorLoader This class was deprecated in API level 28. Use the Support Library androidx.loader.content.CursorLoader
CursorTreeAdapter

An adapter that exposes data from a series of Cursors to an ExpandableListView widget.

CursorWindow

A buffer containing multiple cursor rows.

CursorWindowAllocationException

This exception is thrown when a CursorWindow couldn't be allocated, most probably due to memory not being available.

CursorWrapper

Wrapper class for Cursor that delegates all calls to the actual cursor object.

CustomAudience

Represents the information necessary for a custom audience to participate in ad selection.

CustomAudience.Builder

Builder for CustomAudience objects.

CustomAudienceManager

CustomAudienceManager provides APIs for app and ad-SDKs to join / leave custom audiences.

CustomDescription

Defines a custom description for the autofill save UI.

CustomDescription.Builder

Builder for CustomDescription objects.

CustomPrinterIconCallback

Callback for PrinterDiscoverySession.onRequestCustomPrinterIcon.

CustomViolation

CycleInterpolator

Repeats the animation for a specified number of cycles.

CyclicBarrier

A synchronization aid that allows a set of threads to all wait for each other to reach a common barrier point.

CyclingPedalingCadenceRecord

Captures the user's cycling pedaling cadence.

CyclingPedalingCadenceRecord.Builder

Builder class for CyclingPedalingCadenceRecord

CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample

Represents a single measurement of the cycling pedaling cadence.

D

DashPathEffect

DatabaseErrorHandler

An interface to let apps define an action to take when database corruption is detected.

DatabaseMetaData

Comprehensive information about the database as a whole.

DatabaseUtils

Static utility methods for dealing with databases and Cursors.

DatabaseUtils.InsertHelper This class was deprecated in API level 17. Use SQLiteStatement instead.
DataFailCause

DataFailCause collects data connection failure causes code from different sources.

DataFormatException

Signals that a data format error has occurred.

DatagramChannel

A selectable channel for datagram-oriented sockets.

DatagramPacket

This class represents a datagram packet.

DatagramSocket

This class represents a socket for sending and receiving datagram packets.

DatagramSocketImpl

Abstract datagram and multicast socket implementation base class.

DatagramSocketImplFactory

This interface defines a factory for datagram socket implementations.

DataInput

The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.

DataInputStream

A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.

DataNotificationConfig

Represents the configuration for data notifications in ranging operations.

DataNotificationConfig.Builder

Builder for DataNotificationConfig

DataOrigin

Specifies the contributing source/application of any Record

DataOrigin.Builder

DataOutput

The DataOutput interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream.

DataOutputStream

A data output stream lets an application write primitive Java data types to an output stream in a portable way.

DataRemovalRequest

Class used by apps to request the content capture service to remove data associated with LocusIds.

DataRemovalRequest.Builder

Builder for DataRemovalRequest objects.

DataRemovalRequest.LocusIdRequest

Representation of a request to remove data associated with a LocusId.

Dataset

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

Dataset.Builder

A builder for Dataset objects.

DataSetObservable

A specialization of Observable for DataSetObserver that provides methods for sending notifications to a list of DataSetObserver objects.

DataSetObserver

Receives call backs when a data set has been changed, or made invalid.

DataShareRequest

Container class representing a request to share data with Content Capture service.

DataShareWriteAdapter

Adapter class used by apps to share data with the Content Capture service.

DataSource

A factory for connections to the physical data source that this DataSource object represents.

DataSpace

DataSpace identifies three components of colors - standard (primaries), transfer and range.

DataTruncation

An exception thrown as a DataTruncation exception (on writes) or reported as a DataTruncation warning (on reads) when a data values is unexpectedly truncated for reasons other than its having execeeded MaxFieldSize.

DatatypeConfigurationException

Indicates a serious configuration error.

DatatypeConstants

Utility class to contain basic Datatype values as constants.

DatatypeConstants.Field

Type-safe enum class that represents six fields of the Duration class.

DatatypeFactory

Factory that creates new javax.xml.datatype Objects that map XML to/from Java Objects.

Date

A thin wrapper around a millisecond value that allows JDBC to identify this as an SQL DATE value.

Date

The class Date represents a specific instant in time, with millisecond precision.

DateFormat

[icu enhancement] ICU's replacement for java.text.DateFormat.

DateFormat

Utility class for producing strings with formatted date/time.

DateFormat

DateFormat is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner.

DateFormat.BooleanAttribute

boolean attributes

DateFormat.Field

The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that DateFormat.

DateFormat.Field

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from DateFormat.formatToCharacterIterator and as field identifiers in FieldPosition.

DateFormat.HourCycle

Hour Cycle

DateFormatSymbols

[icu enhancement] ICU's replacement for java.text.DateFormatSymbols.

DateFormatSymbols

DateFormatSymbols is a public class for encapsulating localizable date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data.

DateInterval

This class represents date interval.

DateIntervalFormat

DateIntervalFormat is a class for formatting and parsing date intervals in a language-independent manner.

DateIntervalFormat.FormattedDateInterval

An immutable class containing the result of a date interval formatting operation.

DateIntervalInfo

DateIntervalInfo is a public class for encapsulating localizable date time interval patterns.

DateIntervalInfo.PatternInfo

PatternInfo class saves the first and second part of interval pattern, and whether the interval pattern is earlier date first.

DateKeyListener

For entering dates in a text field.

DatePicker

Provides a widget for selecting a date.

DatePicker.OnDateChangedListener

The callback used to indicate the user changed the date.

DatePickerDialog

A simple dialog containing an android.widget.DatePicker.

DatePickerDialog.OnDateSetListener

The listener used to indicate the user has finished selecting a date.

DateSorter

Sorts dates into the following groups: Today Yesterday seven days ago one month ago older than a month ago

DateTimeException

Exception used to indicate a problem while calculating a date-time.

DateTimeFormatter

Formatter for printing and parsing date-time objects.

DateTimeFormatterBuilder

Builder to create date-time formatters.

DateTimeKeyListener

For entering dates and times in the same text field.

DateTimeParseException

An exception thrown when an error occurs during parsing.

DateTimePatternGenerator

This class provides flexible generation of date format patterns, like "yy-MM-dd".

DateTimePatternGenerator.DisplayWidth

Field display name width constants for getFieldDisplayName

DateTimePatternGenerator.PatternInfo

PatternInfo supplies output parameters for addPattern(...).

DateTransformation

Replaces a TextView child of a CustomDescription with the contents of a field that is expected to have a date value.

DateUtils

This class contains various date-related utilities for creating text for things like elapsed time and date ranges, strings for days of the week and months, and AM/PM text etc.

DateValueSanitizer

Sanitizes a date AutofillValue using a DateFormat.

DayOfWeek

A day-of-week, such as 'Tuesday'.

DeadObjectException

The object you are calling has died, because its hosting process no longer exists, or there has been a low-level binder error.

DeadSystemException

The core Android system has died and is going through a runtime restart.

Debug

Provides various debugging methods for Android applications, including tracing and allocation counts.

Debug.InstructionCount This class was deprecated in API level 23. Instruction counting is no longer supported.
Debug.MemoryInfo

This class is used to retrieved various statistics about the memory mappings for this process.

DebugUtils

Various utilities for debugging and logging.

DecelerateInterpolator

An interpolator where the rate of change starts out quickly and and then decelerates.

DecimalFormat

[icu enhancement] ICU's replacement for java.text.DecimalFormat.

DecimalFormat

is a concrete subclass of NumberFormat that formats decimal numbers.

DecimalFormatSymbols

[icu enhancement] ICU's replacement for java.text.DecimalFormatSymbols.

DecimalFormatSymbols

This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed by DecimalFormat to format numbers.

DecimalStyle

Localized decimal style used in date and time formatting.

DecisionLogic

Generic Decision logic that could be provided by the buyer or seller.

DeclHandler

SAX2 extension handler for DTD declaration events.

DefaultDatabaseErrorHandler

Default class used to define the action to take when database corruption is reported by sqlite.

DefaultHandler

Default base class for SAX2 event handlers.

DefaultHandler2

This class extends the SAX2 base handler class to support the SAX2 LexicalHandler, DeclHandler, and EntityResolver2 extensions.

Deflater

This class provides support for general purpose compression using the popular ZLIB compression library.

DeflaterInputStream

Implements an input stream filter for compressing data in the "deflate" compression format.

DeflaterOutputStream

This class implements an output stream filter for compressing data in the "deflate" compression format.

Delayed

A mix-in style interface for marking objects that should be acted upon after a given delay.

DelayQueue

An unbounded blocking queue of Delayed elements, in which an element generally becomes eligible for removal when its delay has expired.

DelegatedAdminReceiver

Base class for delegated apps to handle callbacks related to their delegated capabilities.

DelegateLastClassLoader

A ClassLoader implementation that implements a delegate last lookup policy.

DeleteGesture

A sub-class of HandwritingGesture for deleting an area of text using single rectangle.

DeleteGesture.Builder

Builder for DeleteGesture.

DeleteMedicalResourcesRequest

A delete request for android.

DeleteMedicalResourcesRequest.Builder

Builder class for DeleteMedicalResourcesRequest.

DeleteRangeGesture

A subclass of HandwritingGesture for deleting a range of text by defining start and end rectangles.

DeleteRangeGesture.Builder

Builder for DeleteRangeGesture.

DeletionRequest

Deletion Request.

DeletionRequest.Builder

Builder for DeletionRequest objects.

DeniedByServerException

Exception thrown when the provisioning server or key server denies a certficate or license for a device.

Deprecated

A program element annotated @Deprecated is one that programmers are discouraged from using.

Deque

A linear collection that supports element insertion and removal at both ends.

DESedeKeySpec

This class specifies a DES-EDE ("triple-DES") key.

DESKeySpec

This class specifies a DES key.

Destroyable

Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.

DestroyFailedException

Signals that a destroy operation failed.

Device

A physical device (such as phone, watch, scale, or chest strap) which captured associated health data point.

Device.Builder

DeviceAdminInfo

This class is used to specify meta information of a device administrator component.

DeviceAdminReceiver

Base class for implementing a device administration component.

DeviceAdminService

Base class for a service that device owner/profile owners can optionally have.

DeviceFilter

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.

DeviceHandle.Builder

Builder class for creating instances of DeviceHandle.

DeviceId

A device id represents a device identifier managed by the companion app.

DeviceId

The response returned from DeviceLockManager.getDeviceId on success.

DeviceId.Builder

A builder for DeviceId

DeviceLockManager

Manager used to interact with the system device lock service.

DeviceNotAssociatedException

An exception for a case when a given device was not android.

DevicePolicyIdentifiers

Class containing identifiers for policy APIs in DevicePolicyManager, for example they will be passed in PolicyUpdateReceiver.onPolicySetResult and PolicyUpdateReceiver.onPolicyChanged to communicate updates of a certain policy back to the admin.

DevicePolicyManager

Manages device policy and restrictions applied to the user of the device or apps running on the device.

DevicePolicyManager.InstallSystemUpdateCallback

Callback used in installSystemUpdate to indicate that there was an error while trying to install an update.

DevicePolicyManager.OnClearApplicationUserDataListener

Callback used in clearApplicationUserData to indicate that the clearing of an application's user data is done.

DevicePolicyResources

Class containing the required identifiers to update device management resources.

DevicePolicyResourcesManager

Class containing required APIs to set, reset, and get device policy related resources.

DevicePresenceEvent

Event for observing device presence.

DeviceProductInfo

Product-specific information about the display or the directly connected device on the display chain.

DeviceStateSensorOrientationMap

Immutable class that maps the device fold state to sensor orientation.

DeviceStateSensorOrientationMap.Builder

Builds a DeviceStateSensorOrientationMap object.

DeviceTypes

Device types for Control.

DexClassLoader

A class loader that loads classes from .jar and .apk files containing a classes.dex entry.

DexFile

Loads DEX files.

DexFile.OptimizationInfo

Encapsulates information about the optimizations performed on a dex file.

DhcpInfo

A simple object for retrieving the results of a DHCP request.

DHGenParameterSpec

This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement.

DHKey

The interface to a Diffie-Hellman key.

DHParameterSpec

This class specifies the set of parameters used with the Diffie-Hellman algorithm, as specified in PKCS #3: Diffie-Hellman Key-Agreement Standard.

DHPrivateKey

The interface to a Diffie-Hellman private key.

DHPrivateKeySpec

This class specifies a Diffie-Hellman private key with its associated parameters.

DHPublicKey

The interface to a Diffie-Hellman public key.

DHPublicKeySpec

This class specifies a Diffie-Hellman public key with its associated parameters.

DialerFilter This class was deprecated in API level 26. Use a custom view or layout to handle this functionality instead
DialerKeyListener

For dialing-only text entry

Dialog

Base class for Dialogs.

DialogFragment This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.DialogFragment for consistent behavior across all devices and access to Lifecycle.
DialogInterface

Interface that defines a dialog-type class that can be shown, dismissed, or canceled, and may have buttons that can be clicked.

DialogInterface.OnCancelListener

Interface used to allow the creator of a dialog to run some code when the dialog is canceled.

DialogInterface.OnClickListener

Interface used to allow the creator of a dialog to run some code when an item on the dialog is clicked.

DialogInterface.OnDismissListener

Interface used to allow the creator of a dialog to run some code when the dialog is dismissed.

DialogInterface.OnKeyListener

Interface definition for a callback to be invoked when a key event is dispatched to this dialog.

DialogInterface.OnMultiChoiceClickListener

Interface used to allow the creator of a dialog to run some code when an item in a multi-choice dialog is clicked.

DialogInterface.OnShowListener

Interface used to allow the creator of a dialog to run some code when the dialog is shown.

DialogPreference 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.
Dictionary

The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to values.

DigestException

This is the generic Message Digest exception.

DigestInputStream

A transparent stream that updates the associated message digest using the bits going through the stream.

DigestOutputStream

A transparent stream that updates the associated message digest using the bits going through the stream.

DigitalClock This class was deprecated in API level 17. It is recommended you use TextClock instead.
DigitsKeyListener

For digits-only text entry

DirectAction

Represents an abstract action that can be perform on this app.

DirectAction.Builder

Builder for construction of DirectAction.

DirectoryIteratorException

Runtime exception thrown if an I/O error is encountered when iterating over the entries in a directory.

DirectoryNotEmptyException

Checked exception thrown when a file system operation fails because a directory is not empty.

DirectoryStream

An object to iterate over the entries in a directory.

DirectoryStream.Filter

An interface that is implemented by objects that decide if a directory entry should be accepted or filtered.

DisconnectCause

Describes the cause of a disconnected call.

DisconnectCause

Describes the cause of a disconnected call.

DiscoveryRequest

Encapsulates parameters for android.

DiscoveryRequest.Builder

The builder for creating new DiscoveryRequest objects.

DiscoverySession

A class representing a single publish or subscribe Aware session.

DiscoverySessionCallback

Base class for Aware session events callbacks.

DiscretePathEffect

DiskReadViolation

DiskWriteViolation

Display

Provides information about the size and density of a logical display.

Display.HdrCapabilities

Encapsulates the HDR capabilities of a given display.

Display.Mode

A mode supported by a given display.

DisplayContext

Display context settings.

DisplayContext.Type

Type values for DisplayContext

DisplayCutout

Represents the area of the display that is not functional for displaying content.

DisplayCutout.Builder

A Builder class to construct a DisplayCutout instance.

DisplayHash

The DisplayHash used to validate information about what was present on screen.

DisplayHashManager

Manages DisplayHash requests.

DisplayHashResultCallback

Use when calling View.generateDisplayHash(String, Rect, Executor,.

DisplayLuts

DisplayLuts provides the developers to apply Lookup Tables (Luts) to a android.view.SurfaceControl.

DisplayLuts.Entry

DisplayManager

Manages the properties of attached displays.

DisplayManager.DisplayListener

Listens for changes in available display devices.

DisplayMetrics

A structure describing general information about a display, such as its size, density, and font scaling.

DisplayOptions

Represents all the display options that are supported by CLDR such as grammatical case, noun class, .

DisplayOptions.Builder

Responsible for building DisplayOptions.

DisplayOptions.Capitalization

Represents all the capitalization options.

DisplayOptions.DisplayLength

Represents all the display lengths.

DisplayOptions.GrammaticalCase

Represents all the grammatical cases that are supported by CLDR.

DisplayOptions.NameStyle

Represents all the name styles.

DisplayOptions.NounClass

Represents all the grammatical noun classes that are supported by CLDR.

DisplayOptions.PluralCategory

Standard CLDR plural category constants.

DisplayOptions.SubstituteHandling

Represents all the substitute handlings.

DisplayShape

A class representing the shape of a display.

DistanceRecord

Captures distance travelled by the user since the last reading.

DistanceRecord.Builder

Builder class for DistanceRecord

DngCreator

The DngCreator class provides functions to write raw pixel data as a DNG file.

DnsEvent

A class that represents a DNS lookup event initiated through the standard network stack.

DnsOptions

A class configuring the host resolution functionality.

DnsOptions.Builder

Builder for DnsOptions.

DnsOptions.StaleDnsOptions

A class configuring the stale DNS functionality.

DnsOptions.StaleDnsOptions.Builder

Builder for StaleDnsOptions.

DnsResolver

Dns resolver class for asynchronous dns querying Note that if a client sends a query with more than 1 record in the question section but the remote dns server does not support this, it may not respond at all, leading to a timeout.

DnsResolver.Callback

Base interface for answer callbacks

DnsResolver.DnsException

Class to represent DNS error

DocTypeNotSupportedException

Thrown if trying to create a credential with an unsupported document type.

Document

The Document interface represents the entire HTML or XML document.

DocumentBuilder

Defines the API to obtain DOM Document instances from an XML document.

DocumentBuilderFactory

Defines a factory API that enables applications to obtain a parser that produces DOM object trees from XML documents.

DocumentChangeInfo

Contains information about an individual change detected by an ObserverCallback.

Documented

If the annotation @Documented is present on the declaration of an annotation interface A, then any @A annotation on an element is considered part of the element's public contract.

DocumentFragment

DocumentFragment is a "lightweight" or "minimal" Document object.

DocumentHandler This interface was deprecated in API level 9. This interface has been replaced by the SAX2 ContentHandler interface, which includes Namespace support.
DocumentIdUtil

A util class with methods for working with document ids.

DocumentsContract

Defines the contract between a documents provider and the platform.

DocumentsContract.Document

Constants related to a document, including Cursor column names and flags.

DocumentsContract.Path

Holds a path from a document to a particular document under it.

DocumentsContract.Root

Constants related to a root of documents, including Cursor column names and flags.

DocumentsProvider

Base class for a document provider.

DocumentType

Each Document has a doctype attribute whose value is either null or a DocumentType object.

DomainCombiner

Legacy security code; do not use.

DomainLoadStoreParameter

Configuration data that specifies the keystores in a keystore domain.

DomainVerificationManager

System service to access domain verification APIs.

DomainVerificationUserState

Contains the user selection state for a package.

DOMConfiguration

The DOMConfiguration interface represents the configuration of a document and maintains a table of recognized parameters.

DOMError

DOMError is an interface that describes an error.

DOMErrorHandler

DOMErrorHandler is a callback interface that the DOM implementation can call when reporting errors that happens while processing XML data, or when doing some other processing (e.g. validating a document).

DOMException

DOM operations only raise exceptions in "exceptional" circumstances, i.

DOMImplementation

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

DOMImplementationList

The DOMImplementationList interface provides the abstraction of an ordered collection of DOM implementations, without defining or constraining how this collection is implemented.

DOMImplementationLS

DOMImplementationLS contains the factory methods for creating Load and Save objects.

DOMImplementationSource

This interface permits a DOM implementer to supply one or more implementations, based upon requested features and versions, as specified in .

DOMLocator

Indicates the position of a node in a source DOM, intended primarily for error reporting.

DOMLocator

DOMLocator is an interface that describes a location (e.g. where an error occurred).

DOMResult

Acts as a holder for a transformation result tree in the form of a Document Object Model (DOM) tree.

DOMSource

Acts as a holder for a transformation Source tree in the form of a Document Object Model (DOM) tree.

DOMStringList

The DOMStringList interface provides the abstraction of an ordered collection of DOMString values, without defining or constraining how this collection is implemented.

DosFileAttributes

File attributes associated with a file in a file system that supports legacy "DOS" attributes.

DosFileAttributeView

A file attribute view that provides a view of the legacy "DOS" file attributes.

Double

The Double class wraps a value of the primitive type double in an object.

Double2 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Double3 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Double4 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
DoubleAccumulator

One or more variables that together maintain a running double value updated using a supplied function.

DoubleAdder

One or more variables that together maintain an initially zero double sum.

DoubleBinaryOperator

Represents an operation upon two double-valued operands and producing a double-valued result.

DoubleBuffer

A double buffer.

DoubleConsumer

Represents an operation that accepts a single double-valued argument and returns no result.

DoubleFunction

Represents a function that accepts a double-valued argument and produces a result.

DoublePredicate

Represents a predicate (boolean-valued function) of one double-valued argument.

DoubleStream

A sequence of primitive double-valued elements supporting sequential and parallel aggregate operations.

DoubleStream.Builder

A mutable builder for a DoubleStream.

DoubleStream.DoubleMapMultiConsumer

Represents an operation that accepts a double-valued argument and a DoubleConsumer, and returns no result.

DoubleSummaryStatistics

A state object for collecting statistics such as count, min, max, sum, and average.

DoubleSupplier

Represents a supplier of double-valued results.

DoubleToIntFunction

Represents a function that accepts a double-valued argument and produces an int-valued result.

DoubleToLongFunction

Represents a function that accepts a double-valued argument and produces a long-valued result.

DoubleUnaryOperator

Represents an operation on a single double-valued operand that produces a double-valued result.

DownloadableSubscription

Information about a subscription which is downloadable to an eUICC using EuiccManager.downloadSubscription(DownloadableSubscription, boolean, PendingIntent)

DownloadableSubscription.Builder

DownloadCompletedInput

The input data for android.adservices.ondevicepersonalization.IsolatedWorker#onDownloadCompleted(android.adservices.ondevicepersonalization.DownloadCompletedInput,android.os.OutcomeReceiver).

DownloadCompletedOutput

The result returned by android.adservices.ondevicepersonalization.IsolatedWorker#onDownloadCompleted(android.adservices.ondevicepersonalization.DownloadCompletedInput,android.os.OutcomeReceiver).

DownloadCompletedOutput.Builder

A builder for DownloadCompletedOutput

DownloadListener

DownloadManager

The download manager is a system service that handles long-running HTTP downloads.

DownloadManager.Query

This class may be used to filter download manager queries.

DownloadManager.Request

This class contains all the information necessary to request a new download.

DownloadProgressListener

A optional listener class used by download clients to track progress.

DownloadRequest

Describes a request to download files over cell-broadcast.

DownloadRequest.Builder

DownloadStatusListener

A optional listener class used by download clients to track progress.

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.

Drawable

A Drawable is a general abstraction for "something that can be drawn.

Drawable.Callback

Implement this interface if you want to create an animated drawable that extends Drawable.

Drawable.ConstantState

This abstract class is used by Drawables to store shared constant state and data between Drawables.

DrawableContainer

A helper class that contains several Drawables and selects which one to use.

DrawableContainer.DrawableContainerState

A ConstantState that can contain several Drawables.

DrawableMarginSpan

A span which adds a drawable and a padding to the paragraph it's attached to.

DrawableWrapper

Drawable container with only one child element.

DrawFilter

A DrawFilter subclass can be installed in a Canvas.

DrbgParameters

This class specifies the parameters used by a DRBG (Deterministic Random Bit Generator).

DrbgParameters.Capability

The reseedable and prediction resistance capabilities of a DRBG.

DrbgParameters.Instantiation

DRBG parameters for instantiation.

DrbgParameters.NextBytes

DRBG parameters for random bits generation.

DrbgParameters.Reseed

DRBG parameters for reseed.

DreamService

Extend this class to implement a custom dream (available to the user as a "Daydream").

Driver

The interface that every driver class must implement.

Driver

SAX2 Driver that pulls events from XmlPullParser and converts them into SAX2 callbacks.

DriverManager

The basic service for managing a set of JDBC drivers.

DriverPropertyInfo

Driver properties for making a connection.

DrmConvertedStatus This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmErrorEvent This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmEvent This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmInfo This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmInfoEvent This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmInfoRequest This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmInfoStatus This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmInitData

Encapsulates initialization data required by a MediaDrm instance.

DrmInitData.SchemeInitData

Scheme initialization data.

DrmManagerClient This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmManagerClient.OnErrorListener This interface was deprecated in API level 30. Deprecated in Java.
DrmManagerClient.OnEventListener This interface was deprecated in API level 30. Deprecated in Java.
DrmManagerClient.OnInfoListener This interface was deprecated in API level 30. Deprecated in Java.
DrmRights This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmStore This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmStore.Action This class was deprecated in API level 30. Deprecated in Java.
DrmStore.ConstraintsColumns This interface was deprecated in API level 30. Deprecated in Java.
DrmStore.DrmObjectType This class was deprecated in API level 30. Deprecated in Java.
DrmStore.Playback This class was deprecated in API level 30. Deprecated in Java.
DrmStore.RightsStatus This class was deprecated in API level 30. Deprecated in Java.
DrmSupportInfo This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmUtils This class was deprecated in API level 30. Please use android.media.MediaDrm
DrmUtils.ExtendedMetadataParser This class was deprecated in API level 30. Deprecated in Java.
DropBoxManager

Enqueues chunks of data (from various sources -- application crashes, kernel log records, etc.).

DropBoxManager.Entry

A single entry retrieved from the drop box.

DSAGenParameterSpec

This immutable class specifies the set of parameters used for generating DSA parameters as specified in FIPS 186-3 Digital Signature Standard (DSS).

DSAKey

The interface to a DSA public or private key.

DSAKeyPairGenerator

An interface to an object capable of generating DSA key pairs.

DSAParameterSpec

This class specifies the set of parameters used with the DSA algorithm.

DSAParams

Interface to a DSA-specific set of key parameters, which defines a DSA key family.

DSAPrivateKey

The standard interface to a DSA private key.

DSAPrivateKeySpec

This class specifies a DSA private key with its associated parameters.

DSAPublicKey

The interface to a DSA public key.

DSAPublicKeySpec

This class specifies a DSA public key with its associated parameters.

DsmccRequest

A request for DSM-CC from broadcast signal.

DsmccResponse

A response for DSM-CC from broadcast signal.

DTDHandler

Receive notification of basic DTD-related events.

Dumpable

Represents an object whose state can be dumped into a PrintWriter.

DumpableContainer

Represents a container that manages dumpables.

DuplicateFormatFlagsException

Unchecked exception thrown when duplicate flags are provided in the format specifier.

Duration

A time-based amount of time, such as '34.

Duration

Immutable representation of a time span as defined in the W3C XML Schema 1.

DynamicDrawableSpan

Span that replaces the text it's attached to with a Drawable that can be aligned with the bottom or with the baseline of the surrounding text.

DynamicLayout

DynamicLayout is a text layout that updates itself as the text is edited.

DynamicLayout.Builder

Builder for dynamic layouts.

DynamicRangeProfiles

Immutable class with information about supported 10-bit dynamic range profiles.

DynamicsProcessing

DynamicsProcessing is an audio effect for equalizing and changing dynamic range properties of the sound.

DynamicsProcessing.BandBase

Base class for bands

DynamicsProcessing.BandStage

Base class for stages that hold bands

DynamicsProcessing.Channel

Class for Channel configuration parameters.

DynamicsProcessing.Config

Class for Config object, used by DynamicsProcessing to configure and update the audio effect.

DynamicsProcessing.Config.Builder

DynamicsProcessing.Eq

Class for Equalizer stage

DynamicsProcessing.EqBand

Class for Equalizer Bands Equalizer bands have three controllable parameters: enabled/disabled, cutoffFrequency and gain

DynamicsProcessing.Limiter

Class for Limiter Stage Limiter is a single band compressor at the end of the processing chain, commonly used to protect the signal from overloading and distortion.

DynamicsProcessing.Mbc

Class for Multi-Band Compressor (MBC) stage

DynamicsProcessing.MbcBand

Class for Multi-Band compressor bands MBC bands have multiple controllable parameters: enabled/disabled, cutoffFrequency, attackTime, releaseTime, ratio, threshold, kneeWidth, noiseGateThreshold, expanderRatio, preGain and postGain.

DynamicsProcessing.Stage

base class for the different stages.

E

E2eeContactKeysManager

E2eeContactKeysManager provides access to the provider of end-to-end encryption contact keys.

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.

EapAkaInfo

EapAkaInfo represents data provided by the server during EAP AKA authentication

EapAkaInfo.Builder

This class can be used to incrementally construct an EapAkaInfo.

EapInfo

EapInfo represents data provided by the server during EAP authentication

EapSessionConfig

EapSessionConfig represents a container for EAP method configuration.

EapSessionConfig.Builder

This class can be used to incrementally construct an EapSessionConfig.

EapSessionConfig.EapAkaConfig

EapAkaConfig represents the configs needed for an EAP AKA session.

EapSessionConfig.EapAkaOption

EapAkaOption represents optional configurations for EAP AKA authentication.

EapSessionConfig.EapAkaOption.Builder

This class can be used to incrementally construct an EapAkaOption.

EapSessionConfig.EapAkaPrimeConfig

EapAkaPrimeConfig represents the configs needed for an EAP-AKA' session.

EapSessionConfig.EapMethodConfig

EapMethodConfig represents a generic EAP method configuration.

EapSessionConfig.EapMsChapV2Config

EapMsChapV2Config represents the configs needed for an EAP MSCHAPv2 session.

EapSessionConfig.EapSimConfig

EapSimConfig represents the configs needed for an EAP SIM session.

EapSessionConfig.EapTtlsConfig

EapTtlsConfig represents the configs needed for an EAP-TTLS session.

EasyConnectStatusCallback

Easy Connect (DPP) Status Callback.

EasyEditSpan

Provides an easy way to edit a portion of text.

ECField

This interface represents an elliptic curve (EC) finite field.

ECFieldF2m

This immutable class defines an elliptic curve (EC) characteristic 2 finite field.

ECFieldFp

This immutable class defines an elliptic curve (EC) prime finite field.

ECGenParameterSpec

This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.

ECKey

The interface to an elliptic curve (EC) key.

ECParameterSpec

This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).

ECPoint

This immutable class represents a point on an elliptic curve (EC) in affine coordinates.

ECPrivateKey

The interface to an elliptic curve (EC) private key.

ECPrivateKeySpec

This immutable class specifies an elliptic curve private key with its associated parameters.

ECPublicKey

The interface to an elliptic curve (EC) public key.

ECPublicKeySpec

This immutable class specifies an elliptic curve public key with its associated parameters.

EdDSAParameterSpec

A class used to specify EdDSA signature and verification parameters.

EdECKey

An interface for an elliptic curve public/private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).

EdECPoint

An elliptic curve point used to specify keys as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).

EdECPrivateKey

An interface for an elliptic curve private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).

EdECPrivateKeySpec

A class representing elliptic curve private keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.

EdECPublicKey

An interface for an elliptic curve public key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).

EdECPublicKeySpec

A class representing elliptic curve public keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.

EdgeEffect

This class performs the graphical effect used at the edges of scrollable widgets when the user scrolls beyond the content bounds in 2D space.

Editable

This is the interface for text whose content and markup can be changed (as opposed to immutable text like Strings).

Editable.Factory

Factory used by TextView to create new Editables.

EditingEndedEvent

Event for an editing operation having ended.

EditingEndedEvent.Builder

Builder for EditingEndedEvent

EditingSession

Represents a session of media editing, for example, transcoding between formats, transmuxing or applying trimming or audio/video effects to a stream.

EditorBoundsInfo

Container of rectangular position related info for the Editor.

EditorBoundsInfo.Builder

Builder for EditorBoundsInfo.

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.

Edits

Records lengths of string edits but not replacement text.

Edits.Iterator

Access to the list of edits.

EditText

A user interface element for entering and modifying text.

EditTextPreference 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.
Effect

Effects are high-performance transformations that can be applied to image frames.

EffectContext

An EffectContext keeps all necessary state information to run Effects within a Open GL ES 2.

EffectFactory

The EffectFactory class defines the list of available Effects, and provides functionality to inspect and instantiate them.

EffectUpdateListener

Some effects may issue callbacks to inform the host of changes to the effect state.

EGL

EGL10

EGL11

EGL14

EGL 1.

EGL15

EGL 1.

EGLConfig

Wrapper class for native EGLConfig objects.

EGLConfig

EGLContext

Wrapper class for native EGLContext objects.

EGLContext

EGLDisplay

Wrapper class for native EGLDisplay objects.

EGLDisplay

EGLExt

EGL Extensions

EGLImage

Wrapper class for native EGLImage objects.

EGLObjectHandle

Base class for wrapped EGL objects.

EGLSurface

Wrapper class for native EGLSurface objects.

EGLSurface

EGLSync

Wrapper class for native EGLSync objects.

Element This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Element

An XML element.

Element

The Element interface represents an element in an HTML or XML document.

Element.Builder This class was deprecated in API level 31. Deprecated in Java.
Element.DataKind This enum was deprecated in API level 31. Deprecated in Java.
Element.DataType This enum was deprecated in API level 31. Deprecated in Java.
ElementListener

Listens for the beginning and ending of elements.

ElementType

The constants of this enumerated class provide a simple classification of the syntactic locations where annotations may appear in a Java program.

ElevationGainedRecord

Captures the elevation gained by the user since the last reading.

ElevationGainedRecord.Builder

Builder class for ElevationGainedRecord

EllipticCurve

This immutable class holds the necessary values needed to represent an elliptic curve.

EmbeddedPhotoPickerClient

Callback to define mechanisms by which can apps can receive notifications about different events from embedded photopicker for the corresponding Session (EmbeddedPhotoPickerSession).

EmbeddedPhotoPickerFeatureInfo

An immutable parcel to carry information regarding desired features of caller for a given session.

EmbeddedPhotoPickerFeatureInfo.Builder

EmbeddedPhotoPickerProvider

This interface provides an api that callers can use to get a session of embedded PhotoPicker (EmbeddedPhotoPickerSession).

EmbeddedPhotoPickerProviderFactory

Interface to get instance of EmbeddedPhotoPickerProvider class to request a new EmbeddedPhotoPickerSession.

EmbeddedPhotoPickerSession

Class that holds the embedded photopicker view wrapped in SurfaceControlViewHost.SurfacePackage that can be embedded by the caller in their view hierarchy by placing it in a SurfaceView via its SurfaceView.setChildSurfacePackage api.

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.

EmbossMaskFilter

EmergencyNumber

A parcelable class that wraps and retrieves the information of number, service category(s) and country code for a specific emergency number.

EmojiConsistency

The set of emoji that should be drawn by the system with the default font for device consistency.

EmptyStackException

Thrown by methods in the Stack class to indicate that the stack is empty.

EncodedKeySpec

This class represents a public or private key in encoded format.

EncoderProfiles

Describes a set of encoding profiles for a given media (audio and/or video) profile.

EncoderProfiles.AudioProfile

Configuration for an audio encoder.

EncoderProfiles.VideoProfile

Configuration for a video encoder.

EncryptedPrivateKeyInfo

This class implements the EncryptedPrivateKeyInfo type as defined in PKCS #8.

EncryptedTopic

Encrypted form of android.adservices.topics.Topic.

EndElementListener

Listens for the end of elements.

EndTextElementListener

Listens for the end of text elements.

Energy

Represents a unit of energy.

EnterpriseGlobalSearchSession

Provides a connection to all enterprise (work profile) AppSearch databases the querying application has been granted access to.

Entity

A representation of a item using ContentValues.

Entity

This interface represents a known entity, either parsed or unparsed, in an XML document.

Entity.NamedContentValues

EntityIterator

A specialization of Iterator that allows iterating over a collection of Entity objects.

EntityReference

EntityReference nodes may be used to represent an entity reference in the tree.

EntityResolver

Basic interface for resolving entities.

EntityResolver2

Extended interface for mapping external entity references to input sources, or providing a missing external subset.

Enum

This is the common base class of all Java language enumeration classes.

EnumConstantNotPresentException

Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name.

Enumeration

An object that implements the Enumeration interface generates a series of elements, one at a time.

EnumMap

A specialized Map implementation for use with enum type keys.

EnumSet

A specialized Set implementation for use with enum types.

Environment

Provides access to environment variables.

EnvironmentalReverb

A sound generated within a room travels in many directions.

EnvironmentalReverb.OnParameterChangeListener

The OnParameterChangeListener interface defines a method called by the EnvironmentalReverb when a parameter value has changed.

EnvironmentalReverb.Settings

The Settings class regroups all environmental reverb parameters.

EOFException

Signals that an end of file or end of stream has been reached unexpectedly during input.

EphemeralPublicKeyNotFoundException

Thrown if the ephemeral public key was not found in the session transcript passed to android.

Equalizer

An Equalizer is used to alter the frequency response of a particular music source or of the main output mix.

Equalizer.OnParameterChangeListener

The OnParameterChangeListener interface defines a method called by the Equalizer when a parameter value has changed.

Equalizer.Settings

The Settings class regroups all equalizer parameters.

Era

An era of the time-line.

ErrnoException

A checked exception thrown when Os methods fail.

Error

An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.

ErrorHandler

Basic interface for SAX error handlers.

ErrorListener

To provide customized error handling, implement this interface and use the setErrorListener method to register an instance of the implementation with the javax.xml.transform.Transformer.

ErrorManager

ErrorManager objects can be attached to Handlers to process any error that occurs on a Handler during Logging.

ETC1

Methods for encoding and decoding ETC1 textures.

ETC1Util

Utility methods for using ETC1 compressed textures.

ETC1Util.ETC1Texture

A utility class encapsulating a compressed ETC1 texture.

EthernetNetworkSpecifier

A NetworkSpecifier used to identify ethernet interfaces.

EthiopicCalendar

Implement the Ethiopic calendar system.

EuiccInfo

Information about an eUICC chip/device.

EuiccManager

EuiccManager is the application interface to eUICCs, or eSIMs/embedded SIMs.

Event

Abstract class for metrics events.

EventInput

The input data for android.adservices.ondevicepersonalization.IsolatedWorker#onEvent(android.adservices.ondevicepersonalization.EventInput,android.os.OutcomeReceiver).

EventListener

A tagging interface that all event listener interfaces must extend.

EventListenerProxy

An abstract wrapper class for an EventListener class which associates a set of additional parameters with the listener.

EventLog

Access to the system diagnostic event record.

EventLog.Event

A previously logged event read from the logs.

EventLogRecord

Data to be logged in the EVENTS table.

EventLogRecord.Builder

A builder for EventLogRecord

EventLogTags This class was deprecated in API level 9. This class is no longer functional. Use android.util.EventLog instead.
EventLogTags.Description This class was deprecated in API level 29. Deprecated in Java.
EventObject

The root class from which all event state objects shall be derived.

EventOutput

The result returned by IsolatedWorker.onEvent(EventInput, android.os.OutcomeReceiver).

EventOutput.Builder

A builder for EventOutput

EventStats

Contains usage statistics for an event type for a specific time range.

EventUrlProvider

Generates event tracking URLs for a request.

Exception

The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.

ExceptionInInitializerError

Signals that an unexpected exception has occurred in a static initializer.

Exchanger

A synchronization point at which threads can pair and swap elements within pairs.

Executable

A shared superclass for the common functionality of Method and Constructor.

ExecuteAppFunctionRequest

A request to execute an app function.

ExecuteAppFunctionRequest.Builder

Builder for ExecuteAppFunctionRequest.

ExecuteAppFunctionResponse

The response to an app function execution.

ExecuteInIsolatedServiceRequest

The request of OnDevicePersonalizationManager.executeInIsolatedService.

ExecuteInIsolatedServiceRequest.Builder

A builder for ExecuteInIsolatedServiceRequest

ExecuteInIsolatedServiceRequest.OutputSpec

The set of spec to indicate output of IsolatedService.

ExecuteInIsolatedServiceResponse

The response of OnDevicePersonalizationManager.executeInIsolatedService.

ExecuteInput

The input data for IsolatedWorker.onExecute(ExecuteInput, android.os.OutcomeReceiver).

ExecuteOutput

The result returned by IsolatedWorker.onExecute(ExecuteInput, android.os.OutcomeReceiver) in response to a call to OnDevicePersonalizationManager#execute(ComponentName, PersistableBundle, java.util.concurrent.Executor, OutcomeReceiver) from a client app.

ExecuteOutput.Builder

A builder for ExecuteOutput

ExecutionException

Exception thrown when attempting to retrieve the result of a task that aborted by throwing an exception.

Executor

An object that executes submitted Runnable tasks.

ExecutorCompletionService

A CompletionService that uses a supplied Executor to execute tasks.

Executors

Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory, and Callable classes defined in this package.

ExecutorService

An Executor that provides methods to manage termination and methods that can produce a Future for tracking progress of one or more asynchronous tasks.

ExemptionMechanism

This class provides the functionality of an exemption mechanism, examples of which are key recovery, key weakening, and key escrow.

ExemptionMechanismException

This is the generic ExemptionMechanism exception.

ExemptionMechanismSpi

This class defines the Service Provider Interface (SPI) for the ExemptionMechanism class.

ExerciseCompletionGoal

A goal which should be met to complete a PlannedExerciseStep.

ExerciseCompletionGoal.ActiveCaloriesBurnedGoal

An ExerciseCompletionGoal that requires a specified number of active calories to be burned.

ExerciseCompletionGoal.DistanceGoal

An ExerciseCompletionGoal that requires covering a specified distance.

ExerciseCompletionGoal.DistanceWithVariableRestGoal

An ExerciseCompletionGoal that requires covering a specified distance.

ExerciseCompletionGoal.DurationGoal

An ExerciseCompletionGoal that requires a specified duration to elapse.

ExerciseCompletionGoal.RepetitionsGoal

An ExerciseCompletionGoal that requires a specified number of repetitions to be completed.

ExerciseCompletionGoal.StepsGoal

An ExerciseCompletionGoal that requires completing a specified number of steps.

ExerciseCompletionGoal.TotalCaloriesBurnedGoal

An ExerciseCompletionGoal that requires a specified number of total calories to be burned.

ExerciseCompletionGoal.UnknownGoal

An ExerciseCompletionGoal that is unknown.

ExerciseCompletionGoal.UnspecifiedGoal

An ExerciseCompletionGoal that has no specific target metric.

ExerciseLap

Captures the time of a lap within exercise session.

ExerciseLap.Builder

Builder class for ExerciseLap

ExercisePerformanceGoal

A goal which should be aimed for during a PlannedExerciseStep.

ExercisePerformanceGoal.AmrapGoal

An ExercisePerformanceGoal that requires completing as many repetitions as possible.

ExercisePerformanceGoal.CadenceGoal

An ExercisePerformanceGoal that requires a target cadence range to be met during the associated PlannedExerciseStep.

ExercisePerformanceGoal.HeartRateGoal

An ExercisePerformanceGoal that requires a target heart rate range, in BPM, to be met during the associated PlannedExerciseStep.

ExercisePerformanceGoal.PowerGoal

An ExercisePerformanceGoal that requires a target power range to be met during the associated PlannedExerciseStep.

ExercisePerformanceGoal.RateOfPerceivedExertionGoal

An ExercisePerformanceGoal that requires a target RPE (rate of perceived exertion) to be met during the associated PlannedExerciseStep.

ExercisePerformanceGoal.SpeedGoal

An ExercisePerformanceGoal that requires a target speed range to be met during the associated PlannedExerciseStep.

ExercisePerformanceGoal.UnknownGoal

An ExercisePerformanceGoal that is unknown.

ExercisePerformanceGoal.WeightGoal

An ExercisePerformanceGoal that requires a target weight to be lifted during the associated PlannedExerciseStep.

ExerciseRoute

Route of the exercise session.

ExerciseRoute.Location

Point in the time and space.

ExerciseRoute.Location.Builder

Builder class for Location

ExerciseSegment

Represents particular exercise within exercise session (see ExerciseSessionRecord).

ExerciseSegment.Builder

Builder class for ExerciseSegment

ExerciseSegmentType

Identifier for exercise types, as returned by ExerciseSegment.getSegmentType().

ExerciseSessionRecord

Captures exercise or a sequence of exercises.

ExerciseSessionRecord.Builder

Builder class for ExerciseSessionRecord

ExerciseSessionType

Identifier for exercise types, as returned by ExerciseSessionRecord.getExerciseType().

ExifInterface

This is a class for reading and writing Exif tags in various image file formats.

ExpandableListActivity This class was deprecated in API level 30. Use androidx.recyclerview.widget.RecyclerView or use android.widget.ExpandableListView directly
ExpandableListAdapter

An adapter that links a ExpandableListView with the underlying data.

ExpandableListView

A view that shows items in a vertically scrolling two-level list.

ExpandableListView.ExpandableListContextMenuInfo

Extra menu information specific to an ExpandableListView provided to the android.view.View.OnCreateContextMenuListener#onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView.

ExpandableListView.OnChildClickListener

Interface definition for a callback to be invoked when a child in this expandable list has been clicked.

ExpandableListView.OnGroupClickListener

Interface definition for a callback to be invoked when a group in this expandable list has been clicked.

ExpandableListView.OnGroupCollapseListener

Used for being notified when a group is collapsed

ExpandableListView.OnGroupExpandListener

Used for being notified when a group is expanded

ExplicitGcViolation

See #android.os.StrictMode.ThreadPolicy.Builder#detectExplicitGc().

Explode

This transition tracks changes to the visibility of target views in the start and end scenes and moves views in or out from the edges of the scene.

ExtendedSSLSession

Extends the SSLSession interface to support additional session attributes.

Extension

This interface represents an X.

ExtensionSessionConfiguration

A class that aggregates all supported arguments for CameraExtensionSession initialization.

Externalizable

Only the identity of the class of an Externalizable instance is written in the serialization stream and it is the responsibility of the class to save and restore the contents of its instances.

ExternalStorageStats

Shared/external storage statistics for a UserHandle on a single storage volume.

ExtractEditText

* Specialization of EditText for showing and interacting with the extracted text in a full-screen input method.

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.

F

FabricatedOverlay

FabricatedOverlay describes the content of Fabricated Runtime Resource Overlay (FRRO) that is used to overlay the app's resources.

Face

Describes a face detected in an image.

Face.Builder

Builds a Face object.

FaceDetector

Identifies the faces of people in a android.graphics.Bitmap graphic object.

FaceDetector.Face

A Face contains all the information identifying the location of a face in a bitmap.

FactoryConfigurationError

Thrown when a problem with configuration with the Parser Factories exists.

FactoryResetProtectionPolicy

The factory reset protection policy determines which accounts can unlock a device that has gone through untrusted factory reset.

FactoryResetProtectionPolicy.Builder

Builder class for FactoryResetProtectionPolicy objects.

Fade

This transition tracks changes to the visibility of target views in the start and end scenes and fades views in or out when they become visible or non-visible.

FastNative

An ART runtime built-in optimization for native methods to speed up JNI transitions: Compared to normal native methods, native methods that are annotated with @FastNative use faster JNI transitions from managed code to the native code and back.

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.

FederatedComputeInput

The input data for FederatedComputeScheduler.schedule.

FederatedComputeInput.Builder

A builder for FederatedComputeInput

FederatedComputeScheduler

Handles scheduling federated compute jobs.

FederatedComputeScheduler.Params

The parameters related to job scheduling.

FetchAndJoinCustomAudienceRequest

The request object wrapping the required and optional parameters needed to fetch a CustomAudience.

FetchAndJoinCustomAudienceRequest.Builder

Builder for FetchAndJoinCustomAudienceRequest objects.

FhirResource

A class to capture the FHIR resource data.

FhirResource.Builder

Builder class for FhirResource.

FhirVersion

Represents the FHIR version.

Field

This class is used to set all information of a field.

Field

A Field provides information about, and dynamic access to, a single field of a class or an interface.

Field.Builder

A builder for Field

FieldClassification

Represents a classified field from the detection service.

FieldClassification

Represents the field classification results for a given field.

FieldClassification.Match

Represents the score of a UserData entry for the field.

FieldPacker This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
FieldPosition

FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted output.

File

An abstract representation of file and directory pathnames.

FileAlreadyExistsException

Checked exception thrown when an attempt is made to create a file or directory and a file of that name already exists.

FileAttribute

An object that encapsulates the value of a file attribute that can be set atomically when creating a new file or directory by invoking the createFile or createDirectory methods.

FileAttributeView

An attribute view that is a read-only or updatable view of non-opaque values associated with a file in a filesystem.

FileBackupHelper

A helper class that can be used in conjunction with android.app.backup.BackupAgentHelper to manage the backup of a set of files.

FileChannel

A channel for reading, writing, mapping, and manipulating a file.

FileChannel.MapMode

A typesafe enumeration for file-mapping modes.

FileDescriptor

Instances of the file descriptor class serve as an opaque handle to the underlying machine-specific structure representing an open file, an open socket, or another source or sink of bytes.

FileFilter

A filter for abstract pathnames.

FileHandler

Simple file logging Handler.

FileInfo

Describes a single file that is available over MBMS.

FileInputStream

A FileInputStream obtains input bytes from a file in a file system.

FileIntegrityManager

This class provides access to file integrity related operations.

FileLock

A token representing a lock on a region of a file.

FileLockInterruptionException

Checked exception received by a thread when another thread interrupts it while it is waiting to acquire a file lock.

FilenameFilter

Instances of classes that implement this interface are used to filter filenames.

FileNameMap

A simple interface which provides a mechanism to map between a file name and a MIME type string.

FileNotFoundException

Signals that an attempt to open the file denoted by a specified pathname has failed.

FileObserver

Monitors files (using inotify) to fire an event after files are accessed or changed by any process on the device (including this one).

FileOutputStream

A file output stream is an output stream for writing data to a File or to a FileDescriptor.

FileOwnerAttributeView

A file attribute view that supports reading or updating the owner of a file.

FilePermission

Legacy security code; do not use.

FileReader

Reads text from character files using a default buffer size.

Files

This class consists exclusively of static methods that operate on files, directories, or other types of files.

FileServiceInfo

Describes a file service available from the carrier from which files can be downloaded via cell-broadcast.

FileStore

Storage for files.

FileStoreAttributeView

An attribute view that is a read-only or updatable view of the attributes of a java.nio.file.FileStore.

FileSystem

Provides an interface to a file system and is the factory for objects to access files and other objects in the file system.

FileSystemAlreadyExistsException

Runtime exception thrown when an attempt is made to create a file system that already exists.

FileSystemException

Thrown when a file system operation fails on one or two files.

FileSystemLoopException

Checked exception thrown when a file system loop, or cycle, is encountered.

FileSystemNotFoundException

Runtime exception thrown when a file system cannot be found.

FileSystemProvider

Service-provider class for file systems.

FileSystems

Factory methods for file systems.

FileTime

Represents the value of a file's time stamp attribute.

FileTypeDetector

A file type detector for probing a file to guess its file type.

FileUriExposedException

The exception that is thrown when an application exposes a file:// android.net.Uri to another app.

FileUriExposedViolation

FileUtils

Utility methods useful for working with files.

FileUtils.ProgressListener

Listener that is called periodically as progress is made.

FileVisitOption

Defines the file tree traversal options.

FileVisitor

A visitor of files.

FileVisitResult

The result type of a FileVisitor.

FileWriter

Writes text to character files using a default buffer size.

FillCallback

FillCallback handles autofill requests from the AutofillService into the Activity being autofilled.

FillContext

This class represents a context for each fill request made via android.service.autofill.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.

FillEventHistory.Event

Description of an event that occurred after the latest call to FillCallback.onSuccess(FillResponse).

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 android.service.autofill.AutofillService#onFillRequest(android.service.autofill.FillRequest,android.os.CancellationSignal,android.service.autofill.FillCallback).

FillResponse.Builder

Builder for FillResponse objects.

Filter

A filter constrains data with a filtering pattern.

Filter

A Filter can be used to provide fine grain control over what is logged, beyond the control provided by log levels.

Filter.FilterListener

Listener used to receive a notification upon completion of a filtering operation.

Filter.FilterResults

Holds the results of a filtering operation.

Filterable

Defines a filterable behavior.

FilterInputStream

A FilterInputStream contains some other input stream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.

FilterOutputStream

This class is the superclass of all classes that filter output streams.

FilterQueryProvider

This class can be used by external clients of CursorAdapter and CursorTreeAdapter to define how the content of the adapter should be filtered.

FilterReader

Abstract class for reading filtered character streams.

FilterWriter

Abstract class for writing filtered character streams.

FingerprintGestureController

An AccessibilityService can capture gestures performed on a device's fingerprint sensor, as long as the device has a sensor capable of detecting gestures.

FingerprintGestureController.FingerprintGestureCallback

Class that is called back when fingerprint gestures are being used for accessibility.

FingerprintManager This class was deprecated in API level 28. See BiometricPrompt which shows a system-provided dialog upon starting authentication. In a world where devices may have different types of biometric authentication, it's much more realistic to have a system-provided authentication dialog since the method may vary by vendor/device.
FingerprintManager.AuthenticationCallback This class was deprecated in API level 28. See android.hardware.biometrics.BiometricPrompt.AuthenticationCallback
FingerprintManager.AuthenticationResult This class was deprecated in API level 28. See android.hardware.biometrics.BiometricPrompt.AuthenticationResult
FingerprintManager.CryptoObject This class was deprecated in API level 28. See android.hardware.biometrics.BiometricPrompt.CryptoObject
FlakyTest This annotation was deprecated in API level 24. Use FlakyTest instead. New tests should be written using the Android Testing Support Library.
Float

The Float class wraps a value of primitive type in an object.

Float2 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Float3 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Float4 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
FloatAction

Action sent by a RangeTemplate, ToggleRangeTemplate.

FloatArrayEvaluator

This evaluator can be used to perform type interpolation between float[] values.

FloatBuffer

A float buffer.

FloatEvaluator

This evaluator can be used to perform type interpolation between float values.

FloatMath This class was deprecated in API level 22. Use java.lang.Math instead.
FloatProperty

An implementation of android.util.Property to be used specifically with fields of type float.

FloorsClimbedRecord

Captures the number of floors climbed by the user between the start and end time.

FloorsClimbedRecord.Builder

Builder class for FloorsClimbedRecord

Flow

Interrelated interfaces and static methods for establishing flow-controlled components in which Publishers produce items consumed by one or more Subscribers, each managed by a Subscription.

Flow.Processor

A component that acts as both a Subscriber and Publisher.

Flow.Publisher

A producer of items (and related control messages) received by Subscribers.

Flow.Subscriber

A receiver of messages.

Flow.Subscription

Message control linking a Publisher and Subscriber.

Flushable

A Flushable is a destination of data that can be flushed.

FocusFinder

The algorithm used for finding the next focusable view in a given direction from a view that currently has focus.

Font

A font class can be used for creating FontFamily.

Font.Builder

A builder class for creating new Font.

FontFamily

A font family class can be used for creating Typeface.

FontFamily.Builder

A builder class for creating new FontFamily.

FontRequest This class was deprecated in API level 31. Use the androidx.core.provider.FontRequest
FontScaleConverter

A converter for non-linear font scaling.

FontsContract This class was deprecated in API level 31. Use the Jetpack Core Library androidx.core.provider.FontsContractCompat for consistent behavior across all devices.
FontsContract.Columns This class was deprecated in API level 31. Use the androidx.core.provider.FontsContractCompat.Columns for consistent behavior across all devices.
FontsContract.FontFamilyResult This class was deprecated in API level 31. Use the androidx.core.provider.FontsContractCompat.FontFamilyResult for consistent behavior across all devices
FontsContract.FontInfo This class was deprecated in API level 31. Use the androidx.core.provider.FontsContractCompat.FontInfo for consistent behavior across all devices
FontsContract.FontRequestCallback This class was deprecated in API level 31. Use the androidx.core.provider.FontsContractCompat.FontRequestCallback for consistent behavior across all devices
FontStyle

A font style object.

FontVariationAxis

Class that holds information about single font variation axis.

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.

ForegroundServiceTypeException

Base exception thrown when an app tries to start a foreground Service without a valid type.

ForkJoinPool

An ExecutorService for running ForkJoinTasks.

ForkJoinPool.ForkJoinWorkerThreadFactory

Factory for creating new ForkJoinWorkerThreads.

ForkJoinPool.ManagedBlocker

Interface for extending managed parallelism for tasks running in ForkJoinPools.

ForkJoinTask

Abstract base class for tasks that run within a ForkJoinPool.

ForkJoinWorkerThread

A thread managed by a ForkJoinPool, which executes ForkJoinTasks.

Format

Format is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.

Format.Field

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from Format.formatToCharacterIterator and as field identifiers in FieldPosition.

FormatException

FormatFlagsConversionMismatchException

Unchecked exception thrown when a conversion and flag are incompatible.

FormatStyle

Enumeration of the style of a localized date, time or date-time formatter.

Formattable

The Formattable interface must be implemented by any class that needs to perform custom formatting using the 's' conversion specifier of java.util.Formatter.

FormattableFlags

FormattableFlags are passed to the Formattable.formatTo() method and modify the output format for Formattables.

FormattedNumber

The result of a number formatting operation.

FormattedNumberRange

The result of a number range formatting operation.

FormattedValue

An abstract formatted value: a string with associated field attributes.

Formatter

Utility class to aid in formatting common values that are not covered by the java.util.Formatter class in java.util

Formatter

An interpreter for printf-style format strings.

Formatter

A Formatter provides support for formatting LogRecords.

Formatter.BigDecimalLayoutForm

Enum for BigDecimal formatting.

FormatterClosedException

Unchecked exception thrown when the formatter has been closed.

FormEditRecord

Record of a form filling operation that has been executed on a single form field in a PDF.

FormEditRecord.Builder

Builder for FormEditRecord

FormWidgetInfo

Information about a form widget of a PDF document.

FormWidgetInfo.Builder

Builder for FormWidgetInfo

FractionPrecision

A class that defines a rounding strategy based on a number of fraction places and optionally significant digits to be used when formatting numbers in NumberFormatter.

Fragment This class was deprecated in API level 28. Use the Jetpack Fragment Library androidx.fragment.app.Fragment for consistent behavior across all devices and access to Lifecycle.
Fragment.InstantiationException This exception was deprecated in API level 28. Use androidx.fragment.app.Fragment.InstantiationException
Fragment.SavedState This class was deprecated in API level 28. Use androidx.fragment.app.Fragment.SavedState
FragmentBreadCrumbs This class was deprecated in API level 21. This widget is no longer supported.
FragmentBreadCrumbs.OnBreadCrumbClickListener This interface was deprecated in API level 28. This widget is no longer supported.
FragmentContainer This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentContainer.
FragmentController This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentController
FragmentHostCallback This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentHostCallback
FragmentManager This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentManager for consistent behavior across all devices and access to Lifecycle.
FragmentManager.BackStackEntry This interface was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentManager.BackStackEntry
FragmentManager.FragmentLifecycleCallbacks This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentManager.FragmentLifecycleCallbacks
FragmentManager.OnBackStackChangedListener This interface was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentManager.OnBackStackChangedListener
FragmentManagerNonConfig This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentManagerNonConfig
FragmentTransaction This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.FragmentTransaction
FrameLayout

FrameLayout is designed to block out an area on the screen to display a single item.

FrameLayout.LayoutParams

Per-child layout information for layouts that support margins.

FrameMetrics

Class containing timing data for various milestones in a frame lifecycle reported by the rendering subsystem.

FrameStats

This is the base class for frame statistics.

Freezable

Provides a flexible mechanism for controlling access, without requiring that a class be immutable.

FreezePeriod

A class that represents one freeze period which repeats annually.

FrequencyCapFilters

A container for the ad filters that are based on frequency caps.

FrequencyCapFilters.Builder

Builder for creating FrequencyCapFilters objects.

FullBackupDataOutput

Provides the interface through which a BackupAgent writes entire files to a full backup data set, via its BackupAgent.onFullBackup(FullBackupDataOutput) method.

Function

Represents a function that accepts one argument and produces a result.

FunctionalInterface

An informative annotation type used to indicate that an interface type declaration is intended to be a functional interface as defined by the Java Language Specification.

Future

A represents the result of an asynchronous computation.

Future.State

Represents the computation state.

FutureTask

A cancellable asynchronous computation.

G

Gainmap

Gainmap represents a mechanism for augmenting an SDR image to produce an HDR one with variable display adjustment capability.

Gallery This class was deprecated in API level 16. This widget is no longer supported. Other horizontally scrolling widgets include HorizontalScrollView and androidx.viewpager.widget.ViewPager from the support library.
Gallery.LayoutParams This class was deprecated in API level 29. Deprecated in Java.
GameManager

The GameManager allows system apps to modify and query the game mode of apps.

GameState

State of the game passed to the GameManager.

GatewayInfo

Encapsulated gateway address information for outgoing call.

GatheringByteChannel

A channel that can write bytes from a sequence of buffers.

GCMParameterSpec

Specifies the set of parameters required by a using the Galois/Counter Mode (GCM) mode.

GeneralSecurityException

The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.

Generated

GenericArrayType

GenericArrayType represents an array type whose component type is either a parameterized type or a type variable.

GenericDeclaration

A common interface for all entities that declare type variables.

GenericDocument

Represents a document unit.

GenericDocument.Builder

The builder class for GenericDocument.

GenericSignatureFormatError

Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a type, method or constructor.

Geocoder

A class for handling geocoding and reverse geocoding.

Geocoder.GeocodeListener

A listener for asynchronous geocoding results.

GeolocationPermissions

This class is used to manage permissions for the WebView's Geolocation JavaScript API.

GeolocationPermissions.Callback

A callback interface used by the host application to set the Geolocation permission state for an origin.

GeomagneticField

Estimates magnetic field at a given point on Earth, and in particular, to compute the magnetic declination from true north.

Gesture

A gesture is a hand-drawn shape on a touch screen.

GestureDescription

Accessibility services with the android.R.styleable#AccessibilityService_canPerformGestures property can dispatch gestures.

GestureDescription.Builder

Builder for a GestureDescription

GestureDescription.StrokeDescription

Immutable description of stroke that can be part of a gesture.

GestureDetector

Detects various gestures and events using the supplied MotionEvents.

GestureDetector.OnContextClickListener

The listener that is used to notify when a context click occurs.

GestureDetector.OnDoubleTapListener

The listener that is used to notify when a double-tap or a confirmed single-tap occur.

GestureDetector.OnGestureListener

The listener that is used to notify when gestures occur.

GestureDetector.SimpleOnGestureListener

A convenience class to extend when you only want to listen for a subset of all the gestures.

GestureLibraries

GestureLibrary

GestureOverlayView

A transparent overlay for gesture input that can be placed on top of other widgets or contain other widgets.

GestureOverlayView.OnGestureListener

GestureOverlayView.OnGesturePerformedListener

GestureOverlayView.OnGesturingListener

GesturePoint

A timed point of a gesture stroke.

GestureStore

GestureLibrary maintains gesture examples and makes predictions on a new gesture

GestureStroke

A gesture stroke started on a touch down and ended on a touch up.

GestureUtils

Utility functions for gesture processing & analysis, including methods for:

  • feature extraction (e.g., samplers and those for calculating bounding boxes and gesture path lengths);
  • geometric transformation (e.g., translation, rotation and scaling);
  • gesture similarity comparison (e.g., calculating Euclidean or Cosine distances between two gestures).

GetAdSelectionDataOutcome

Represents ad selection data collected from device for ad selection.

GetAdSelectionDataRequest

Represents a request containing the information to get ad selection data.

GetAdSelectionDataRequest.Builder

Builder for GetAdSelectionDataRequest objects.

GetByDocumentIdRequest

Encapsulates a request to retrieve documents by namespace and IDs from the AppSearchSession database.

GetByDocumentIdRequest.Builder

Builder for GetByDocumentIdRequest objects.

GetChars

Please implement this interface if your CharSequence has a getChars() method like the one in String that is faster than calling charAt() multiple times.

GetCredentialException

Represents an error encountered during the CredentialManager.getCredential(Context, GetCredentialRequest, operation.

GetCredentialRequest

A request to retrieve the user credential, potentially launching UI flows to let the user pick from different credential sources.

GetCredentialRequest

Request for getting user's credential from a given credential provider.

GetCredentialRequest.Builder

A builder for GetCredentialRequest.

GetCredentialResponse

A response object that encapsulates the credential successfully retrieved from the user.

GetMedicalDataSourcesRequest

A create request for android.

GetMedicalDataSourcesRequest.Builder

Builder class for GetMedicalDataSourcesRequest.

GetSchemaResponse

The response class of AppSearchSession.getSchema

GetSchemaResponse.Builder

Builder for GetSchemaResponse objects.

GetTopicsRequest

Get Topics Request.

GetTopicsRequest.Builder

Builder for GetTopicsRequest objects.

GetTopicsResponse

Represent the result from the getTopics API.

GetTopicsResponse.Builder

Builder for GetTopicsResponse objects.

GetValueRequest

Request parameters to retrieve the current value of a Settings Preference.

GetValueRequest.Builder

Builder to construct GetValueRequest.

GetValueResult

Result object given a corresponding GetValueRequest.

GetValueResult.Builder

Builder to construct GetValueResult.

GetWalletCardsCallback

Handles response from the QuickAccessWalletService for GetWalletCardsRequest

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.

GL

GL10

GL10Ext

GL11

GL11Ext

GL11ExtensionPack

GLDebugHelper

A helper class for debugging OpenGL ES applications.

GLES10

GLES10Ext

GLES11

GLES11Ext

GLES20

OpenGL ES 2.

GLES30

OpenGL ES 3.

GLES31

OpenGL ES 3.

GLES31Ext

GLES31Ext.DebugProcKHR

GLES32

OpenGL ES 3.

GLES32.DebugProc

GLException

An exception class for OpenGL errors.

GlobalSearchSession

Provides a connection to all AppSearch databases the querying application has been granted access to.

GLSurfaceView

An implementation of SurfaceView that uses the dedicated surface for displaying OpenGL rendering.

GLSurfaceView.EGLConfigChooser

An interface for choosing an EGLConfig configuration from a list of potential configurations.

GLSurfaceView.EGLContextFactory

An interface for customizing the eglCreateContext and eglDestroyContext calls.

GLSurfaceView.EGLWindowSurfaceFactory

An interface for customizing the eglCreateWindowSurface and eglDestroySurface calls.

GLSurfaceView.GLWrapper

An interface used to wrap a GL interface.

GLSurfaceView.Renderer

A generic renderer interface.

GLU

A set of GL utilities inspired by the OpenGL Utility Toolkit.

GLUtils

Utility class to help bridging OpenGL ES and Android APIs.

GnssAntennaInfo

A class that contains information about a GNSS antenna.

GnssAntennaInfo.Builder

Builder class for GnssAntennaInfo.

GnssAntennaInfo.Listener

Used for receiving GNSS antenna info from the GNSS engine.

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.

GnssAutomaticGainControl.Builder

Builder for GnssAutomaticGainControl

GnssCapabilities

GNSS chipset capabilities.

GnssCapabilities.Builder

Builder for GnssCapabilities.

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.

GnssMeasurementRequest.Builder

Builder for GnssMeasurementRequest

GnssMeasurementsEvent

A class implementing a container for data associated with a measurement event.

GnssMeasurementsEvent.Builder

Builder for GnssMeasurementsEvent

GnssMeasurementsEvent.Callback

Used for receiving GNSS satellite measurements from the GNSS engine.

GnssNavigationMessage

A class containing a GNSS satellite Navigation Message.

GnssNavigationMessage.Callback

Used for receiving GNSS satellite Navigation Messages from the GNSS engine.

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.

GnssStatus.Builder

Builder class to help create new GnssStatus instances.

GnssStatus.Callback

Used for receiving notifications when GNSS events happen.

GpsSatellite This class was deprecated in API level 24. use GnssStatus and GnssStatus.Callback.
GpsStatus This class was deprecated in API level 24. Use GnssStatus instead.
GpsStatus.Listener This interface was deprecated in API level 24. Use GnssStatus.Callback instead.
GpsStatus.NmeaListener This interface was deprecated in API level 24. use OnNmeaMessageListener instead.
GpuHeadroomParams

Headroom request params used by SystemHealthManager.getGpuHeadroom(GpuHeadroomParams).

GpuHeadroomParams.Builder

GradientDrawable

A Drawable with a color gradient for buttons, backgrounds, etc.

GradientDrawable.Orientation

Controls how the gradient is oriented relative to the drawable's bounds

GrammaticalInflectionManager

This class allow applications to control granular grammatical inflection settings (such as per-app grammatical gender).

GraphemeClusterSegmentFinder

Implementation of SegmentFinder using grapheme clusters as the text segment.

Gravity

Standard constants and tools for placing an object within a potentially larger container.

GregorianCalendar

[icu enhancement] ICU's replacement for java.util.GregorianCalendar.

GregorianCalendar

GregorianCalendar is a concrete subclass of Calendar and provides the standard calendar system used by most of the world.

GridLayout

A layout that places its children in a rectangular grid.

GridLayout.Alignment

Alignments specify where a view should be placed within a cell group and what size it should be.

GridLayout.LayoutParams

Layout information associated with each of the children of a GridLayout.

GridLayout.Spec

A Spec defines the horizontal or vertical characteristics of a group of cells.

GridLayoutAnimationController

A layout animation controller is used to animated a grid layout's children.

GridLayoutAnimationController.AnimationParameters

The set of parameters that has to be attached to each view contained in the view group animated by the grid layout animation controller.

GridView

A view that shows items in two-dimensional scrolling grid.

Group This interface was deprecated in API level 33. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
GroupCall

Class used to represent a single MBMS group call.

GroupCallCallback

A callback class for use when the application is in a group call.

GroupPrincipal

A UserPrincipal representing a group identity, used to determine access rights to objects in a file system.

GsmCellLocation This class was deprecated in API level 31. use CellIdentity.
Guard

This interface represents a guard, which is an object that is used to protect access to another object.

GuardedObject

A GuardedObject is an object that is used to protect access to another object.

GZIPInputStream

This class implements a stream filter for reading compressed data in the GZIP file format.

GZIPOutputStream

This class implements a stream filter for writing compressed data in the GZIP file format.

H

Half

The Half class is a wrapper and a utility class to manipulate half-precision 16-bit IEEE 754 floating point data types (also called fp16 or binary16).

Handler

A Handler allows you to send and process Message and Runnable objects associated with a thread's MessageQueue.

Handler

A Handler object takes log messages from a Logger and exports them.

Handler.Callback

Callback interface you can use when instantiating a Handler to avoid having to implement your own subclass of Handler.

HandlerBase This class was deprecated in API level 9. This class works with the deprecated DocumentHandler interface. It has been replaced by the SAX2 DefaultHandler class.
HandlerThread

A Thread that has a Looper.

HandshakeCompletedEvent

This event indicates that an SSL handshake completed on a given SSL connection.

HandshakeCompletedListener

This interface is implemented by any class which wants to receive notifications about the completion of an SSL protocol handshake on a given SSL connection.

HandwritingGesture

Base class for stylus handwriting gestures.

HapticFeedbackConstants

Constants to be used to perform haptic feedback effects via View.performHapticFeedback(int)

HapticGenerator

Haptic Generator(HG).

HardwareBuffer

HardwareBuffer wraps a native AHardwareBuffer object, which is a low-level object representing a memory buffer accessible by various hardware units.

HardwareBufferRenderer

Creates an instance of a hardware-accelerated renderer.

HardwareBufferRenderer.RenderRequest

Sets the parameters that can be used to control a render request for a HardwareBufferRenderer.

HardwareBufferRenderer.RenderResult

Class that contains data regarding the result of the render request.

HardwarePropertiesManager

The HardwarePropertiesManager class provides a mechanism of accessing hardware state of a device: CPU, GPU and battery temperatures, CPU usage per core, fan speed, etc.

HardwareRenderer

Creates an instance of a hardware-accelerated renderer.

HardwareRenderer.FrameRenderRequest

Sets the parameters that can be used to control a render request for a HardwareRenderer.

HashMap

Hash table based implementation of the Map interface.

HashSet

This class implements the Set interface, backed by a hash table (actually a HashMap instance).

Hashtable

This class implements a hash table, which maps keys to values.

HdrConversionMode

Describes the HDR conversion mode for a device.

HeaderBlock

Unmodifiable container of headers or trailers.

HeaderViewListAdapter

ListAdapter used when a ListView has header views.

HealthConnectException

Class representing health connect exceptions.

HealthConnectManager

This class provides APIs to interact with the centralized HealthConnect storage maintained by the system.

HealthPermissions

Permissions for accessing the HealthConnect APIs.

HealthStats

A HealthStats object contains system health data about an application.

HeartRateRecord

Captures the user's heart rate.

HeartRateRecord.Builder

Builder class for HeartRateRecord

HeartRateRecord.HeartRateSample

A class to represent heart rate samples

HeartRateVariabilityRmssdRecord

Captures the user's heart rate variability RMSSD.

HeartRateVariabilityRmssdRecord.Builder

Builder class for HeartRateVariabilityRmssdRecord

HebrewCalendar

HebrewCalendar is a subclass of Calendar that that implements the traditional Hebrew calendar.

HeightRecord

Captures the user's height.

HeightRecord.Builder

Builder class for HeightRecord

HeterogeneousExpandableList

Additional methods that when implemented make an ExpandableListAdapter take advantage of the Adapter view type mechanism.

HexFormat

HexFormat converts between bytes and chars and hex-encoded strings which may include additional formatting markup such as prefixes, suffixes, and delimiters.

HideReturnsTransformationMethod

This transformation method causes any carriage return characters (\r) to be hidden by displaying them as zero-width non-breaking space characters (\uFEFF).

Highlights

A class that represents of the highlight of the text.

Highlights.Builder

A builder for the Highlights.

HijrahChronology

The Hijrah calendar is a lunar calendar supporting Islamic calendars.

HijrahDate

A date in the Hijrah calendar system.

HijrahEra

An era in the Hijrah calendar system.

HomeSp

Class representing HomeSP subtree in PerProviderSubscription (PPS) Management Object (MO) tree.

HorizontalScrollView

Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display.

HostApduService

HostApduService is a convenience Service class that can be extended to emulate an NFC card inside an Android service component.

HostNameResolver This interface was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
HostnameVerifier

This class is the base interface for hostname verification.

HostNfcFService

HostNfcFService is a convenience Service class that can be extended to emulate an NFC-F card inside an Android service component.

HostUsiVersion

Provides information about the supported Universal Stylus Initiative (USI) version of the host device.

HpkeSpi

Service Provider Interface for HPKE client API classes to communicate with implementations of HPKE as described in RFC 9180.

Html

This class processes HTML strings into displayable styled text.

Html.ImageGetter

Retrieves images for HTML <img> tags.

Html.TagHandler

Is notified when HTML tags are encountered that the parser does not know how to interpret.

HttpAuthHandler

Represents a request for HTTP authentication.

HttpConnectionParams This class was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
HttpCookie

An HttpCookie object represents an HTTP cookie, which carries state information between server and user agent.

HttpEngine

An engine to process UrlRequests, which uses the best HTTP stack available on the current platform.

HttpEngine.Builder

A builder for HttpEngines, which allows runtime configuration of HttpEngine.

HttpException

Base exception passed to UrlRequest.Callback.onFailed().

HttpParams This interface was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
HttpResponseCache

Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and bandwidth.

HttpRetryException

Thrown to indicate that a HTTP request needs to be retried but cannot be retried automatically, due to streaming mode being enabled.

HttpsURLConnection

HttpsURLConnection extends HttpURLConnection with support for https-specific features.

HttpURLConnection

A URLConnection with support for HTTP-specific features.

HydrationRecord

Captures the amount of liquids user had in a single drink.

HydrationRecord.Builder

Builder class for HydrationRecord

I

IBinder

Base interface for a remotable object, the core part of a lightweight remote procedure call mechanism designed for high performance when performing in-process and cross-process calls.

IBinder.DeathRecipient

Interface for receiving a callback when the process hosting an IBinder has gone away.

IBinder.FrozenStateChangeCallback

A callback interface for receiving frozen state change events.

IccOpenLogicalChannelResponse

Response to the android.

Icon

An umbrella container for several serializable graphics representations, including Bitmaps, compressed bitmap images (e.g. JPG or PNG), and drawable resources (including vectors).

Icon.OnDrawableLoadedListener

Implement this interface to receive a callback when loadDrawableAsync is finished and your Drawable is ready.

IconMarginSpan

Paragraph affecting span, that draws a bitmap at the beginning of a text.

ICUUncheckedIOException

Unchecked version of java.io.IOException.

Identity This class was deprecated in API level 3. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal.
IdentityChangedListener

Base class for Aware identity/cluster changes callbacks.

IdentityCredential

Class used to read data from a previously provisioned credential.

IdentityCredentialException

Base class for all Identity Credential exceptions.

IdentityCredentialStore

An interface to a secure store for user identity documents.

IdentityHashMap

This class implements the Map interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values).

IdentityScope This class was deprecated in API level 3. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.KeyStore, the java.security.cert package, and java.security.Principal.
IDN

Provides methods to convert internationalized domain names (IDNs) between a normal Unicode representation and an ASCII Compatible Encoding (ACE) representation.

IDNA

Abstract base class for IDNA processing.

IDNA.Error

IDNA error bit set values.

IDNA.Info

Output container for IDNA processing errors.

IInterface

Base class for Binder interfaces.

IkeDerAsn1DnIdentification

This class represents an IKE entity ID based on a DER encoded ASN.

IkeException

IkeException represents a generic exception that includes internal and protocol exceptions.

IkeFqdnIdentification

IkeFqdnIdentification represents an IKE entity identification based on a fully-qualified domain name (FQDN).

IkeIdentification

IkeIdentification is abstract base class that represents the common information for all types of IKE entity identification.

IkeInternalException

IkeInternalException encapsulates all local implementation or resource related exceptions.

IkeIOException

Wrapper for I/O exceptions encountered during IKE operations.

IkeIpv4AddrIdentification

IkeIpv4AddrIdentification represents an IKE entity identification based on IPv4 address.

IkeIpv6AddrIdentification

IkeIpv6AddrIdentification represents an IKE entity identification based on IPv6 address.

IkeKeyIdIdentification

IkeKeyIdIdentification represents an IKE entity identification based on a Key ID.

IkeNetworkLostException

IkeNetworkLostException is returned to the caller via android.net.ipsec.ike.IkeSessionCallback#onError(android.net.ipsec.ike.exceptions.IkeException) if the underlying Network for the was lost with no alternatives.

IkeNonProtocolException

IkeNonProtocolException encapsulates all implementation-specific non-protocol IKE errors.

IkeProtocolException

IkeProtocolException is an abstract class that represents the common information for all IKE protocol errors.

IkeRfc822AddrIdentification

IkeRfc822AddrIdentification represents an IKE entity identification based on a fully-qualified RFC 822 email address ID (e.g. ike@android.com).

IkeSaProposal

IkeSaProposal represents a proposed configuration to negotiate an IKE SA.

IkeSaProposal.Builder

This class is used to incrementally construct a IkeSaProposal.

IkeSession

This class represents an IKE Session management object that allows for keying and management of android.net.IpSecTransforms.

IkeSessionCallback

Callback interface for receiving state changes of an IkeSession.

IkeSessionConfiguration

IkeSessionConfiguration represents the negotiated configuration for a IkeSession.

IkeSessionConfiguration.Builder

This class can be used to incrementally construct a IkeSessionConfiguration.

IkeSessionConnectionInfo

IkeSessionConnectionInfo represents the connection information of an IkeSession.

IkeSessionParams

IkeSessionParams contains all user provided configurations for negotiating an IkeSession.

IkeSessionParams.Builder

This class can be used to incrementally construct a IkeSessionParams.

IkeSessionParams.IkeAuthConfig

This class contains common information of an IKEv2 authentication configuration.

IkeSessionParams.IkeAuthDigitalSignLocalConfig

This class represents the configuration to support IKEv2 public-key-signature-based authentication of the local side.

IkeSessionParams.IkeAuthDigitalSignRemoteConfig

This class represents the configuration to support IKEv2 public-key-signature-based authentication of the remote side.

IkeSessionParams.IkeAuthEapConfig

This class represents the configuration to support EAP authentication of the local side.

IkeSessionParams.IkeAuthPskConfig

This class represents the configuration to support IKEv2 pre-shared-key-based authentication of local or remote side.

IkeTimeoutException

This exception is thrown when there is an IKE retransmission timeout.

IkeTrafficSelector

IkeTrafficSelector represents a Traffic Selector of a Child Session.

IkeTunnelConnectionParams

IkeTunnelConnectionParams contains IKEv2 configurations to establish an IKE/IPsec tunnel.

Ikev2VpnProfile

The Ikev2VpnProfile is a configuration for the platform setup of IKEv2/IPsec VPNs.

Ikev2VpnProfile.Builder

A incremental builder for IKEv2 VPN profiles

IllegalAccessError

Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to.

IllegalAccessException

An IllegalAccessException is thrown when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.

IllegalArgumentException

Thrown to indicate that a method has been passed an illegal or inappropriate argument.

IllegalBlockingModeException

Unchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode.

IllegalBlockSizeException

This exception is thrown when the length of data provided to a block cipher is incorrect, i.

IllegalChannelGroupException

Unchecked exception thrown when an attempt is made to open a channel in a group that was not created by the same provider.

IllegalCharsetNameException

Unchecked exception thrown when a string that is not a legal charset name is used as such.

IllegalFormatCodePointException

Unchecked exception thrown when a character with an invalid Unicode code point as defined by Character.isValidCodePoint is passed to the Formatter.

IllegalFormatConversionException

Unchecked exception thrown when the argument corresponding to the format specifier is of an incompatible type.

IllegalFormatException

Unchecked exception thrown when a format string contains an illegal syntax or a format specifier that is incompatible with the given arguments.

IllegalFormatFlagsException

Unchecked exception thrown when an illegal combination flags is given.

IllegalFormatPrecisionException

Unchecked exception thrown when the precision is a negative value other than -1, the conversion does not support a precision, or the value is otherwise unsupported.

IllegalFormatWidthException

Unchecked exception thrown when the format width is a negative value other than -1 or is otherwise unsupported.

IllegalMonitorStateException

Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.

IllegalSelectorException

Unchecked exception thrown when an attempt is made to register a channel with a selector that was not created by the provider that created the channel.

IllegalStateException

Signals that a method has been invoked at an illegal or inappropriate time.

IllegalThreadStateException

Thrown to indicate that a thread is not in an appropriate state for the requested operation.

IllformedLocaleException

Thrown by methods in ULocale and ULocale.Builder to indicate that an argument is not a well-formed BCP 47 tag.

IllformedLocaleException

Thrown by methods in Locale and Locale.Builder to indicate that an argument is not a well-formed BCP 47 tag.

Image

A single complete image buffer to use with a media source such as a MediaCodec or a CameraDevice.

Image.Plane

A single color plane of image data.

ImageButton

Displays a button with an image (instead of text) that can be pressed or clicked by the user.

ImageDecoder

A class for converting encoded images (like PNG, JPEG, WEBP, GIF, or HEIF) into Drawable or Bitmap objects.

ImageDecoder.DecodeException

Information about an interrupted decode.

ImageDecoder.ImageInfo

Information about an encoded image.

ImageDecoder.OnHeaderDecodedListener

Interface for changing the default settings of a decode.

ImageDecoder.OnPartialImageListener

Interface for inspecting a DecodeException and potentially preventing it from being thrown.

ImageDecoder.Source

Source of encoded image data.

ImageFormat

ImageReader

The ImageReader class allows direct application access to image data rendered into a android.view.Surface

ImageReader.Builder

Builder class for ImageReader objects.

ImageReader.OnImageAvailableListener

Callback interface for being notified that a new image is available.

ImageSpan

Span that replaces the text it's attached to with a Drawable that can be aligned with the bottom or with the baseline of the surrounding text.

ImageSwitcher

ViewSwitcher that switches between two ImageViews when a new image is set on it.

ImageTransformation

Replaces the content of a child ImageView of a presentation template with the first image that matches a regular expression (regex).

ImageTransformation.Builder

Builder for ImageTransformation objects.

ImageView

Displays image resources, for example android.graphics.Bitmap or android.graphics.drawable.Drawable resources.

ImageView.ScaleType

Options for scaling the bounds of an image to the bounds of this view.

ImageWriter

The ImageWriter class allows an application to produce Image data into a android.view.Surface, and have it be consumed by another component like CameraDevice.

ImageWriter.Builder

Builder class for ImageWriter objects.

ImageWriter.OnImageReleasedListener

ImageWriter callback interface, used to to asynchronously notify the application of various ImageWriter events.

ImplicitDirectBootViolation

Subclass of Violation that is used when a process implicitly relies on automatic Direct Boot filtering.

ImsException

This class defines an IMS-related exception that has been thrown while interacting with a device or carrier provided ImsService implementation.

ImsManager

Provides access to information about Telephony IMS services on the device.

ImsMmTelManager

A manager for the MmTel (Multimedia Telephony) feature of an IMS network, given an associated subscription.

ImsMmTelManager.CapabilityCallback

Receives IMS capability status updates from the ImsService.

ImsRcsManager

Manager for interfacing with the framework RCS services, including the User Capability Exchange (UCE) service, as well as managing user settings.

ImsReasonInfo

Provides details on why an IMS call failed.

ImsRegistrationAttributes

Contains the attributes associated with the current IMS registration.

ImsRegistrationImplBase

Controls IMS registration for this ImsService and notifies the framework when the IMS registration for this ImsService has changed status.

ImsStateCallback

A callback class used for monitoring changes in IMS service connection states for a specific subscription.

InCallService

This service is implemented by an app that wishes to provide functionality for managing phone calls.

InCallService.VideoCall

Used to issue commands to the Connection.VideoProvider associated with a Call.

InCallService.VideoCall.Callback

The InCallService extends this class to provide a means of receiving callbacks from the Connection.VideoProvider.

IncompatibleClassChangeError

Thrown when an incompatible class change has occurred to some class definition.

IncompleteAnnotationException

Thrown to indicate that a program has attempted to access an element of an annotation interface that was added to the annotation interface definition after the annotation was compiled (or serialized).

IncorrectContextUseViolation

Incorrect usage of Context, such as obtaining a UI service from non-UI Context instance.

IndexedPropertyChangeEvent

An "IndexedPropertyChange" event gets delivered whenever a component that conforms to the JavaBeans™ specification (a "bean") changes a bound indexed property.

IndexOutOfBoundsException

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.

IndianCalendar

IndianCalendar is a subclass of GregorianCalendar that numbers years since the birth of the Buddha.

Inet4Address

This class represents an Internet Protocol version 4 (IPv4) address.

Inet6Address

This class represents an Internet Protocol version 6 (IPv6) address.

InetAddress

This class represents an Internet Protocol (IP) address.

InetAddresses

Utility methods for InetAddress implementations.

InetSocketAddress

This class implements an IP Socket Address (IP address + port number) It can also be a pair (hostname + port number), in which case an attempt will be made to resolve the hostname.

InferenceInput

Contains all the information needed for a run of model inference.

InferenceInput.Builder

A builder for InferenceInput

InferenceInput.Params

InferenceInput.Params.Builder

A builder for Params

InferenceOutput

The result returned by ModelManager.run.

InferenceOutput.Builder

A builder for InferenceOutput

InflateException

This exception is thrown by an inflater on error conditions.

Inflater

This class provides support for general purpose decompression using the popular ZLIB compression library.

InflaterInputStream

This class implements a stream filter for uncompressing data in the "deflate" compression format.

InflaterOutputStream

Implements an output stream filter for uncompressing data stored in the "deflate" compression format.

InheritableThreadLocal

This class extends ThreadLocal to provide inheritance of values from parent thread to child thread: when a child thread is created, the child receives initial values for all inheritable thread-local variables for which the parent has values.

Inherited

Indicates that an annotation interface is automatically inherited.

InlineContentView

This class represents a view that holds opaque content from another app that you can inline in your UI.

InlineContentView.SurfaceControlCallback

Callback for observing the lifecycle of the surface control that manipulates the backing secure embedded UI surface.

InlineExecutionProhibitedException

Thrown when an executor runs a submitted runnable inline in java.util.concurrent.Executor#execute(Runnable) and android.net.http.UrlRequest.Builder#setDirectExecutorAllowed was not called.

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.

InlinePresentationSpec.Builder

A builder for InlinePresentationSpec

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.

InlineSuggestionsRequest.Builder

A builder for InlineSuggestionsRequest

InlineSuggestionsResponse

This class represents an inline suggestion response.

InMemoryDexClassLoader

A ClassLoader implementation that loads classes from a buffer containing a DEX file.

InputBinding

Information given to an InputMethod about a client connecting to it.

InputConfiguration

Immutable class to store an input configuration that is used to create a reprocessable capture session.

InputConnection

The InputConnection interface is the communication channel from an InputMethod back to the application that is receiving its input.

InputConnectionWrapper

Wrapper class for proxying calls to another InputConnection.

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.

InputDevice.MotionRange

Provides information about the range of values for a particular MotionEvent axis.

InputDevice.ViewBehavior

Provides information on how views processing MotionEvents generated by this input device should respond to the events.

InputEvent

Common base class for input events.

InputFilter

InputFilters can be attached to Editables to constrain the changes that can be made to them.

InputFilter.AllCaps

This filter will capitalize all the lowercase and titlecase letters that are added through edits.

InputFilter.LengthFilter

This filter will constrain edits not to make the length of the text greater than the specified length.

InputManager

Provides information about input devices and available key layouts.

InputManager.InputDeviceListener

Listens for changes in input devices.

InputMethod

This class provides input method APIs.

InputMethod

The InputMethod interface represents an input method which can generate key events and text, such as digital, email addresses, CJK characters, other language characters, and etc.

InputMethod.AccessibilityInputConnection

This class provides the allowed list of InputConnection APIs for accessibility services.

InputMethod.SessionCallback

InputMethodInfo

This class is used to specify meta information of an input method.

InputMethodManager

Central system API to the overall input method framework (IMF) architecture, which arbitrates interaction between applications and the current input method.

InputMethodService

InputMethodService provides a standard implementation of an InputMethod, which final implementations can derive from and customize.

InputMethodService.InputMethodImpl

Concrete implementation of AbstractInputMethodService.AbstractInputMethodImpl that provides all of the standard behavior for an input method.

InputMethodService.InputMethodSessionImpl

Concrete implementation of AbstractInputMethodService.AbstractInputMethodSessionImpl that provides all of the standard behavior for an input method session.

InputMethodService.Insets

Information about where interesting parts of the input method UI appear.

InputMethodSession

The InputMethodSession interface provides the per-client functionality of InputMethod that is safe to expose to applications.

InputMethodSession.EventCallback

InputMethodSubtype

This class is used to specify meta information of a subtype contained in an input method editor (IME).

InputMethodSubtype.InputMethodSubtypeBuilder

InputMethodSubtypeBuilder is a builder class of InputMethodSubtype.

InputMismatchException

Thrown by a Scanner to indicate that the token retrieved does not match the pattern for the expected type, or that the token is out of range for the expected type.

InputQueue

An input queue provides a mechanism for an application to receive incoming input events.

InputQueue.Callback

Interface to receive notification of when an InputQueue is associated and dissociated with a thread.

InputSource

A single input source for an XML entity.

InputStream

This abstract class is the superclass of all classes representing an input stream of bytes.

InputStreamReader

An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified .

InputTransferToken

A token that can be used to request focus on or to transfer touch gesture to a SurfaceControlViewHost or android.view.SurfaceControl that has an input channel.

InputType

Bit definitions for an integer defining the basic content type of text held in an Editable object.

InsertGesture

A sub-class of HandwritingGesture for inserting text at the defined insertion point.

InsertGesture.Builder

Builder for InsertGesture.

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.

InsertModeGesture.Builder

Builder for InsertModeGesture.

InsertRecordsResponse

Response for HealthConnectManager.insertRecords.

InsetDrawable

A Drawable that insets another Drawable by a specified distance or fraction of the content bounds.

Insets

An Insets instance holds four integer offsets which describe changes to the four edges of a Rectangle.

InspectionCompanion

An interface for companion objects used to inspect views.

InspectionCompanion.UninitializedPropertyMapException

Thrown by readProperties(java.lang.Object,android.view.inspector.PropertyReader) if called before mapProperties(android.view.inspector.PropertyMapper).

InspectionCompanionProvider

An interface for services that can provide inspection companions for a class.

InstallSourceInfo

Information about how an app was installed.

InstanceCountViolation

Instant

An instantaneous point on the time-line.

InstantiationError

Thrown when an application tries to use the Java new construct to instantiate an abstract class or an interface.

InstantiationException

Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated.

InstantRecord

A record that contains a measurement recorded as an instance .

InstantSource

Provides access to the current instant.

Instrumentation

Base class for implementing application instrumentation code.

Instrumentation.ActivityMonitor

Information about a particular kind of Intent that is being monitored.

Instrumentation.ActivityResult

Description of a Activity execution result to return to the original activity.

InstrumentationInfo

Information you can retrieve about a particular piece of test instrumentation.

InstrumentationTestCase This class was deprecated in API level 24. Use InstrumentationRegistry instead. New tests should be written using the AndroidX Test Library.
InstrumentationTestRunner This class was deprecated in API level 24. Use AndroidJUnitRunner instead. New tests should be written using the Android Testing Support Library.
InstrumentationTestSuite This class was deprecated in API level 24. Use InstrumentationRegistry instead. New tests should be written using the Android Testing Support Library.
Int2 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Int3 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Int4 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Int64Ref

A signed 64bit integer reference suitable for passing to lower-level system calls.

IntArrayEvaluator

This evaluator can be used to perform type interpolation between int[] values.

IntBinaryOperator

Represents an operation upon two int-valued operands and producing an int-valued result.

IntBuffer

An int buffer.

IntConsumer

Represents an operation that accepts a single int-valued argument and returns no result.

Integer

The Integer class wraps a value of the primitive type int in an object.

IntegerWidth

A class that defines the strategy for padding and truncating integers before the decimal separator.

Intent

An intent is an abstract description of an operation to be performed.

Intent.FilterComparison

Wrapper class holding an Intent and implementing comparisons on it for the purpose of filtering.

Intent.ShortcutIconResource

Represents a shortcut/live folder icon resource.

IntentFilter

Structured description of Intent values to be matched.

IntentFilter.AuthorityEntry

This is an entry for a single authority in the Iterator returned by authoritiesIterator().

IntentFilter.MalformedMimeTypeException

This exception is thrown when a given MIME type does not have a valid syntax.

IntentReceiverLeakedViolation

IntentSender

A description of an Intent and target action to perform with it.

IntentSender.OnFinished

Callback interface for discovering when a send operation has completed.

IntentSender.SendIntentException

Exception thrown when trying to send through a PendingIntent that has been canceled or is otherwise no longer able to execute the request.

IntentService This class was deprecated in API level 30. IntentService is subject to all the background execution limits imposed with Android 8.0 (API level 26). Consider using androidx.work.WorkManager instead.
InterfaceAddress

This class represents a Network Interface address.

IntermenstrualBleedingRecord

Captures the user's inter-menstrual bleeding.

IntermenstrualBleedingRecord.Builder

Builder class for IntermenstrualBleedingRecord

InternalError

Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.

Interpolator

Interpolator

An interpolator defines the rate of change of an animation.

Interpolator.Result

InterruptedByTimeoutException

Checked exception received by a thread when a timeout elapses before an asynchronous operation completes.

InterruptedException

Thrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.

InterruptedIOException

Signals that an I/O operation has been interrupted.

InterruptibleChannel

A channel that can be asynchronously closed and interrupted.

IntervalRecord

A record that contains a measurement with a time interval.

IntEvaluator

This evaluator can be used to perform type interpolation between int values.

IntFlagMapping

Maps the values of an int property to sets of string for properties that encode flags.

IntFunction

Represents a function that accepts an int-valued argument and produces a result.

IntPredicate

Represents a predicate (boolean-valued function) of one int-valued argument.

IntProperty

An implementation of android.util.Property to be used specifically with fields of type int.

IntStream

A sequence of primitive int-valued elements supporting sequential and parallel aggregate operations.

IntStream.Builder

A mutable builder for an IntStream.

IntStream.IntMapMultiConsumer

Represents an operation that accepts an int-valued argument and an IntConsumer, and returns no result.

IntSummaryStatistics

A state object for collecting statistics such as count, min, max, sum, and average.

IntSupplier

Represents a supplier of int-valued results.

IntToDoubleFunction

Represents a function that accepts an int-valued argument and produces a double-valued result.

IntToLongFunction

Represents a function that accepts an int-valued argument and produces a long-valued result.

IntUnaryOperator

Represents an operation on a single int-valued operand that produces an int-valued result.

InvalidAlgorithmParameterException

This is the exception for invalid or inappropriate algorithm parameters.

InvalidClassException

Thrown when the Serialization runtime detects one of the following problems with a Class.

InvalidForegroundServiceTypeException

Exception thrown when an app tries to start a foreground Service with an invalid type.

InvalidKeException

This exception is thrown when the remote server expected a different Diffie-Hellman group.

InvalidKeyException

This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).

InvalidKeySpecException

This is the exception for invalid key specifications.

InvalidMajorVersionException

This exception is thrown when major version of an inbound message is higher than 2.

InvalidMarkException

Unchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined.

InvalidObjectException

Indicates that one or more deserialized objects failed validation tests.

InvalidParameterException

This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.

InvalidParameterSpecException

This is the exception for invalid parameter specifications.

InvalidPathException

Unchecked exception thrown when path string cannot be converted into a Path because the path string contains invalid characters, or the path string is invalid for other file system specific reasons.

InvalidPreferencesFormatException

Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of preferences, as per the Preferences specification.

InvalidPropertiesFormatException

Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of properties, as per the Properties specification.

InvalidReaderSignatureException

Thrown if the reader signature is invalid, or it doesn't contain a certificate chain, or if the signature failed to validate.

InvalidRequestMessageException

Thrown if message with the request doesn't satisfy the requirements documented in android.

InvalidSelectorsException

This exception is thrown if the remote server received an IPsec packet with mismatched selectors.

InvocationHandler

InvocationHandler is the interface implemented by the invocation handler of a proxy instance.

InvocationTargetException

InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.

IOError

Thrown when a serious I/O error has occurred.

IOException

Signals that an I/O exception of some sort has occurred.

IpConfiguration

A class representing the IP configuration of a network.

IpConfiguration.Builder

Builder used to construct IpConfiguration objects.

IpPrefix

This class represents an IP prefix, i.

IpSecAlgorithm

This class represents a single algorithm that can be used by an IpSecTransform.

IpSecManager

This class contains methods for managing IPsec sessions.

IpSecManager.ResourceUnavailableException

Thrown to indicate that an IPsec resource is unavailable.

IpSecManager.SecurityParameterIndex

This class represents a reserved SPI.

IpSecManager.SpiUnavailableException

Thrown to indicate that a requested SPI is in use.

IpSecManager.UdpEncapsulationSocket

This class provides access to a UDP encapsulation Socket.

IpSecTransform

This class represents a transform, which roughly corresponds to an IPsec Security Association.

IpSecTransform.Builder

This class is used to build IpSecTransform objects.

IpSecTransformState

This class represents a snapshot of the state of an IpSecTransform

IpSecTransformState.Builder

Builder class for testing purposes

IslamicCalendar

IslamicCalendar is a subclass of Calendar that that implements the Islamic civil and religious calendars.

IslamicCalendar.CalculationType

enumeration of available calendar calculation types

IsoChronology

The ISO calendar system.

IsoDep

Provides access to ISO-DEP (ISO 14443-4) properties and I/O operations on a Tag.

IsoEra

An era in the ISO calendar system.

IsoFields

Fields and units specific to the ISO-8601 calendar system, including quarter-of-year and week-based-year.

IsolatedContext This class was deprecated in API level 24. New tests should be written using the Android Testing Support Library.
IsolatedService

Base class for services that are started by ODP on a call to OnDevicePersonalizationManager#execute(ComponentName, PersistableBundle, java.util.concurrent.Executor, OutcomeReceiver) and run in an isolated process.

IsolatedServiceException

A class that an IsolatedService can use to signal a failure in handling a request and return an error to be logged and aggregated.

IsolatedWorker

Interface with methods that need to be implemented to handle requests from the OnDevicePersonalization service to an IsolatedService.

Iterable

Implementing this interface allows an object to be the target of the enhanced for statement (sometimes called the "for-each loop" statement).

Iterator

An iterator over a collection.

IvParameterSpec

This class specifies an initialization vector (IV).

J

JapaneseCalendar

JapaneseCalendar is a subclass of GregorianCalendar that numbers years and eras based on the reigns of the Japanese emperors.

JapaneseChronology

The Japanese Imperial calendar system.

JapaneseDate

A date in the Japanese Imperial calendar system.

JapaneseEra

An era in the Japanese Imperial calendar system.

JarEntry

This class is used to represent a JAR file entry.

JarException

Signals that an error of some sort has occurred while reading from or writing to a JAR file.

JarFile

The JarFile class is used to read the contents of a jar file from any file that can be opened with java.io.RandomAccessFile.

JarInputStream

The JarInputStream class is used to read the contents of a JAR file from any input stream.

JarOutputStream

The JarOutputStream class is used to write the contents of a JAR file to any output stream.

JarURLConnection

A URL Connection to a Java ARchive (JAR) file or an entry in a JAR file.

JavascriptInterface

Annotation that allows exposing methods to JavaScript.

JetPlayer

JetPlayer provides access to JET content playback and control.

JetPlayer.OnJetEventListener

Handles the notification when the JET engine generates an event.

JobInfo

Container of data passed to the android.app.job.JobScheduler fully encapsulating the parameters required to schedule work against the calling application.

JobInfo.Builder

Builder class for constructing JobInfo objects.

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.

JobScheduler

This is an API for scheduling various types of jobs against the framework that will be executed in your application's own process.

JobService

Entry point for the callback from the android.app.job.JobScheduler.

JobServiceEngine

Helper for implementing a android.app.Service that interacts with JobScheduler.

JobWorkItem

A unit of work that can be enqueued for a job using JobScheduler.enqueue.

JobWorkItem.Builder

Builder class for constructing JobWorkItem objects.

JoinCustomAudienceRequest

The request object to join a custom audience.

JoinCustomAudienceRequest.Builder

Builder for JoinCustomAudienceRequest objects.

JoinOrSplitGesture

A subclass of HandwritingGesture for deleting or inserting whitespace in text.

JoinOrSplitGesture.Builder

Builder for JoinOrSplitGesture.

JoinSpec

This class represents the specifications for the joining operation in search.

JoinSpec.Builder

Builder for objects.

JSONArray

A dense indexed sequence of values.

JSONException

Thrown to indicate a problem with the JSON API.

JSONObject

A modifiable set of name/value mappings.

JsonReader

Reads a JSON (RFC 4627) encoded value as a stream of tokens.

JSONStringer

Implements org.

JsonToken

A structure, name or value type in a JSON-encoded string.

JSONTokener

Parses a JSON (RFC 4627) encoded string into the corresponding object.

JsonWriter

Writes a JSON (RFC 4627) encoded value to a stream, one token at a time.

JsPromptResult

Public class for handling JavaScript prompt requests.

JsResult

An instance of this class is passed as a parameter in various WebChromeClient action notifications.

JulianFields

A set of date fields that provide access to Julian Days.

K

Key

The Key interface is the top-level interface for all keys.

KeyAgreement

This class provides the functionality of a key agreement (or key exchange) protocol.

KeyAgreementSpi

This class defines the Service Provider Interface (SPI) for the KeyAgreement class.

Keyboard This class was deprecated in API level 29. This class is deprecated because this is just a convenient UI widget class that application developers can re-implement on top of existing public APIs. If you have already depended on this class, consider copying the implementation from AOSP into your project or re-implementing a similar widget by yourselves
Keyboard.Key This class was deprecated in API level 29. Deprecated in Java.
Keyboard.Row This class was deprecated in API level 29. Deprecated in Java.
KeyboardShortcutGroup

A group of KeyboardShortcutInfo.

KeyboardShortcutInfo

Information about a Keyboard Shortcut.

KeyboardView This class was deprecated in API level 29. This class is deprecated because this is just a convenient UI widget class that application developers can re-implement on top of existing public APIs. If you have already depended on this class, consider copying the implementation from AOSP into your project or re-implementing a similar widget by yourselves
KeyboardView.OnKeyboardActionListener This interface was deprecated in API level 29. Deprecated in Java.
KeyChain

The KeyChain class provides access to private keys and their corresponding certificate chains in credential storage.

KeyChainAliasCallback

The KeyChainAliasCallback is the callback for android.

KeyChainException

Thrown on problems accessing the KeyChain.

KeyCharacterMap

Describes the keys provided by a keyboard device and their associated labels.

KeyCharacterMap.KeyData This class was deprecated in API level 11. instead use KeyCharacterMap.getDisplayLabel(int), KeyCharacterMap.getNumber(int) and KeyCharacterMap.get(int, int).
KeyCharacterMap.UnavailableException

Thrown by KeyCharacterMap.load when a key character map could not be loaded.

KeyedFrequencyCap

A frequency cap for a specific ad counter key.

KeyedFrequencyCap.Builder

Builder for creating KeyedFrequencyCap objects.

KeyEvent

Object used to report key and button events.

KeyEvent.Callback

KeyEvent.DispatcherState

Use with KeyEvent.dispatch(Callback, DispatcherState, Object) for more advanced key dispatching, such as long presses.

KeyException

This is the basic key exception.

KeyExpiredException

Indicates that a cryptographic operation failed because the employed key's validity end date is in the past.

KeyFactory

Key factories are used to convert keys (opaque cryptographic keys of type Key) into key specifications (transparent representations of the underlying key material), and vice versa.

KeyFactorySpi

This class defines the Service Provider Interface (SPI) for the KeyFactory class.

Keyframe

This class holds a time/value pair for an animation.

KeyGenerator

This class provides the functionality of a secret (symmetric) key generator.

KeyGeneratorSpi

This class defines the Service Provider Interface (SPI) for the KeyGenerator class.

KeyGenParameterSpec

AlgorithmParameterSpec for initializing a KeyPairGenerator or a KeyGenerator of the Android Keystore system.

KeyGenParameterSpec.Builder

Builder of KeyGenParameterSpec instances.

KeyguardManager

Class to manage and query the state of the lock screen (also known as Keyguard).

KeyguardManager.KeyguardDismissCallback

Callback passed to KeyguardManager.requestDismissKeyguard(Activity, KeyguardDismissCallback) to notify caller of result.

KeyguardManager.KeyguardLock This class was deprecated in API level 15. Use android.R.attr#showWhenLocked or android.app.Activity#setShowWhenLocked(boolean) instead. This allows you to seamlessly occlude and unocclude the keyguard as your application moves in and out of the foreground and does not require that any special permissions be requested.
KeyguardManager.KeyguardLockedStateListener

Listener for keyguard locked state changes.

KeyguardManager.OnKeyguardExitResult This interface was deprecated in API level 26. Use KeyguardDismissCallback
KeyInfo

Information about a key from the Android Keystore system.

KeyListener

Interface for converting text key events into edit operations on an Editable class.

KeyManagementException

This is the general key management exception for all operations dealing with key management.

KeyManager

This is the base interface for JSSE key managers.

KeyManagerFactory

This class acts as a factory for key managers based on a source of key material.

KeyManagerFactorySpi

This class defines the Service Provider Interface (SPI) for the KeyManagerFactory class.

KeyNotYetValidException

Indicates that a cryptographic operation failed because the employed key's validity start date is in the future.

KeyPair

This class is a simple holder for a key pair (a public key and a private key).

KeyPairGenerator

The KeyPairGenerator class is used to generate pairs of public and private keys.

KeyPairGeneratorSpec This class was deprecated in API level 23. Use KeyGenParameterSpec instead.
KeyPairGeneratorSpec.Builder This class was deprecated in API level 23. Use KeyGenParameterSpec.Builder instead.
KeyPairGeneratorSpi

This class defines the Service Provider Interface (SPI) for the KeyPairGenerator class, which is used to generate pairs of public and private keys.

KeyPermanentlyInvalidatedException

Indicates that the key can no longer be used because it has been permanently invalidated.

KeyProperties

Properties of Android Keystore keys.

KeyProtection

Specification of how a key or key pair is secured when imported into the Android Keystore system.

KeyProtection.Builder

Builder of KeyProtection instances.

KeyRep

Standardized representation for serialized Key objects.

KeyRep.Type

Key type.

KeySpec

A (transparent) specification of the key material that constitutes a cryptographic key.

KeyStore

This class represents a storage facility for cryptographic keys and certificates.

KeyStore.Builder

A description of a to-be-instantiated KeyStore object.

KeyStore.CallbackHandlerProtection

A ProtectionParameter encapsulating a CallbackHandler.

KeyStore.Entry

A marker interface for KeyStore entry types.

KeyStore.Entry.Attribute

An attribute associated with a keystore entry.

KeyStore.LoadStoreParameter

A marker interface for KeyStore load and store parameters.

KeyStore.PasswordProtection

A password-based implementation of ProtectionParameter.

KeyStore.PrivateKeyEntry

A KeyStore entry that holds a PrivateKey and corresponding certificate chain.

KeyStore.ProtectionParameter

A marker interface for keystore protection parameters.

KeyStore.SecretKeyEntry

A KeyStore entry that holds a SecretKey.

KeyStore.TrustedCertificateEntry

A KeyStore entry that holds a trusted Certificate.

KeyStoreBuilderParameters

A parameters object for X509KeyManagers that encapsulates a List of KeyStore.

KeyStoreException

Exception containing information about the failure at the Keystore / KeyMint layer while generating or using a key.

KeyStoreException

This is the generic KeyStore exception.

KeyStoreManager

This class provides methods for interacting with keys stored within the Android Keystore.

KeyStoreParameter This class was deprecated in API level 23. Use KeyProtection instead.
KeyStoreParameter.Builder This class was deprecated in API level 23. Use KeyProtection.Builder instead.
KeyStoreSpi

This class defines the Service Provider Interface (SPI) for the KeyStore class.

KeyValueStore

An interface to a read-only key-value store.

L

L2capNetworkSpecifier

A NetworkSpecifier used to identify an L2CAP network over BLE.

L2capNetworkSpecifier.Builder

A builder class for L2capNetworkSpecifier.

LabeledIntent

A special subclass of Intent that can have a custom label/icon associated with it.

LambdaConversionException

LambdaConversionException

LargeTest This annotation was deprecated in API level 24. Use LargeTest instead. New tests should be written using the Android Testing Support Library.
LastOwnerException This exception was deprecated in API level 33. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
LauncherActivity This class was deprecated in API level 30. Applications can implement this UI themselves using androidx.recyclerview.widget.RecyclerView and android.content.pm.PackageManager#queryIntentActivities(Intent, int)
LauncherActivity.IconResizer This class was deprecated in API level 30. Deprecated in Java.
LauncherActivity.ListItem This class was deprecated in API level 30. Deprecated in Java.
LauncherActivityInfo

A representation of an activity that can belong to this user or a managed profile associated with this user.

LauncherApps

Class for retrieving a list of launchable activities for the current user and any associated managed profiles that are visible to the current user, which can be retrieved with getProfiles.

LauncherApps.ArchiveCompatibilityParams

Used to enable Archiving compatibility options with setArchiveCompatibility.

LauncherApps.Callback

Callbacks for package changes to this and related managed profiles.

LauncherApps.PinItemRequest

Represents a "pin shortcut" or a "pin appwidget" request made by an app, which is sent with an ACTION_CONFIRM_PIN_SHORTCUT or ACTION_CONFIRM_PIN_APPWIDGET intent respectively to the default launcher app.

LauncherApps.ShortcutQuery

Represents a query passed to getShortcuts(android.content.pm.LauncherApps.ShortcutQuery,android.os.UserHandle).

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).

LaunchPerformanceBase This class was deprecated in API level 36. Deprecated in Java.
LayerDrawable

A Drawable that manages an array of other Drawables.

LayeredSocketFactory This interface was deprecated in API level 22. Please use java.net.URL#openConnection instead. Please visit this webpage for further details.
Layout

A base class that manages text layout in visual elements on the screen.

Layout.Alignment

Layout.Builder

A builder class for Layout object.

Layout.Directions

Stores information about bidirectional (left-to-right or right-to-left) text within the layout of a line.

Layout.TextInclusionStrategy

Strategy for determining whether a text segment is inside a rectangle area.

LayoutAnimationController

A layout animation controller is used to animate the children of a layout or a view group.

LayoutAnimationController.AnimationParameters

The set of parameters that has to be attached to each view contained in the view group animated by the layout animation controller.

LayoutDirection

A class for defining layout directions.

LayoutInflater

Instantiates a layout XML file into its corresponding android.view.View objects.

LayoutInflater.Factory

LayoutInflater.Factory2

LayoutInflater.Filter

Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.

LayoutTransition

This class enables automatic animations on layout changes in ViewGroup objects.

LayoutTransition.TransitionListener

This interface is used for listening to starting and ending events for transitions.

LDAPCertStoreParameters

Parameters used as input for the LDAP CertStore algorithm.

LeadingMarginSpan

A paragraph style affecting the leading margin.

LeadingMarginSpan.LeadingMarginSpan2

An extended version of LeadingMarginSpan, which allows the implementor to specify the number of lines of the paragraph to which this object is attached that the "first line of paragraph" margin width will be applied to.

LeadingMarginSpan.Standard

The standard implementation of LeadingMarginSpan, which adjusts the margin but does not do any rendering.

LeakedClosableViolation

LeanBodyMassRecord

Captures the user's lean body mass.

LeanBodyMassRecord.Builder

Builder class for LeanBodyMassRecord

LeaveCustomAudienceRequest

The request object is used to leave a custom audience.

LeaveCustomAudienceRequest.Builder

Builder for LeaveCustomAudienceRequest objects.

Length

Represents a unit of length.

LensIntrinsicsSample

Immutable class to store an lens intrinsics intra-frame sample.

LensShadingMap

Immutable class for describing a 4 x N x M lens shading map of floats.

Level

The Level class defines a set of standard logging levels that can be used to control logging output.

LevelListDrawable

A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.

LexicalHandler

SAX2 extension handler for lexical events.

Light

Represents a logical light on the device.

LightingColorFilter

A color filter that can be used to simulate simple lighting effects.

LightsManager

The LightsManager class allows control over device lights.

LightsManager.LightsSession

Encapsulates a session that can be used to control device lights and represents the lifetime of the requests.

LightsRequest

Encapsulates a request to modify the state of multiple lights.

LightsRequest.Builder

Builder for creating device light change requests.

LightState

Represents the state of a device light.

LightState.Builder

Builder for creating device light change requests.

LimitExceededException

Indicates that the app has exceeded a limit set by the System.

LinearGradient

LinearInterpolator

An interpolator where the rate of change is constant

LinearLayout

A layout that arranges other views either horizontally in a single column or vertically in a single row.

LinearLayout.LayoutParams

Per-child layout information associated with ViewLinearLayout.

LineBackgroundSpan

Used to change the background of lines where the span is attached to.

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.

LineBreakConfig.Builder

A builder for creating a LineBreakConfig instance.

LineBreakConfigSpan

LineBreakSpan for changing line break style of the specific region of the text.

LineBreaker

Provides automatic line breaking for a single paragraph.

LineBreaker.Builder

Helper class for creating a LineBreaker.

LineBreaker.ParagraphConstraints

Line breaking constraints for single paragraph.

LineBreaker.Result

Holds the result of the line breaking algorithm.

LineHeightSpan

The classes that affect the line height of paragraph should implement this interface.

LineHeightSpan.Standard

Default implementation of the LineHeightSpan, which changes the line height of the attached paragraph.

LineHeightSpan.WithDensity

The classes that affect the line height of paragraph with respect to density, should implement this interface.

LineNumberInputStream This class was deprecated in API level 1. This class incorrectly assumes that bytes adequately represent characters. As of JDK 1.1, the preferred way to operate on character streams is via the new character-stream classes, which include a class for counting line numbers.
LineNumberReader

A buffered character-input stream that keeps track of line numbers.

LinkAddress

Identifies an IP address on a network link.

LinkageError

Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.

LinkedBlockingDeque

An optionally-bounded blocking deque based on linked nodes.

LinkedBlockingQueue

An optionally-bounded blocking queue based on linked nodes.

LinkedHashMap

Hash table and linked list implementation of the Map interface, with well-defined encounter order.

LinkedHashSet

Hash table and linked list implementation of the Set interface, with well-defined encounter order.

LinkedList

Doubly-linked list implementation of the List and Deque interfaces.

LinkedTransferQueue

An unbounded TransferQueue based on linked nodes.

Linkify

Linkify take a piece of text and a regular expression and turns all of the regex matches in the text into clickable links.

Linkify.MatchFilter

MatchFilter enables client code to have more control over what is allowed to match and become a link, and what is not.

Linkify.TransformFilter

TransformFilter enables client code to have more control over how matched patterns are represented as URLs.

LinkMovementMethod

A movement method that traverses links in the text buffer and scrolls if necessary.

LinkOption

Defines the options as to how symbolic links are handled.

LinkPermission

The Permission class for link creation operations.

LinkProperties

Describes the properties of a network link.

List

An ordered collection, where the user has precise control over where in the list each element is inserted.

ListActivity This class was deprecated in API level 30. Use androidx.fragment.app.ListFragment or androidx.recyclerview.widget.RecyclerView to implement your Activity instead.
ListAdapter

Extended Adapter that is the bridge between a ListView and the data that backs the list.

ListFormatter

Immutable class for formatting a list, using data from CLDR (or supplied separately).

ListFormatter.FormattedList

An immutable class containing the result of a list formatting operation.

ListFormatter.Type

Type of meaning expressed by the list.

ListFormatter.Width

Verbosity level of the list patterns.

ListFragment This class was deprecated in API level 28. Use the Support Library androidx.fragment.app.ListFragment for consistent behavior across all devices and access to Lifecycle.
ListItem

Represents a single option in a combo box or list box PDF form widget.

ListIterator

An iterator for lists that allows the programmer to traverse the list in either direction, modify the list during iteration, and obtain the iterator's current position in the list.

ListPopupWindow

A ListPopupWindow anchors itself to a host view and displays a list of choices.

ListPreference 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.
ListResourceBundle

ListResourceBundle is an abstract subclass of ResourceBundle that manages resources for a locale in a convenient and easy to use list.

ListView

Displays a vertically-scrollable collection of views, where each view is positioned immediately below the previous view in the list.

ListView.FixedViewInfo

A class that represents a fixed view in a list, for example a header at the top or a footer at the bottom.

LiveFolders This class was deprecated in API level 14. Live folders are no longer supported by Android. These have been replaced by the new AppWidget Collection APIs introduced in android.os.Build.VERSION_CODES#HONEYCOMB. These provide all of the features of live folders plus many more. The use of live folders is greatly discouraged because of security issues they introduce -- publishing a live folder requires making all data show for the live folder available to all applications with no permissions protecting it.
Loader This class was deprecated in API level 28. Use the Support Library androidx.loader.content.Loader
Loader.ForceLoadContentObserver This class was deprecated in API level 28. Use androidx.loader.content.Loader.ForceLoadContentObserver
Loader.OnLoadCanceledListener This interface was deprecated in API level 28. Use androidx.loader.content.Loader.OnLoadCanceledListener
Loader.OnLoadCompleteListener This interface was deprecated in API level 28. Use androidx.loader.content.Loader.OnLoadCompleteListener
LoaderManager This class was deprecated in API level 28. Use the Support Library androidx.loader.app.LoaderManager
LoaderManager.LoaderCallbacks This interface was deprecated in API level 28. Use the Support Library androidx.loader.app.LoaderManager.LoaderCallbacks
LoaderTestCase

A convenience class for testing Loaders.

LoadParams

Represents a set of parameters to load the PDF document.

LoadParams.Builder

Builder for constructing LoadParams.

LoadSdkException

Exception thrown by SdkSandboxManager.loadSdk

LocalActivityManager This class was deprecated in API level 13. Use the new Fragment and FragmentManager APIs instead; these are also available on older platforms through the Android compatibility package.
LocalDate

A date without a time-zone in the ISO-8601 calendar system, such as 2007-12-03.

LocalDateTime

A date-time without a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30.

Locale

A object represents a specific geographical, political, or cultural region.

Locale.Builder

Builder is used to build instances of Locale from values configured by the setters.

Locale.Category

Enum for locale categories.

Locale.FilteringMode

This enum provides constants to select a filtering mode for locale matching.

Locale.IsoCountryCode

Enum for specifying the type defined in ISO 3166.

Locale.LanguageRange

This class expresses a Language Range defined in RFC 4647 Matching of Language Tags.

LocaleConfig

The LocaleConfig of an application.

LocaleData

A class for accessing miscellaneous data in the locale bundles

LocaleData.MeasurementSystem

Enumeration for representing the measurement systems.

LocaleData.PaperSize

A class that represents the size of letter head used in the country

LocaleDisplayNames

Returns display names of ULocales and components of ULocales.

LocaleDisplayNames.DialectHandling

Enum used in getInstance(android.icu.util.ULocale,android.icu.text.LocaleDisplayNames.DialectHandling).

LocaleDisplayNames.UiListItem

Struct-like class used to return information for constructing a UI list, each corresponding to a locale.

LocaleList

LocaleList is an immutable list of Locales, typically used to keep an ordered list of user preferences for locales.

LocaleManager

This class gives access to system locale services.

LocaleSpan

Changes the Locale of the text to which the span is attached.

LocalizedNumberFormatter

A NumberFormatter that has a locale associated with it; this means .

LocalizedNumberRangeFormatter

A NumberRangeFormatter that has a locale associated with it; this means .

LocalServerSocket

Non-standard class for creating an inbound UNIX-domain socket in the Linux abstract namespace.

LocalSocket

Creates a (non-server) socket in the UNIX-domain namespace.

LocalSocketAddress

A UNIX-domain (AF_LOCAL) socket address.

LocalSocketAddress.Namespace

The namespace that this address exists in.

LocalTime

A time without a time-zone in the ISO-8601 calendar system, such as 10:15:30.

LocalTimeRangeFilter

Specification of local time range for health connect requests.

LocalTimeRangeFilter.Builder

Builder class for LocalTimeRangeFilter

Location

A data class representing a geographic location.

LocationListener

Used for receiving notifications when the device location has changed.

LocationManager

This class provides access to the system location services.

LocationProvider This class was deprecated in API level 31. This class is incapable of representing unknown provider properties and may return incorrect results on the rare occasion when a provider's properties are unknown. Prefer using LocationManager.getProviderProperties(String) to retrieve ProviderProperties instead.
LocationRequest

An encapsulation of various parameters for requesting location via LocationManager.

LocationRequest.Builder

A builder class for LocationRequest.

Locator

Interface for associating a SAX event with a document location.

Locator2

SAX2 extension to augment the entity information provided though a Locator.

Locator2Impl

SAX2 extension helper for holding additional Entity information, implementing the Locator2 interface.

LocatorImpl

Provide an optional convenience implementation of Locator.

Lock

Lock implementations provide more extensive locking operations than can be obtained using synchronized methods and statements.

LockSupport

Basic thread blocking primitives for creating locks and other synchronization classes.

LocusId

An identifier for an unique state (locus) in the application.

Log

API for sending log output.

Logger

A Logger object is used to log messages for a specific system or application component.

LoggingMXBean

The management interface for the logging facility.

LoggingPermission

Legacy security code; do not use.

LoginException

This is the basic login exception.

LoginFilter This class was deprecated in API level 30. Password requirements should not be hardcoded in clients. This class also does not handle non-BMP characters.
LoginFilter.PasswordFilterGMail This class was deprecated in API level 30. Do not handle a user's Google password. Refer to Google Help for password restriction information.
LoginFilter.UsernameFilterGeneric This class was deprecated in API level 30. Deprecated in Java.
LoginFilter.UsernameFilterGMail This class was deprecated in API level 30. Do not encode assumptions about Google account names into client applications.
LogManager

There is a single global LogManager object that is used to maintain a set of shared state about Loggers and log services.

LogPrinter

Implementation of a android.util.Printer that sends its output to the system log.

LogReader

An interface to a read logs from REQUESTS and EVENTS Used as a Data Access Object for the REQUESTS and EVENTS table.

LogRecord

LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.

LogSessionId

An instances of this class represents the ID of a log session.

Long

The Long class wraps a value of the primitive type long in an object.

Long2 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Long3 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Long4 This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
LongAccumulator

One or more variables that together maintain a running long value updated using a supplied function.

LongAdder

One or more variables that together maintain an initially zero long sum.

LongBinaryOperator

Represents an operation upon two long-valued operands and producing a long-valued result.

LongBuffer

A long buffer.

LongConsumer

Represents an operation that accepts a single long-valued argument and returns no result.

LongFunction

Represents a function that accepts a long-valued argument and produces a result.

LongPredicate

Represents a predicate (boolean-valued function) of one long-valued argument.

LongSparseArray

SparseArray mapping longs to Objects.

LongStream

A sequence of primitive long-valued elements supporting sequential and parallel aggregate operations.

LongStream.Builder

A mutable builder for a LongStream.

LongStream.LongMapMultiConsumer

Represents an operation that accepts a long-valued argument and a LongConsumer, and returns no result.

LongSummaryStatistics

A state object for collecting statistics such as count, min, max, sum, and average.

LongSupplier

Represents a supplier of long-valued results.

LongToDoubleFunction

Represents a function that accepts a long-valued argument and produces a double-valued result.

LongToIntFunction

Represents a function that accepts a long-valued argument and produces an int-valued result.

LongUnaryOperator

Represents an operation on a single long-valued operand that produces a long-valued result.

Looper

Class used to run a message loop for a thread.

LoudnessCodecController

Class for getting recommended loudness parameter updates for audio decoders as they are used to play back media content according to the encoded format and current audio routing.

LoudnessCodecController.OnLoudnessCodecUpdateListener

Listener used for receiving asynchronous loudness metadata updates.

LoudnessEnhancer

LoudnessEnhancer is an audio effect for increasing audio loudness.

LruCache

A cache that holds strong references to a limited number of values.

LSException

Parser or write operations may throw an LSException if the processing is stopped.

LSInput

This interface represents an input source for data.

LSOutput

This interface represents an output destination for data.

LSParser

An interface to an object that is able to build, or augment, a DOM tree from various input sources.

LSParserFilter

LSParserFilters provide applications the ability to examine nodes as they are being constructed while parsing.

LSResourceResolver

LSResourceResolver provides a way for applications to redirect references to external resources.

LSSerializer

A LSSerializer provides an API for serializing (writing) a DOM document out into XML.

LuhnChecksumValidator

Validator that returns true if the number created by concatenating all given fields pass a Luhn algorithm checksum.

LutProperties

Provides Lut properties of the device.

M

Mac

This class provides the functionality of a "Message Authentication Code" (MAC) algorithm.

MacAddress

Representation of a MAC address.

MacSpi

This class defines the Service Provider Interface (SPI) for the Mac class.

MagnificationConfig

This class describes the magnification config for AccessibilityService to control the magnification.

MagnificationConfig.Builder

Builder for creating MagnificationConfig objects.

Magnifier

Android magnifier widget.

Magnifier.Builder

Builder class for Magnifier objects.

MailTo

MailTo URL parser This class parses a mailto scheme URL and then can be queried for the parsed parameters.

MalformedInputException

Checked exception thrown when an input byte sequence is not legal for given charset, or an input character sequence is not a legal sixteen-bit Unicode sequence.

MalformedJsonException

Thrown when a reader encounters malformed JSON.

MalformedParameterizedTypeException

Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it.

MalformedParametersException

Thrown when the attempts to read method parameters from a class file and determines that one or more parameters are malformed.

MalformedURLException

Thrown to indicate that a malformed URL has occurred.

ManagedSubscriptionsPolicy

A policy class that describes how managed SIM subscriptions should behave on the device.

ManagerFactoryParameters

This class is the base interface for providing algorithm-specific information to a KeyManagerFactory or TrustManagerFactory.

MandatoryStreamCombination

Immutable class to store the available mandatory stream combination.

MandatoryStreamCombination.MandatoryStreamInformation

Immutable class to store available mandatory stream information.

Manifest

Manifest

The Manifest class is used to maintain Manifest entry names and their associated Attributes.

Manifest.permission

Manifest.permission_group

Map

An object that maps keys to values.

Map.Entry

A map entry (key-value pair).

MappedByteBuffer

A direct byte buffer whose content is a memory-mapped region of a file.

MaskFilter

MaskFilter is the base class for object that perform transformations on an alpha-channel mask before drawing it.

MaskFilterSpan

Span that allows setting a MaskFilter to the text it's attached to.

Mass

Represents a unit of mass.

Matcher

An engine that performs match operations on a by interpreting a Pattern.

MatchException

Thrown to indicate an unexpected failure in pattern matching.

MatchResult

The result of a match operation.

Math

The class Math contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.

MathContext

The MathContext immutable class encapsulates the settings understood by the operator methods of the BigDecimal class (and potentially other classes).

MathContext

Immutable objects which encapsulate the context settings which describe certain rules for numerical operators, such as those implemented by the BigDecimal class.

Matrix

The Matrix class holds a 3x3 matrix for transforming coordinates.

Matrix

Matrix math utilities.

Matrix.ScaleToFit

Controls how the src rect should align into the dst rect for setRectToRect().

Matrix2f This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Matrix3f This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
Matrix44

The Matrix44 class holds a 4x4 matrix for transforming coordinates.

Matrix4f This class was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
MatrixCursor

A mutable cursor implementation backed by an array of Objects.

MatrixCursor.RowBuilder

Builds a row of values using either of these approaches:

  • Values can be added with explicit column ordering using add(java.lang.Object), which starts from the left-most column and adds one column value at a time. This follows the same ordering as the column names specified at cursor construction time.
  • Column and value pairs can be offered for possible inclusion using add(java.lang.String,java.lang.Object). If the cursor includes the given column, the value will be set for that column, otherwise the value is ignored. This approach is useful when matching data to a custom projection.
Undefined values are left as null.

MbmsDownloadReceiver

The BroadcastReceiver responsible for handling intents sent from the middleware.

MbmsDownloadSession

This class provides functionality for file download over MBMS.

MbmsDownloadSessionCallback

A callback class that apps should use to receive information on file downloads over cell-broadcast.

MbmsErrors

MbmsErrors.DownloadErrors

Indicates the errors that are applicable only to the file-download use-case

MbmsErrors.GeneralErrors

Indicates the errors that may occur at any point and are applicable to both streaming and file-download.

MbmsErrors.GroupCallErrors

Indicates the errors that are applicable only to the group call use-case.

MbmsErrors.InitializationErrors

Indicates errors that may be generated during initialization by the middleware.

MbmsErrors.StreamingErrors

Indicates the errors that are applicable only to the streaming use-case

MbmsGroupCallSession

This class provides functionality for accessing group call functionality over MBMS.

MbmsGroupCallSessionCallback

A callback class that is used to receive information from the middleware on MBMS group-call services.

MbmsStreamingSession

This class provides functionality for streaming media over MBMS.

MbmsStreamingSessionCallback

A callback class that is used to receive information from the middleware on MBMS streaming services.

MealType

Identifier for the meal type.

Measure

An amount of a specified unit, consisting of a Number and a Unit.

MeasuredText

Result of text shaping of the single paragraph string.

MeasuredText.Builder

Helper class for creating a MeasuredText.

MeasureFormat

A formatter for Measure objects.

MeasureFormat.FormatWidth

Formatting width enum.

MeasurementManager

MeasurementManager provides APIs to manage source and trigger registrations.

MeasureUnit

A unit such as length, mass, volume, currency, etc.

MeasureUnit.Complexity

Enumeration for unit complexity.

MeasureUnit.MeasurePrefix

Enumeration for SI and binary prefixes, e.

MediaActionSound

A class for producing sounds that match those produced by various actions taken by the media and camera APIs.

MediaBrowser

Browses media content offered by a link MediaBrowserService.

MediaBrowser.ConnectionCallback

Callbacks for connection related events.

MediaBrowser.ItemCallback

Callback for receiving the result of getItem.

MediaBrowser.MediaItem

A class with information on a single media item for use in browsing/searching media.

MediaBrowser.SubscriptionCallback

Callbacks for subscription related events.

MediaBrowserService

Base class for media browser services.

MediaBrowserService.BrowserRoot

Contains information that the browser service needs to send to the client when first connected.

MediaBrowserService.Result

Completion handler for asynchronous callback methods in MediaBrowserService.

MediaCas

MediaCas can be used to obtain keys for descrambling protected media streams, in conjunction with android.media.MediaDescrambler.

MediaCas.EventListener

An interface registered by the caller to setEventListener to receives scheme-specific notifications from a MediaCas instance.

MediaCas.PluginDescriptor

Describe a CAS plugin with its CA_system_ID and string name.

MediaCas.Session

Class for an open session with the CA system.

MediaCasException

Base class for MediaCas exceptions

MediaCasException.DeniedByServerException

Exception thrown when the provisioning server or key server denies a license for a device.

MediaCasException.InsufficientResourceException

Exception thrown when an operation on a MediaCas object is attempted and hardware resources are not sufficient to allocate, due to client's lower priority.

MediaCasException.NotProvisionedException

Exception thrown when an operation on a MediaCas object is attempted before it's provisioned successfully.

MediaCasException.ResourceBusyException

Exception thrown when an operation on a MediaCas object is attempted and hardware resources are not available, due to being in use.

MediaCasException.UnsupportedCasException

Exception thrown when an attempt is made to construct a MediaCas object using a CA_system_id that is not supported by the device

MediaCasStateException

Base class for MediaCas runtime exceptions

MediaCodec

MediaCodec class can be used to access low-level media codecs, i.

MediaCodec.BufferInfo

Per buffer metadata includes an offset and size specifying the range of valid data in the associated codec (output) buffer.

MediaCodec.Callback

MediaCodec callback interface.

MediaCodec.CodecException

Thrown when an internal codec error occurs.

MediaCodec.CryptoException

Thrown when a crypto error occurs while queueing a secure input buffer.

MediaCodec.CryptoInfo

Metadata describing the structure of an encrypted input sample.

MediaCodec.CryptoInfo.Pattern

Metadata describing an encryption pattern for the protected bytes in a subsample.

MediaCodec.IncompatibleWithBlockModelException

Thrown when the codec is configured for block model and an incompatible API is called.

MediaCodec.InvalidBufferFlagsException

Thrown when a buffer is marked with an invalid combination of flags (e.g. both

MediaCodec.LinearBlock

Section of memory that represents a linear block.

MediaCodec.MetricsConstants

MediaCodec.OnFirstTunnelFrameReadyListener

Listener to be called when the first output frame has been decoded and is ready to be rendered for a codec configured for tunnel mode with KEY_AUDIO_SESSION_ID.

MediaCodec.OnFrameRenderedListener

Listener to be called when an output frame has rendered on the output surface

MediaCodec.OutputFrame

A single output frame and its associated metadata.

MediaCodec.ParameterDescriptor

Contains description of a parameter.

MediaCodec.QueueRequest

Builder-like class for queue requests.

MediaCodecInfo

Provides information about a given media codec available on the device.

MediaCodecInfo.AudioCapabilities

A class that supports querying the audio capabilities of a codec.

MediaCodecInfo.CodecCapabilities

Encapsulates the capabilities of a given codec component.

MediaCodecInfo.CodecProfileLevel

Encapsulates the profiles available for a codec component.

MediaCodecInfo.EncoderCapabilities

A class that supports querying the encoding capabilities of a codec.

MediaCodecInfo.VideoCapabilities

A class that supports querying the video capabilities of a codec.

MediaCodecInfo.VideoCapabilities.PerformancePoint

Video performance points are a set of standard performance points defined by number of pixels, pixel rate and frame rate.

MediaCodecList

Allows you to enumerate available codecs, each specified as a MediaCodecInfo object, find a codec supporting a given format and query the capabilities of a given codec.

MediaCommunicationManager

Provides support for interacting with MediaSession2s that applications have published to express their ongoing media playback state.

MediaController

Allows an app to interact with an ongoing media session.

MediaController

A view containing controls for a MediaPlayer.

MediaController.Callback

Callback for receiving updates from the session.

MediaController.MediaPlayerControl

MediaController.PlaybackInfo

Holds information about the current playback and how audio is handled for this session.

MediaController.TransportControls

Interface for controlling media playback on a session.

MediaController2

This API is not generally intended for third party application developers.

MediaController2.Builder

This API is not generally intended for third party application developers.

MediaController2.ControllerCallback

This API is not generally intended for third party application developers.

MediaCrypto

MediaCrypto class can be used in conjunction with android.media.MediaCodec to decode encrypted media data.

MediaCryptoException

Exception thrown if MediaCrypto object could not be instantiated or if unable to perform an operation on the MediaCrypto object.

MediaDataSource

For supplying media data to the framework.

MediaDescrambler

MediaDescrambler class can be used in conjunction with android.media.MediaCodec and android.media.MediaExtractor to decode media data scrambled by conditional access (CA) systems such as those in the ISO/IEC13818-1.

MediaDescription

A simple set of metadata for a media item suitable for display.

MediaDescription.Builder

Builder for MediaDescription objects.

MediaDrm

MediaDrm can be used to obtain keys for decrypting protected media streams, in conjunction with android.media.MediaCrypto.

MediaDrm.CryptoSession

In addition to supporting decryption of DASH Common Encrypted Media, the MediaDrm APIs provide the ability to securely deliver session keys from an operator's session key server to a client device, based on the factory-installed root of trust, and then perform encrypt, decrypt, sign and verify operations with the session key on arbitrary user data.

MediaDrm.ErrorCodes

Error codes that may be returned from android.media.MediaDrm.MediaDrmStateException#getErrorCode() and android.media.MediaCodec.CryptoException#getErrorCode()

MediaDrm.KeyRequest

Contains the opaque data an app uses to request keys from a license server.

MediaDrm.KeyStatus

Defines the status of a key.

MediaDrm.LogMessage

A LogMessage records an event in the MediaDrm framework or vendor plugin.

MediaDrm.MediaDrmStateException

Thrown when a general failure occurs during a MediaDrm operation.

MediaDrm.MetricsConstants

Definitions for the metrics that are reported via the getMetrics call.

MediaDrm.OnEventListener

Interface definition for a callback to be invoked when a drm event occurs

MediaDrm.OnExpirationUpdateListener

Interface definition for a callback to be invoked when a drm session expiration update occurs

MediaDrm.OnKeyStatusChangeListener

Interface definition for a callback to be invoked when the keys in a drm session change states.

MediaDrm.OnSessionLostStateListener

Interface definition for a callback to be invoked when the session state has been lost and is now invalid

MediaDrm.PlaybackComponent

This class contains the Drm session ID and log session ID

MediaDrm.ProvisionRequest

Contains the opaque data an app uses to request a certificate from a provisioning server

MediaDrm.SessionException

SessionException is a misnomer because it may occur in methods without a session context.

MediaDrmException

Base class for MediaDrm exceptions

MediaDrmResetException

This exception is thrown when the MediaDrm instance has become unusable due to a restart of the mediaserver process.

MediaDrmThrowable

A @Throwable thrown from MediaDrm or @MediaCrypto APIs

MediaExtractor

MediaExtractor facilitates extraction of demuxed, typically encoded, media data from a data source.

MediaExtractor.CasInfo

Describes the conditional access system used to scramble a track.

MediaExtractor.MetricsConstants

MediaFeature

MediaFeature defines various media features, e.

MediaFeature.HdrType

Defines the type of HDR (high dynamic range) video.

MediaFormat

Encapsulates the information describing the format of media data, be it audio or video, as well as optional feature metadata.

MediaFormat.QpOffsetRect

QpOffsetRect constitutes the metadata required for encoding a region of interest in an image or a video frame.

MediaItemInfo

Represents information about a piece of media (for example, an audio or video file).

MediaItemInfo.Builder

Builder for MediaItemInfo.

MediaMetadata

Contains metadata about an item, such as the title, artist, etc.

MediaMetadata.Builder

Use to build MediaMetadata objects.

MediaMetadataEditor This class was deprecated in API level 21. Use MediaMetadata instead together with MediaSession.
MediaMetadataRetriever

MediaMetadataRetriever class provides a unified interface for retrieving frame and meta data from an input media file.

MediaMetadataRetriever.BitmapParams

MediaMetricsManager

This class gives information about, and interacts with media metrics.

MediaMuxer

MediaMuxer facilitates muxing elementary streams.

MediaMuxer.OutputFormat

Defines the output format.

MediaParser

Parses media container formats and extracts contained media samples and metadata.

MediaParser.InputReader

Provides input data to MediaParser.

MediaParser.OutputConsumer

Receives extracted media sample data and metadata from MediaParser.

MediaParser.ParsingException

Thrown when an error occurs while parsing a media stream.

MediaParser.SeekableInputReader

InputReader that allows setting the read position.

MediaParser.SeekMap

Maps seek positions to SeekPoints in the stream.

MediaParser.SeekPoint

Defines a seek point in a media stream.

MediaParser.TrackData

Holds information associated with a track.

MediaParser.UnrecognizedInputFormatException

Thrown if all parser implementations provided to create failed to sniff the input content.

MediaPlayer

MediaPlayer class can be used to control playback of audio/video files and streams.

MediaPlayer.DrmInfo

Encapsulates the DRM properties of the source.

MediaPlayer.MetricsConstants

MediaPlayer.NoDrmSchemeException

Thrown when a DRM method is called before preparing a DRM scheme through prepareDrm().

MediaPlayer.OnBufferingUpdateListener

Interface definition of a callback to be invoked indicating buffering status of a media resource being streamed over the network.

MediaPlayer.OnCompletionListener

Interface definition for a callback to be invoked when playback of a media source has completed.

MediaPlayer.OnDrmConfigHelper

Interface definition of a callback to be invoked when the app can do DRM configuration (get/set properties) before the session is opened.

MediaPlayer.OnDrmInfoListener

Interface definition of a callback to be invoked when the DRM info becomes available

MediaPlayer.OnDrmPreparedListener

Interface definition of a callback to notify the app when the DRM is ready for key request/response

MediaPlayer.OnErrorListener

Interface definition of a callback to be invoked when there has been an error during an asynchronous operation (other errors will throw exceptions at method call time).

MediaPlayer.OnInfoListener

Interface definition of a callback to be invoked to communicate some info and/or warning about the media or its playback.

MediaPlayer.OnMediaTimeDiscontinuityListener

Interface definition of a callback to be invoked when discontinuity in the normal progression of the media time is detected.

MediaPlayer.OnPreparedListener

Interface definition for a callback to be invoked when the media source is ready for playback.

MediaPlayer.OnSeekCompleteListener

Interface definition of a callback to be invoked indicating the completion of a seek operation.

MediaPlayer.OnSubtitleDataListener

Interface definition of a callback to be invoked when a player subtitle track has new subtitle data available.

MediaPlayer.OnTimedMetaDataAvailableListener

Interface definition of a callback to be invoked when a track has timed metadata available.

MediaPlayer.OnTimedTextListener

Interface definition of a callback to be invoked when a timed text is available for display.

MediaPlayer.OnVideoSizeChangedListener

Interface definition of a callback to be invoked when the video size is first known or updated

MediaPlayer.ProvisioningNetworkErrorException

Thrown when the device requires DRM provisioning but the provisioning attempt has failed due to a network error (Internet reachability, timeout, etc.).

MediaPlayer.ProvisioningServerErrorException

Thrown when the device requires DRM provisioning but the provisioning attempt has failed due to the provisioning server denying the request.

MediaPlayer.TrackInfo

Class for MediaPlayer to return each audio/video/subtitle track's metadata.

MediaProjection

A token granting applications the ability to capture screen contents and/or record system audio.

MediaProjection.Callback

Callbacks for the projection session.

MediaProjectionConfig

Configure the MediaProjection session requested from MediaProjectionManager.createScreenCaptureIntent(MediaProjectionConfig).

MediaProjectionManager

Manages the retrieval of certain types of MediaProjection tokens.

MediaQualityContract

The contract between the media quality service and applications.

MediaQualityContract.PictureQuality

Parameters picture quality.

MediaQualityContract.SoundQuality

Parameters for sound quality.

MediaQualityManager

Central system API to the overall media quality, which arbitrates interaction between applications and media quality service.

MediaQualityManager.AmbientBacklightCallback

Callback used to monitor status of ambient backlight.

MediaQualityManager.PictureProfileCallback

Callback used to monitor status of picture profiles

MediaQualityManager.ProfileQueryParams

Options for profile queries.

MediaQualityManager.ProfileQueryParams.Builder

A builder for ProfileQueryParams.

MediaQualityManager.SoundProfileCallback

Callback used to monitor status of sound profiles.

MediaRecorder

Used to record audio and video.

MediaRecorder.AudioEncoder

Defines the audio encoding.

MediaRecorder.AudioSource

Defines the audio source.

MediaRecorder.MetricsConstants

MediaRecorder.OnErrorListener

Interface definition for a callback to be invoked when an error occurs while recording.

MediaRecorder.OnInfoListener

Interface definition of a callback to be invoked to communicate some info and/or warning about the recording.

MediaRecorder.OutputFormat

Defines the output format.

MediaRecorder.VideoEncoder

Defines the video encoding.

MediaRecorder.VideoSource

Defines the video source.

MediaRoute2Info

Describes the properties of a route.

MediaRoute2Info.Builder

Builder for media route info.

MediaRoute2ProviderService

Base class for media route provider services.

MediaRouteActionProvider

The media route action provider displays a media route button in the application's ActionBar to allow the user to select routes and to control the currently selected route.

MediaRouteButton

MediaRouter

This API is not recommended for new applications.

MediaRouter.Callback

Interface for receiving events about media routing changes.

MediaRouter.RouteCategory

Definition of a category of routes.

MediaRouter.RouteGroup

Information about a route that consists of multiple other routes in a group.

MediaRouter.RouteInfo

Information about a media route.

MediaRouter.SimpleCallback

Stub implementation of MediaRouter.Callback.

MediaRouter.UserRouteInfo

Information about a route that the application may define and modify.

MediaRouter.VolumeCallback

Interface for receiving events about volume changes.

MediaRouter2

This API is not generally intended for third party application developers.

MediaRouter2.ControllerCallback

Callback for receiving RoutingController updates.

MediaRouter2.OnGetControllerHintsListener

A listener interface to send optional app-specific hints when creating a RoutingController.

MediaRouter2.RouteCallback

Callback for receiving events about media route discovery.

MediaRouter2.RoutingController

Controls a media routing session.

MediaRouter2.ScanRequest

Represents a set of parameters for scanning requests.

MediaRouter2.ScanRequest.Builder

Builder class for ScanRequest.

MediaRouter2.ScanToken

Represents an active scan request registered in the system.

MediaRouter2.TransferCallback

Callback for receiving events on media transfer.

MediaScannerConnection

MediaScannerConnection provides a way for applications to pass a newly created or downloaded media file to the media scanner service.

MediaScannerConnection.MediaScannerConnectionClient

An interface for notifying clients of MediaScannerConnection when a connection to the MediaScanner service has been established and when the scanning of a file has completed.

MediaScannerConnection.OnScanCompletedListener

Interface for notifying clients of the result of scanning a requested media file.

MediaSession

Allows interaction with media controllers, volume keys, media buttons, and transport controls.

MediaSession.Callback

Receives media buttons, transport controls, and commands from controllers and the system.

MediaSession.QueueItem

A single item that is part of the play queue.

MediaSession.Token

Represents an ongoing session.

MediaSession2

This API is not generally intended for third party application developers.

MediaSession2.Builder

This API is not generally intended for third party application developers.

MediaSession2.ControllerInfo

This API is not generally intended for third party application developers.

MediaSession2.SessionCallback

This API is not generally intended for third party application developers.

MediaSession2Service

This API is not generally intended for third party application developers.

MediaSession2Service.MediaNotification

This API is not generally intended for third party application developers.

MediaSessionManager

Provides support for interacting with media sessions that applications have published to express their ongoing media playback state.

MediaSessionManager.OnActiveSessionsChangedListener

Listens for changes to the list of active sessions.

MediaSessionManager.OnMediaKeyEventSessionChangedListener

Listener to receive changes in the media key event session, which would receive a media key event unless specified.

MediaSessionManager.OnSession2TokensChangedListener

Listens for changes to the getSession2Tokens().

MediaSessionManager.RemoteUserInfo

Information of a remote user of MediaSession or MediaBrowserService.

MediaStore

The contract between the media provider and applications.

MediaStore.Audio

Collection of all media with MIME type of audio/*.

MediaStore.Audio.AlbumColumns

Audio album metadata columns.

MediaStore.Audio.Albums

Contains artists for audio files

MediaStore.Audio.ArtistColumns

Audio artist metadata columns.

MediaStore.Audio.Artists

Contains artists for audio files

MediaStore.Audio.Artists.Albums

Sub-directory of each artist containing all albums on which a song by the artist appears.

MediaStore.Audio.AudioColumns

Audio metadata columns.

MediaStore.Audio.Genres

Contains all genres for audio files

MediaStore.Audio.Genres.Members

Sub-directory of each genre containing all members.

MediaStore.Audio.GenresColumns

Audio genre metadata columns.

MediaStore.Audio.Media

MediaStore.Audio.Playlists This class was deprecated in API level 31. Android playlists are now deprecated. We will keep the current functionality for compatibility resons, but we will no longer take feature request. We do not advise adding new usages of Android Playlists. M3U files can be used as an alternative.
MediaStore.Audio.Playlists.Members This class was deprecated in API level 31. Deprecated in Java.
MediaStore.Audio.PlaylistsColumns This interface was deprecated in API level 31. Android playlists are now deprecated. We will keep the current functionality for compatibility reasons, but we will no longer take feature request. We do not advise adding new usages of Android Playlists. M3U files can be used as an alternative.
MediaStore.Audio.Radio

MediaStore.DownloadColumns

Download metadata columns.

MediaStore.Downloads

Collection of downloaded items.

MediaStore.Files

Media provider table containing an index of all files in the media storage, including non-media files.

MediaStore.Files.FileColumns

File metadata columns.

MediaStore.Images

Collection of all media with MIME type of image/*.

MediaStore.Images.ImageColumns

Image metadata columns.

MediaStore.Images.Media

MediaStore.Images.Thumbnails This class was deprecated in API level 29. Callers should migrate to using ContentResolver.loadThumbnail, since it offers richer control over requested thumbnail sizes and cancellation behavior.
MediaStore.MediaColumns

Common media metadata columns.

MediaStore.PickerMediaColumns

Photo picker metadata columns.

MediaStore.Video

Collection of all media with MIME type of video/*.

MediaStore.Video.Media

MediaStore.Video.Thumbnails This class was deprecated in API level 29. Callers should migrate to using ContentResolver.loadThumbnail, since it offers richer control over requested thumbnail sizes and cancellation behavior.
MediaStore.Video.VideoColumns

Video metadata columns.

MediaSync

MediaSync class can be used to synchronously play audio and video streams.

MediaSync.Callback

MediaSync callback interface.

MediaSync.OnErrorListener

Interface definition of a callback to be invoked when there has been an error during an asynchronous operation (other errors will throw exceptions at method call time).

MediaSyncEvent

The MediaSyncEvent class defines events that can be used to synchronize playback or capture actions between different players and recorders.

MediaTimestamp

An immutable object that represents the linear correlation between the media time and the system time.

MedicalDataSource

Captures the data source information of medical data.

MedicalDataSource.Builder

Builder class for MedicalDataSource.

MedicalResource

A class to capture the user's medical data.

MedicalResource.Builder

Builder class for MedicalResource.

MedicalResourceId

A class to represent a unique identifier of a medical resource.

MediumTest This annotation was deprecated in API level 24. Use MediumTest instead. New tests should be written using the Android Testing Support Library.
Member

Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor.

MembershipKey

A token representing the membership of an Internet Protocol (IP) multicast group.

MemoryFile

MemoryFile is a wrapper for SharedMemory which can optionally be set to purgeable.

MemoryHandler

Handler that buffers requests in a circular buffer in memory.

MenstruationFlowRecord

Captures a description of how heavy a user's menstrual flow was (spotting, light, medium, or heavy).

MenstruationFlowRecord.Builder

Builder class for MenstruationFlowRecord

MenstruationFlowRecord.MenstruationFlowType

Identifier for Menstruation Flow

MenstruationPeriodRecord

Captures the menstruation period record.

MenstruationPeriodRecord.Builder

Builder class for MenstruationPeriodRecord

Menu

Interface for managing the items in a menu.

MenuInflater

This class is used to instantiate menu XML files into Menu objects.

MenuItem

Interface for direct access to a previously created menu item.

MenuItem.OnActionExpandListener

Interface definition for a callback to be invoked when a menu item marked with MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW is expanded or collapsed.

MenuItem.OnMenuItemClickListener

Interface definition for a callback to be invoked when a menu item is clicked.

MergeCursor

A convenience class that lets you present an array of Cursors as a single linear Cursor.

Mesh

Class representing a mesh object.

MeshSpecification

Class responsible for holding specifications for Mesh creations.

MeshSpecification.Attribute

Data class to represent a single attribute in a shader.

MeshSpecification.Varying

Data class to represent a single varying variable.

Message

Defines a message containing a description and arbitrary data object that can be sent to a Handler.

MessageDecryptionException

Thrown when failing to decrypt a message from the reader device.

MessageDigest

This MessageDigest class provides applications the functionality of a message digest algorithm, such as SHA-1 or SHA-256.

MessageDigestSpi

This class defines the Service Provider Interface (SPI) for the MessageDigest class, which provides the functionality of a message digest algorithm, such as MD5 or SHA.

MessageFormat

[icu enhancement] ICU's replacement for java.text.MessageFormat.

MessageFormat

provides a means to produce concatenated messages in a language-neutral way.

MessageFormat.Field

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from MessageFormat.formatToCharacterIterator.

MessageFormat.Field

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from MessageFormat.formatToCharacterIterator.

MessagePattern

Parses and represents ICU MessageFormat patterns.

MessagePattern.ApostropheMode

Mode for when an apostrophe starts quoted literal text for MessageFormat output.

MessagePattern.ArgType

Argument type constants.

MessagePattern.Part

A message pattern "part", representing a pattern parsing event.

MessagePattern.Part.Type

Part type constants.

MessagePdu

A parcelable list of PDUs representing contents of a possibly multi-part SMS.

MessageQueue

Low-level class holding the list of messages to be dispatched by a Looper.

MessageQueue.IdleHandler

Callback interface for discovering when a thread is going to block waiting for more messages.

MessageQueue.OnFileDescriptorEventListener

A listener which is invoked when file descriptor related events occur.

Messenger

Reference to a Handler, which others can use to send messages to it.

Metadata

Set of shared metadata fields for Record

Metadata.Builder

MetadataRequest

Request parameters to retrieve all metadata for all available settings preferences within this application.

MetadataRequest.Builder

Builder to construct MetadataRequest.

MetadataResult

Result object given a corresponding MetadataRequest.

MetadataResult.Builder

Builder to construct MetadataResult.

MetaKeyKeyListener

This base class encapsulates the behavior for tracking the state of meta keys such as SHIFT, ALT and SYM as well as the pseudo-meta state of selecting text.

MeteringRectangle

An immutable class to represent a rectangle (x, y, width, height) with an additional weight component.

Method

A Method provides information about, and access to, a single method on a class or interface.

MethodHandle

A method handle is a typed, directly executable reference to an underlying method, constructor, field, or similar low-level operation, with optional transformations of arguments or return values.

MethodHandleInfo

A symbolic reference obtained by cracking a direct method handle into its consitutent symbolic parts.

MethodHandles

This class consists exclusively of static methods that operate on or return method handles.

MethodHandles.Lookup

A lookup object is a factory for creating method handles, when the creation requires access checking.

MethodType

A method type represents the arguments and return type accepted and returned by a method handle, or the arguments and return type passed and expected by a method handle caller.

MetricAffectingSpan

The classes that affect character-level text formatting in a way that changes the width or height of characters extend this class.

MGF1ParameterSpec

This class specifies the set of parameters used with mask generation function MGF1 in OAEP Padding and RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard.

MicrophoneDirection

Interface defining mechanism for controlling the directionality and field width of audio capture.

MicrophoneInfo

Class providing information on a microphone.

MicrophoneInfo.Coordinate3F

MidiDevice

This class is used for sending and receiving data to and from a MIDI device Instances of this class are created by MidiManager.openDevice.

MidiDevice.MidiConnection

This class represents a connection between the output port of one device and the input port of another.

MidiDeviceInfo

This class contains information to describe a MIDI device.

MidiDeviceInfo.PortInfo

Contains information about an input or output port.

MidiDeviceService

A service that implements a virtual MIDI device.

MidiDeviceStatus

This is an immutable class that describes the current status of a MIDI device's ports.

MidiInputPort

This class is used for sending data to a port on a MIDI device

MidiManager

This class is the public application interface to the MIDI service.

MidiManager.DeviceCallback

Callback class used for clients to receive MIDI device added and removed notifications

MidiManager.OnDeviceOpenedListener

Listener class used for receiving the results of openDevice and openBluetoothDevice

MidiOutputPort

This class is used for receiving data from a port on a MIDI device

MidiReceiver

Interface for sending and receiving data to and from a MIDI device.

MidiSender

Interface provided by a device to allow attaching MidiReceivers to a MIDI device.

MidiUmpDeviceService

A service that implements a virtual MIDI device for Universal MIDI Packets (UMP).

MifareClassic

Provides access to MIFARE Classic properties and I/O operations on a Tag.

MifareUltralight

Provides access to MIFARE Ultralight properties and I/O operations on a Tag.

Migrator

A migrator class to translate GenericDocument from different version of AppSearchSchema

MimeTypeMap

Two-way map that maps MIME-types to file extensions and vice versa.

MindfulnessSessionRecord

Captures a mindfulness session.

MindfulnessSessionRecord.Builder

Builder class for MindfulnessSessionRecord

MinguoChronology

The Minguo calendar system.

MinguoDate

A date in the Minguo calendar system.

MinguoEra

An era in the Minguo calendar system.

MissingForegroundServiceTypeException

Exception thrown when an app tries to start a foreground Service without a type.

MissingFormatArgumentException

Unchecked exception thrown when there is a format specifier which does not have a corresponding argument or if an argument index refers to an argument that does not exist.

MissingFormatWidthException

Unchecked exception thrown when the format width is required.

MissingResourceException

Signals that a resource is missing.

MloLink

Data structure class representing a Wi-Fi Multi-Link Operation (MLO) link This is only used by 802.

MmTelFeature

Base implementation for Voice and SMS (IR-92) and Video (IR-94) IMS support.

MmTelFeature.MmTelCapabilities

Contains the capabilities defined and supported by a MmTelFeature in the form of a Bitmask.

MockAccountManager This class was deprecated in API level 36. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.
MockApplication This class was deprecated in API level 24. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.
MockContentProvider

Mock implementation of ContentProvider.

MockContentResolver

An extension of android.content.ContentResolver that is designed for testing.

MockContext

A mock android.content.Context class.

MockCursor This class was deprecated in API level 24. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.
MockDialogInterface This class was deprecated in API level 24. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.
MockPackageManager This class was deprecated in API level 24. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.
MockResources This class was deprecated in API level 24. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.
MockService This class was deprecated in API level 36. Use a mocking framework like Mockito. New tests should be written using the Android Testing Support Library.
ModeAction

Action sent by the user to indicate a change of mode.

ModelDownloadListener

Listener for model download events.

ModelManager

Handles model inference and only support TFLite model inference now.

Modifier

The Modifier class provides static methods and constants to decode class and member access modifiers.

ModuleInfo

Information you can retrieve about a particular system module.

Month

A month-of-year, such as 'July'.

MonthDay

A month-day in the ISO-8601 calendar system, such as --12-03.

MonthDisplayHelper

Helps answer common questions that come up when displaying a month in a 6 row calendar grid format.

MoreAsserts This class was deprecated in API level 24. Use Hamcrest matchers instead.
MotionEvent

Object used to report movement (mouse, pen, finger, trackball) events.

MotionEvent.PointerCoords

Transfer object for pointer coordinates.

MotionEvent.PointerProperties

Transfer object for pointer properties.

MotionPredictor

Calculate motion predictions.

MovementMethod

Provides cursor positioning, scrolling and text selection functionality in a TextView.

Movie This class was deprecated in API level 28. Prefer android.graphics.drawable.AnimatedImageDrawable.
MtpConstants

A class containing constants in the MTP and PTP specifications.

MtpDevice

This class represents an MTP or PTP device connected on the USB host bus.

MtpDeviceInfo

This class encapsulates information about an MTP device.

MtpEvent

This class encapsulates information about a MTP event.

MtpObjectInfo

This class encapsulates information about an object on an MTP device.

MtpObjectInfo.Builder

Builds a new object info instance.

MtpStorageInfo

This class encapsulates information about a storage unit on an MTP device.

MultiAutoCompleteTextView

An editable text view, extending AutoCompleteTextView, that can show completion suggestions for the substring of the text where the user is typing instead of necessarily for the entire thing.

MultiAutoCompleteTextView.CommaTokenizer

This simple Tokenizer can be used for lists where the items are separated by a comma and one or more spaces.

MultiAutoCompleteTextView.Tokenizer

MulticastChannel

A network channel that supports Internet Protocol (IP) multicasting.

MulticastSocket

The multicast datagram socket class is useful for sending and receiving IP multicast packets.

MultiResolutionImageReader

The MultiResolutionImageReader class wraps a group of ImageReaders with the same format and different sizes, source camera Id, or camera sensor modes.

MultiResolutionStreamConfigurationMap

Immutable class to store the information of the multi-resolution streams supported by the camera device.

MultiResolutionStreamInfo

A utility class describing the properties of one stream of fixed-size image buffers backing a multi-resolution image stream.

MultiSelectListPreference 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.
MultiTapKeyListener

This is the standard key listener for alphabetic input on 12-key keyboards.

MutableBoolean This class was deprecated in API level 28. This class will be removed from a future version of the Android API.
MutableByte This class was deprecated in API level 28. This class will be removed from a future version of the Android API.
MutableCallSite

A MutableCallSite is a CallSite whose target variable behaves like an ordinary field.

MutableChar This class was deprecated in API level 28. This class will be removed from a future version of the Android API.
MutableContextWrapper

Special version of ContextWrapper that allows the base context to be modified after it is initially set.

MutableDouble This class was deprecated in API level 28. This class will be removed from a future version of the Android API.
MutableFloat This class was deprecated in API level 28. This class will be removed from a future version of the Android API.
MutableInt This class was deprecated in API level 28. This class will be removed from a future version of the Android API.
MutableKeyValueStore

An interface to a read-write key-value store.

MutableLong This class was deprecated in API level 28. This class will be removed from a future version of the Android API.
MutableShort This class was deprecated in API level 28. This class will be removed from a future version of the Android API.

N

NamedNodeMap

Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name.

NamedParameterSpec

This class is used to specify any algorithm parameters that are determined by a standard name.

NameList

The NameList interface provides the abstraction of an ordered collection of parallel pairs of name and namespace values (which could be null values), without defining or constraining how this collection is implemented.

NamespaceContext

Interface for read only XML Namespace context processing.

NamespaceSupport

Encapsulate Namespace logic for use by applications using SAX, or internally by SAX drivers.

Native

Indicates that a field defining a constant value may be referenced from native code.

NativeActivity

Convenience for implementing an activity that will be implemented purely in native code.

NavigableMap

A SortedMap extended with navigation methods returning the closest matches for given search targets.

NavigableSet

A SortedSet extended with navigation methods reporting closest matches for given search targets.

NClob

The mapping in the JavaTM programming language for the SQL NCLOB type.

Ndef

Provides access to NDEF content and operations on a Tag.

NdefFormatable

Provide access to NDEF format operations on a Tag.

NdefMessage

Represents an immutable NDEF Message.

NdefRecord

Represents an immutable NDEF Record.

NegativeArraySizeException

Thrown if an application tries to create an array with negative size.

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.
NetPermission

Legacy security code; do not use.

Network

Identifies a Network.

NetworkCapabilities

Representation of the capabilities of an active network.

NetworkChannel

A channel to a network socket.

NetworkErrorException

NetworkEvent

An abstract class that represents a network event.

NetworkEvent

Media network event.

NetworkEvent.Builder

A builder for NetworkEvent

NetworkException

Exception passed to UrlRequest.Callback.onFailed() when the HTTP stack fails to process a network request.

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.
NetworkInfo.DetailedState This enum was deprecated in API level 29. See NetworkInfo.
NetworkInfo.State This enum was deprecated in API level 29. See NetworkInfo.
NetworkInterface

This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface.

NetworkOnMainThreadException

The exception that is thrown when an application attempts to perform a networking operation on its main thread.

NetworkRegistrationInfo

Description of a mobile network registration info

NetworkRequest

An object describing a network that the application is interested in.

NetworkRequest.Builder

Builder used to create NetworkRequest objects.

NetworkScan

The caller of android.

NetworkScanRequest

Defines a request to perform a network scan.

NetworkSecurityPolicy

Network security policy.

NetworkSliceInfo

Represents a S-NSSAI as defined in 3GPP TS 24.

NetworkSliceInfo.Builder

Provides a convenient way to set the fields of a NetworkSliceInfo when creating a new instance.

NetworkSlicingConfig

Represents a slicing configuration

NetworkSpecifier

Describes specific properties of a requested network for use in a NetworkRequest.

NetworkStats

Class providing enumeration over buckets of network usage statistics.

NetworkStats.Bucket

Buckets are the smallest elements of a query result.

NetworkStatsManager

Provides access to network usage history and statistics.

NetworkStatsManager.UsageCallback

Base class for usage callbacks.

NetworkViolation

NfcA

Provides access to NFC-A (ISO 14443-3A) properties and I/O operations on a Tag.

NfcAdapter

Represents the local NFC adapter.

NfcAdapter.CreateBeamUrisCallback This interface was deprecated in API level 29. this feature is removed. File sharing can work using other technology like Bluetooth.
NfcAdapter.CreateNdefMessageCallback This interface was deprecated in API level 29. this feature is removed. File sharing can work using other technology like Bluetooth.
NfcAdapter.OnNdefPushCompleteCallback This interface was deprecated in API level 29. this feature is removed. File sharing can work using other technology like Bluetooth.
NfcAdapter.OnTagRemovedListener

A callback that is invoked when a tag is removed from the field.

NfcAdapter.ReaderCallback

A callback to be invoked when the system finds a tag while the foreground activity is operating in reader mode.

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.

NfcB

Provides access to NFC-B (ISO 14443-3B) properties and I/O operations on a Tag.

NfcBarcode

Provides access to tags containing just a barcode.

NfcEvent

Wraps information associated with any NFC event.

NfcF

Provides access to NFC-F (JIS 6319-4) properties and I/O operations on a Tag.

NfcFCardEmulation

This class can be used to query the state of NFC-F card emulation services.

NfcManager

High level manager used to obtain an instance of an NfcAdapter.

NfcV

Provides access to NFC-V (ISO 15693) properties and I/O operations on a Tag.

NinePatch

The NinePatch class permits drawing a bitmap in nine or more sections.

NinePatchDrawable

A resizeable bitmap, with stretchable areas that you define.

NoAuthenticationKeyAvailableException

Thrown if no dynamic authentication keys are available.

NoClassDefFoundError

Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.

NoConnectionPendingException

Unchecked exception thrown when the finishConnect method of a SocketChannel is invoked without first successfully invoking its connect method.

NoCopySpan

This interface should be added to a span object that should not be copied into a new Spanned when performing a slice or copy operation on the original Spanned it was placed in.

NoCopySpan.Concrete

Convenience equivalent for when you would just want a new Object() for a span but want it to be no-copy.

Node

The Node interface is the primary datatype for the entire Document Object Model.

NodeChangeEvent

An event emitted by a Preferences node to indicate that a child of that node has been added or removed.

NodeChangeListener

A listener for receiving preference node change events.

NodeList

The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.

NoiseSuppressor

Noise Suppressor (NS).

NonReadableChannelException

Unchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.

NonSdkApiUsedViolation

Subclass of Violation that is used when a process accesses a non SDK API.

NonWritableChannelException

Unchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.

Normalizer

Old Unicode normalization API.

Normalizer

This class provides the method normalize which transforms Unicode text into an equivalent composed or decomposed form, allowing for easier sorting and searching of text.

Normalizer.Form

This enum provides constants of the four Unicode normalization forms that are described in Unicode Standard Annex #15 — Unicode Normalization Forms and two methods to access them.

Normalizer.QuickCheckResult

Result values for quickCheck().

Normalizer2

Unicode normalization functionality for standard Unicode normalization or for using custom mapping tables.

Normalizer2.Mode

Constants for normalization modes.

NoRouteToHostException

Signals that an error occurred while attempting to connect a socket to a remote address and port.

NoSuchAlgorithmException

This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.

NoSuchElementException

Thrown by various accessor methods to indicate that the element being requested does not exist.

NoSuchFieldError

Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.

NoSuchFieldException

Signals that the class doesn't have a field of a specified name.

NoSuchFileException

Checked exception thrown when an attempt is made to access a file that does not exist.

NoSuchMethodError

Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.

NoSuchMethodException

Thrown when a particular method cannot be found.

NoSuchPaddingException

This exception is thrown when a particular padding mechanism is requested but is not available in the environment.

NoSuchPropertyException

Thrown when code requests a Property on a class that does not expose the appropriate method or field.

NoSuchProviderException

This exception is thrown when a particular security provider is requested but is not available in the environment.

NotActiveException

Thrown when serialization or deserialization is not active.

Notation

A class that defines the notation style to be used when formatting numbers in NumberFormatter.

Notation

This interface represents a notation declared in the DTD.

NotDirectoryException

Checked exception thrown when a file system operation, intended for a directory, fails because the file is not a directory.

Notification

A class that represents how a persistent notification is to be presented to the user using the android.app.NotificationManager.

Notification.Action

Structure to encapsulate a named action that can be shown as part of this notification.

Notification.Action.Builder

Builder class for Action objects.

Notification.Action.Extender

Extender interface for use with Builder.extend.

Notification.Action.WearableExtender

Wearable extender for notification actions.

Notification.BigPictureStyle

Helper class for generating large-format notifications that include a large image attachment.

Notification.BigTextStyle

Helper class for generating large-format notifications that include a lot of text.

Notification.BubbleMetadata

Encapsulates the information needed to display a notification as a bubble.

Notification.BubbleMetadata.Builder

Builder to construct a BubbleMetadata object.

Notification.Builder

Builder class for Notification objects.

Notification.CallStyle

Helper class for generating large-format notifications that include a large image attachment.

Notification.CarExtender

Helper class to add Android Auto extensions to notifications.

Notification.CarExtender.Builder

Builder class for CarExtender.UnreadConversation objects.

Notification.CarExtender.UnreadConversation

A class which holds the unread messages from a conversation.

Notification.DecoratedCustomViewStyle

Notification style for custom views that are decorated by the system

Notification.DecoratedMediaCustomViewStyle

Notification style for media custom views that are decorated by the system

Notification.Extender

Extender interface for use with Builder.extend.

Notification.InboxStyle

Helper class for generating large-format notifications that include a list of (up to 5) strings.

Notification.MediaStyle

Notification style for media playback notifications.

Notification.MessagingStyle

Helper class for generating large-format notifications that include multiple back-and-forth messages of varying types between any number of people.

Notification.MessagingStyle.Message

Notification.ProgressStyle

A Notification Style used to define a notification whose expanded state includes a highly customizable progress bar with segments, points, a custom tracker icon, and custom icons at the start and end of the progress bar.

Notification.ProgressStyle.Point

A point within the progress bar, defining its position and color.

Notification.ProgressStyle.Segment

A segment of the progress bar, which defines its length and color.

Notification.Style

An object that can apply a rich notification style to a Notification.Builder object.

Notification.TvExtender

Helper class to add Android TV extensions to notifications.

Notification.WearableExtender

Helper class to add wearable extensions to notifications.

NotificationChannel

A representation of settings that apply to a collection of similarly themed notifications.

NotificationChannelGroup

A grouping of related notification channels.

NotificationListenerService

A service that receives calls from the system when new notifications are posted or removed, or their ranking changed.

NotificationListenerService.Ranking

Stores ranking related information on a currently active notification.

NotificationListenerService.RankingMap

Provides access to ranking information on currently active notifications.

NotificationManager

Class to notify the user of events that happen.

NotificationManager.Policy

Notification policy configuration.

NotLinkException

Checked exception thrown when a file system operation fails because a file is not a symbolic link.

NotOwnerException This exception was deprecated in API level 33. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
NotProvisionedException

Exception thrown when an operation on a MediaDrm object is attempted and the device does not have a certificate.

NotSerializableException

Thrown when an instance is required to have a Serializable interface.

NotYetBoundException

Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound.

NotYetConnectedException

Unchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.

NoWritingToolsSpan

A span that signals to IMEs that writing tools should not modify the text.

NsdManager

The Network Service Discovery Manager class provides the API to discover services on a network.

NsdManager.DiscoveryListener

Interface for callback invocation for service discovery

NsdManager.RegistrationListener

Interface for callback invocation for service registration

NsdManager.ResolveListener

Callback for use with android.

NsdManager.ServiceInfoCallback

Callback to listen to service info updates.

NsdServiceInfo

A class representing service information for network service discovery

NullCipher

The NullCipher class is a class that provides an "identity cipher" -- one that does not transform the plain text.

NullPointerException

Thrown when an application attempts to use null in a case where an object is required.

Number

The abstract class Number is the superclass of platform classes representing numeric values that are convertible to the primitive types byte, double, float, int, long, and short.

NumberFormat

[icu enhancement] ICU's replacement for java.text.NumberFormat.

NumberFormat

NumberFormat is the abstract base class for all number formats.

NumberFormat.Field

The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that NumberFormat.

NumberFormat.Field

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from NumberFormat.formatToCharacterIterator and as field identifiers in FieldPosition.

NumberFormatException

Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.

NumberFormatter

All-in-one formatter for localized numbers, currencies, and units.

NumberFormatter.DecimalSeparatorDisplay

An enum declaring how to render the decimal separator.

NumberFormatter.GroupingStrategy

An enum declaring the strategy for when and how to display grouping separators (i.e., the separator, often a comma or period, after every 2-3 powers of ten).

NumberFormatter.RoundingPriority

An enum declaring how to resolve conflicts between maximum fraction digits and maximum significant digits.

NumberFormatter.SignDisplay

An enum declaring how to denote positive and negative numbers.

NumberFormatter.TrailingZeroDisplay

An enum declaring how to render trailing zeros.

NumberFormatter.UnitWidth

An enum declaring how to render units, including currencies.

NumberFormatterSettings

An abstract base class for specifying settings related to number formatting.

NumberingSystem

NumberingSystem is the base class for all number systems.

NumberKeyListener

For numeric text entry

NumberPicker

A widget that enables the user to select a number from a predefined range.

NumberPicker.Formatter

Interface used to format current value into a string for presentation.

NumberPicker.OnScrollListener

Interface to listen for the picker scroll state.

NumberPicker.OnValueChangeListener

Interface to listen for changes of the current value.

NumberRangeFormatter

The main entrypoint to the formatting of ranges of numbers, including currencies and other units of measurement.

NumberRangeFormatter.RangeCollapse

Defines how to merge fields that are identical across the range sign.

NumberRangeFormatter.RangeIdentityFallback

Defines the behavior when the two numbers in the range are identical after rounding.

NumberRangeFormatter.RangeIdentityResult

Used in the result class FormattedNumberRange to indicate to the user whether the numbers formatted in the range were equal or not, and whether or not the identity fallback was applied.

NumberRangeFormatterSettings

An abstract base class for specifying settings related to number formatting.

NumericShaper

The class is used to convert Latin-1 (European) digits to other Unicode decimal digits.

NumericShaper.Range

A NumericShaper.Range represents a Unicode range of a script having its own decimal digits.

NutritionRecord

Captures what nutrients were consumed as part of a meal or a food item.

NutritionRecord.Builder

Builder class for NutritionRecord

O

OAEPParameterSpec

This class specifies the set of parameters used with OAEP Padding, as defined in the PKCS #1 standard.

ObbInfo

Basic information about a Opaque Binary Blob (OBB) that reflects the info from the footer on the OBB file.

ObbScanner

Class to scan Opaque Binary Blob (OBB) files.

ObjDoubleConsumer

Represents an operation that accepts an object-valued and a double-valued argument, and returns no result.

Object

Class Object is the root of the class hierarchy.

ObjectAnimator

This subclass of ValueAnimator provides support for animating properties on target objects.

ObjectInput

ObjectInput extends the DataInput interface to include the reading of objects.

ObjectInputStream

An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.

ObjectInputStream.GetField

Provide access to the persistent fields read from the input stream.

ObjectInputValidation

Callback interface to allow validation of objects within a graph.

ObjectMethods

Bootstrap methods for state-driven implementations of core methods, including Object.equals(Object), Object.hashCode(), and Object.toString().

ObjectOutput

ObjectOutput extends the DataOutput interface to include writing of objects.

ObjectOutputStream

An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.

ObjectOutputStream.PutField

Provide programmatic access to the persistent fields to be written to ObjectOutput.

Objects

This class consists of static utility methods for operating on objects, or checking certain conditions before operation.

ObjectStreamClass

Serialization's descriptor for classes.

ObjectStreamConstants

Constants written into the Object Serialization Stream.

ObjectStreamException

Superclass of all exceptions specific to Object Stream classes.

ObjectStreamField

A description of a Serializable field from a Serializable class.

ObjIntConsumer

Represents an operation that accepts an object-valued and a int-valued argument, and returns no result.

ObjLongConsumer

Represents an operation that accepts an object-valued and a long-valued argument, and returns no result.

Observable

Provides methods for registering or unregistering arbitrary observers in an ArrayList.

Observable This class was deprecated in API level 33. This class and the Observer interface have been deprecated. The event model supported by Observer and Observable is quite limited, the order of notifications delivered by Observable is unspecified, and state changes are not in one-for-one correspondence with notifications. For a richer event model, consider using the java.beans package. For reliable and ordered messaging among threads, consider using one of the concurrent data structures in the java.util.concurrent package. For reactive streams style programming, see the java.util.concurrent.Flow API.
Observer This interface was deprecated in API level 33. This interface has been deprecated. See the Observable class for further information.
ObserverCallback

An interface which apps can implement to subscribe to notifications of changes to AppSearch data.

ObserverSpec

Configures the types, namespaces and other properties that ObserverCallback instances match against.

ObserverSpec.Builder

Builder for ObserverSpec instances.

ObservingDevicePresenceRequest

A request for setting the types of device for observing device presence.

ObservingDevicePresenceRequest.Builder

A builder for ObservingDevicePresenceRequest

OffHostApduService

OffHostApduService is a convenience Service class that can be extended to describe one or more NFC applications that are residing off-host, for example on an embedded secure element or a UICC.

OffsetDateTime

A date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00.

OffsetTime

A time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as 10:15:30+01:00.

OisSample

Immutable class to store an optical image stabilization sample.

OnAccountsUpdateListener

An interface that contains the callback used by the AccountManager

OnBackAnimationCallback

Interface for applications to register back animation callbacks along their custom back handling.

OnBackInvokedCallback

Callback allowing applications to handle back events in place of the system.

OnBackInvokedDispatcher

Dispatcher to register OnBackInvokedCallback instances for handling back invocations.

OnClickAction

Class used to define an action to be performed when a child view in a presentation is clicked.

OnDevicePersonalizationException

Exception thrown by OnDevicePersonalization APIs.

OnDevicePersonalizationManager

OnDevicePersonalizationManager provides APIs for apps to load an IsolatedService in an isolated process and interact with it.

OnDevicePersonalizationManager.ExecuteResult

The result of a call to OnDevicePersonalizationManager.execute(ComponentName,

OnNmeaMessageListener

Used for receiving NMEA sentences from the GNSS.

OnObbStateChangeListener

Used for receiving notifications from StorageManager about OBB file states.

OnReceiveContentListener

Listener for apps to implement handling for insertion of content.

OobInitiatorRangingConfig

Represents the configuration for an Out-of-Band (OOB) initiator in a ranging session.

OobInitiatorRangingConfig.Builder

Builder class for creating instances of OobInitiatorRangingConfig.

OobResponderRangingConfig

Represents the configuration for an Out-of-Band (OOB) responder in a ranging session.

OobResponderRangingConfig.Builder

Builder class for creating instances of OobResponderRangingConfig.

OpcodeInfo

Information about Dalvik opcodes.

Opcodes

A list of all normal (not implementation-specific) Dalvik opcodes.

OpenableColumns

These are standard columns for openable URIs.

OpenBlobForReadResponse

The response to provide batch operation results of AppSearchSession.openBlobForRead.

OpenBlobForWriteResponse

The response to provide batch operation results of AppSearchSession.openBlobForWrite.

OpenOption

An object that configures how to open or create a file.

OperationApplicationException

Thrown when an application of a ContentProviderOperation fails due the specified constraints.

OperationCanceledException

OperationCanceledException

An exception type that is thrown when an operation in progress is canceled.

Optional

A container object which may or may not contain a non-null value.

OptionalDataException

Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream.

OptionalDouble

A container object which may or may not contain a double value.

OptionalInt

A container object which may or may not contain an int value.

OptionalLong

A container object which may or may not contain a long value.

OrientationEventListener

Helper class for receiving notifications from the SensorManager when the orientation of the device has changed.

OrientationListener This class was deprecated in API level 3. use android.view.OrientationEventListener instead. This class internally uses the OrientationEventListener.
OrientedBoundingBox

An oriented bounding box

Os

Access to low-level system functionality.

OsConstants

Constants and helper functions for use with Os.

OutcomeReceiver

Callback interface intended for use when an asynchronous operation may result in a failure.

Outline

Defines a simple shape, used for bounding graphical regions.

OutOfMemoryError

Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.

Output

Simple struct-like class for output parameters.

OutputConfiguration

A class for describing camera output, which contains a Surface and its specific configuration for creating capture session.

OutputKeys

Provides string constants that can be used to set output properties for a Transformer, or to retrieve output properties from a Transformer or Templates object.

OutputStream

This abstract class is the superclass of all classes representing an output stream of bytes.

OutputStreamWriter

An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specified .

OvalShape

Defines an oval shape.

OverlappingFileLockException

Unchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file.

OverlayIdentifier

A key used to uniquely identify a Runtime Resource Overlay (RRO).

OverlayInfo

An immutable information about an overlay.

OverlayManager

OverlayManager gives apps the ability to create an OverlayManagerTransaction to maintain the overlays and list the registered fabricated runtime resources overlays(FRROs).

OverlayManagerTransaction

A container for a batch of requests to the OverlayManager.

OverlayProperties

Provides supported overlay properties of the device.

Override

Indicates that a method declaration is intended to override a method declaration in a supertype.

OverScroller

This class encapsulates scrolling with the ability to overshoot the bounds of a scrolling operation.

OvershootInterpolator

An interpolator where the change flings forward and overshoots the last value then comes back.

OvulationTestRecord

Each record represents the result of an ovulation test.

OvulationTestRecord.Builder

Builder class for OvulationTestRecord

OvulationTestRecord.OvulationTestResult

Identifier for Ovulation Test Result

Owner This interface was deprecated in API level 33. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
OxygenSaturationRecord

Captures the amount of oxygen circulating in the blood, measured as a percentage of oxygen-saturated hemoglobin.

OxygenSaturationRecord.Builder

Builder class for OxygenSaturationRecord

P

Pack200

Transforms a JAR file to or from a packed stream in Pack200 format.

Pack200.Packer

The packer engine applies various transformations to the input JAR file, making the pack stream highly compressible by a compressor such as gzip or zip.

Pack200.Unpacker

The unpacker engine converts the packed stream to a JAR file.

Package

Package objects contain version information about the implementation and specification of a Java package.

PackageHealthStats

Keys for HealthStats returned from HealthStats.getStats(int) with the UidHealthStats.STATS_PACKAGES key.

PackageIdentifier

This class represents a uniquely identifiable package.

PackageInfo

Overall information about the contents of a package.

PackageInstaller

Offers the ability to install, upgrade, and remove applications on the device.

PackageInstaller.InstallConstraints

A class to encapsulate constraints for installation.

PackageInstaller.InstallConstraints.Builder

Builder class for constructing InstallConstraints.

PackageInstaller.InstallConstraintsResult

The callback result of 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.PreapprovalDetails.Builder

A builder for PreapprovalDetails

PackageInstaller.Session

An installation that is being actively staged.

PackageInstaller.SessionCallback

Events for observing session lifecycle.

PackageInstaller.SessionInfo

Details for an active install session.

PackageInstaller.SessionParams

Parameters for creating a new PackageInstaller.Session.

PackageInstaller.UnarchivalState

Used to communicate the unarchival state in reportUnarchivalState.

PackageItemInfo

Base class containing information common to all package items held by the package manager.

PackageItemInfo.DisplayNameComparator

PackageManager

Class for retrieving various kinds of information related to the application packages that are currently installed on the device.

PackageManager.ApplicationInfoFlags

Specific flags used for retrieving application info.

PackageManager.ComponentEnabledSetting

The class containing the enabled setting of a package component.

PackageManager.ComponentInfoFlags

Specific flags used for retrieving component info.

PackageManager.NameNotFoundException

This exception is thrown when a given package, application, or component name cannot be found.

PackageManager.OnChecksumsReadyListener

Listener that gets notified when checksums are available.

PackageManager.PackageInfoFlags

Specific flags used for retrieving package info.

PackageManager.Property

A property value set within the manifest.

PackageManager.ResolveInfoFlags

Specific flags used for retrieving resolve info.

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.

Paint

The Paint class holds the style and color information about how to draw geometries, text and bitmaps.

Paint.Align

Align specifies how drawText aligns its text relative to the [x,y] coordinates.

Paint.Cap

The Cap specifies the treatment for the beginning and ending of stroked lines and paths.

Paint.FontMetrics

Class that describes the various metrics for a font at a given text size.

Paint.FontMetricsInt

Convenience method for callers that want to have FontMetrics values as integers.

Paint.Join

The Join specifies the treatment where lines and curve segments join on a stroked path.

Paint.Style

The Style specifies if the primitive being drawn is filled, stroked, or both (in the same color).

PaintDrawable

Drawable that draws its bounds in the given paint, with optional rounded corners.

PaintFlagsDrawFilter

Pair

Container to ease passing around a tuple of two objects.

ParagraphStyle

The classes that affect paragraph-level text formatting implement this interface.

Parameter

Information about method parameters.

ParameterCapability

Capability info of media quality parameters

ParameterizedType

ParameterizedType represents a parameterized type such as Collection<String>.

ParameterMetaData

An object that can be used to get information about the types and properties for each parameter marker in a PreparedStatement object.

Parcel

Container for a message (data and object references) that can be sent through an IBinder.

Parcelable

Interface for classes whose instances can be written to and restored from a Parcel.

Parcelable.ClassLoaderCreator

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

Parcelable.Creator

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

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.

ParcelFileDescriptor

The FileDescriptor returned by Parcel.readFileDescriptor, allowing you to close it when done with it.

ParcelFileDescriptor.AutoCloseInputStream

An InputStream you can create on a ParcelFileDescriptor, which will take care of calling android.

ParcelFileDescriptor.AutoCloseOutputStream

An OutputStream you can create on a ParcelFileDescriptor, which will take care of calling android.

ParcelFileDescriptor.FileDescriptorDetachedException

Exception that indicates that the file descriptor was detached.

ParcelFileDescriptor.OnCloseListener

Callback indicating that a ParcelFileDescriptor has been closed.

ParcelFormatException

The contents of a Parcel (usually during unmarshalling) does not contain the expected data.

ParcelUuid

This class is a Parcelable wrapper around UUID which is an immutable representation of a 128-bit universally unique identifier.

ParseException

Thrown when parsing failed.

ParseException

Signals that an error has been reached unexpectedly while parsing.

ParsePosition

ParsePosition is a simple class used by Format and its subclasses to keep track of the current position during parsing.

Parser This interface was deprecated in API level 9. This interface has been replaced by the SAX2 XMLReader interface, which includes Namespace support.
ParserAdapter

Adapt a SAX1 Parser as a SAX2 XMLReader.

ParserConfigurationException

Indicates a serious configuration error.

ParserFactory This class was deprecated in API level 9. This class works with the deprecated Parser interface.
PartialCustomAudience

Represents a partial custom audience that is passed along to the buyer ad tech, when scheduling a delayed update for Custom Audience.

PartialCustomAudience.Builder

Builder for PartialCustomAudience objects.

PasnConfig

Pre-association security negotiation (PASN) configuration.

PasnConfig.Builder

Builder for PasnConfig

PasspointConfiguration

Class representing Passpoint configuration.

PasswordAuthentication

The class PasswordAuthentication is a data holder that is used by Authenticator.

PasswordCallback

Underlying security services instantiate and pass a PasswordCallback to the handle method of a CallbackHandler to retrieve password information.

PasswordTransformationMethod

Path

The Path class encapsulates compound (multiple contour) geometric paths consisting of straight line segments, quadratic curves, and cubic curves.

Path

An object that may be used to locate a file in a file system.

Path.Direction

Specifies how closed shapes (e.g. rects, ovals) are oriented when they are added to a path.

Path.FillType

Enum for the ways a path may be filled.

Path.Op

The logical operations that can be performed when combining two paths.

PathClassLoader

Provides a simple ClassLoader implementation that operates on a list of files and directories in the local file system, but does not attempt to load classes from the network.

PathDashPathEffect

PathDashPathEffect.Style

PathEffect

PathEffect is the base class for objects in the Paint that affect the geometry of a drawing primitive before it is transformed by the canvas' matrix and drawn.

PathInterpolator

An interpolator that can traverse a Path that extends from Point(0, 0) to (1, 1).

PathIterator

PathIterator can be used to query a given Path object, to discover its operations and point values.

PathIterator.Segment

This class holds the data for a given segment in a path, as returned by next().

PathMatcher

An interface that is implemented by objects that perform match operations on paths.

PathMeasure

PathMotion

This base class can be extended to provide motion along a Path to Transitions.

PathPermission

Description of permissions needed to access a particular path in a ProviderInfo.

Paths

This class consists exclusively of static methods that return a Path by converting a path string or URI.

PathShape

Creates geometric paths, utilizing the android.graphics.Path class.

Pattern

A compiled representation of a regular expression.

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.

PatternPathMotion

A PathMotion that takes a Path pattern and applies it to the separation between two points.

Patterns

Commonly used regular expression patterns.

PatternSyntaxException

Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.

PBEKey

The interface to a PBE key.

PBEKeySpec

A user-chosen password that can be used with password-based encryption (PBE).

PBEParameterSpec

This class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.

PdfDocument

This class enables generating a PDF document from native Android content.

PdfDocument.Page

This class represents a PDF document page.

PdfDocument.PageInfo

This class represents meta-data that describes a PDF Page.

PdfDocument.PageInfo.Builder

Builder for creating a PageInfo.

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.

PdfRenderer

This class enables rendering a PDF document and selecting, searching, fast scrolling, annotations, etc.

PdfRenderer.Page

This class represents a PDF document page for rendering.

PdfRendererPreV

This class enables rendering a PDF document and selecting, searching, fast scrolling, annotations, etc from Android R till Android U.

PdfRendererPreV.Page

This class represents a PDF document page for rendering.

PeerHandle

Opaque object used to represent a Wi-Fi Aware peer.

PendingIntent

A description of an Intent and target action to perform with it.

PendingIntent.CanceledException

Exception thrown when trying to send through a PendingIntent that has been canceled or is otherwise no longer able to execute the request.

PendingIntent.OnFinished

Callback interface for discovering when a send operation has completed.

PendingJobReasonsInfo

A simple wrapper which includes a timestamp (in millis since epoch) and an array of android.

PeopleManager

This class allows interaction with conversation and people data.

PerBuyerConfiguration

Contains a per buyer configuration which will be used as part of a SellerConfiguration in a GetAdSelectionDataRequest.

PerBuyerConfiguration.Builder

Builder for PerBuyerConfiguration objects.

PerBuyerDecisionLogic

The override object for decision logic JS per buyer for SignedContextualAds.

Percentage

Represents a value as a percentage, not a fraction - for example 100%, 89.

PerformanceHintManager

The PerformanceHintManager allows apps to send performance hint to system.

PerformanceHintManager.Session

A Session represents a group of threads with an inter-related workload such that hints for their performance should be considered as a unit.

PerformanceTestCase This interface was deprecated in API level 24. Use AndroidJUnitRunner instead. New tests should be written using the Android Testing Support Library.
PerformanceTestCase.Intermediates This interface was deprecated in API level 36. Deprecated in Java.
Period

A date-based amount of time in the ISO-8601 calendar system, such as '2 years, 3 months and 4 days'.

PeriodicAdvertisingParameters

The PeriodicAdvertisingParameters provide a way to adjust periodic advertising preferences for each Bluetooth LE advertising set.

PeriodicAdvertisingParameters.Builder

PeriodicSync

Value type that contains information about a periodic sync.

Permission

Android doesn't support SecurityManager.

Permission This interface was deprecated in API level 33. This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
PermissionCollection

Android doesn't support SecurityManager.

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.

PermissionRequest

This class defines a permission request and is used when web content requests access to protected resources.

Permissions

Android doesn't support SecurityManager.

PersistableBundle

A mapping from String keys to values of various types.

PersistAdSelectionResultRequest

Represents a request containing the seller, the ad selection data id and data.

PersistAdSelectionResultRequest.Builder

Builder for PersistAdSelectionResultRequest objects.

PersistentDataBlockManager

Interface to the persistent data partition.

Person

Provides an immutable reference to an entity that appears repeatedly on different surfaces of the platform.

Person.Builder

Builder for the immutable Person class.

PersonalizationData

An object that holds personalization data.

PersonalizationData.Builder

A builder for PersonalizationData.

PesRequest

A request for PES from broadcast signal.

PesResponse

A response for PES from broadcast signal.

PhantomReference

Phantom reference objects, which are enqueued after the collector determines that their referents may otherwise be reclaimed.

Phaser

A reusable synchronization barrier, similar in functionality to CyclicBarrier and CountDownLatch but supporting more flexible usage.

PhoneAccount

Represents a distinct method to place or receive a phone call.

PhoneAccount.Builder

Helper class for creating a PhoneAccount.

PhoneAccountHandle

The unique identifier for a PhoneAccount.

PhoneAccountSuggestion

PhoneNumberFormattingTextWatcher This class was deprecated in API level 35. This is a thin wrapper on a `libphonenumber` `AsYouTypeFormatter`; it is recommended to use that instead.
PhoneNumberUtils

Various utilities for dealing with phone number strings.

PhoneStateListener This class was deprecated in API level 31. Use TelephonyCallback instead.
PhysicalChannelConfig

Picture

A Picture records drawing calls (via the canvas returned by beginRecording) and can then play them back into Canvas (via Picture.draw(Canvas) or Canvas.drawPicture(Picture)).

PictureDrawable

Drawable subclass that wraps a Picture, allowing the picture to be used wherever a Drawable is supported.

PictureInPictureParams

Represents a set of parameters used to initialize and update an Activity in picture-in-picture mode.

PictureInPictureParams.Builder

Builder class for PictureInPictureParams objects.

PictureInPictureUiState

Used by Activity.onPictureInPictureUiStateChanged(PictureInPictureUiState).

PictureProfile

Profile for picture quality.

PictureProfile.Builder

A builder for PictureProfile.

PidHealthStats

Keys for HealthStats returned from HealthStats.getStats(int) with the UidHealthStats.STATS_PIDS key.

Pipe

A pair of channels that implements a unidirectional pipe.

Pipe.SinkChannel

A channel representing the writable end of a Pipe.

Pipe.SourceChannel

A channel representing the readable end of a Pipe.

PipedInputStream

A piped input stream should be connected to a piped output stream; the piped input stream then provides whatever data bytes are written to the piped output stream.

PipedOutputStream

A piped output stream can be connected to a piped input stream to create a communications pipe.

PipedReader

Piped character-input streams.

PipedWriter

Piped character-output streams.

PixelCopy

Provides a mechanisms to issue pixel copy requests to allow for copy operations from Surface to Bitmap

PixelCopy.OnPixelCopyFinishedListener

Listener for observing the completion of a PixelCopy request.

PixelCopy.Request

Represents a PixelCopy request.

PixelCopy.Request.Builder

A builder to create the complete PixelCopy request, which is then executed by calling request(android.view.PixelCopy.Request,java.util.concurrent.Executor,java.util.function.Consumer) with the built request returned from build()

PixelCopy.Result

Contains the result of a PixelCopy request

PixelFormat

PKCS12Attribute

An attribute associated with a PKCS12 keystore entry.

PKCS8EncodedKeySpec

This class represents the ASN.

PKIXBuilderParameters

Parameters used as input for the PKIX CertPathBuilder algorithm.

PKIXCertPathBuilderResult

This class represents the successful result of the PKIX certification path builder algorithm.

PKIXCertPathChecker

An abstract class that performs one or more checks on an X509Certificate.

PKIXCertPathValidatorResult

This class represents the successful result of the PKIX certification path validation algorithm.

PKIXParameters

Parameters used as input for the PKIX CertPathValidator algorithm.

PKIXReason

The PKIXReason enumerates the potential PKIX-specific reasons that an X.

PKIXRevocationChecker

A PKIXCertPathChecker for checking the revocation status of certificates with the PKIX algorithm.

PKIXRevocationChecker.Option

Various revocation options that can be specified for the revocation checking mechanism.

PlannedExerciseBlock

Represents a series of PlannedExerciseStep.

PlannedExerciseBlock.Builder

Builder of PlannedExerciseBlock.

PlannedExerciseSessionRecord

Captures a planned exercise session, also commonly referred to as a training plan.

PlannedExerciseSessionRecord.Builder

Builder class for PlannedExerciseSessionRecord.

PlannedExerciseStep

A single step within an PlannedExerciseBlock e.

PlannedExerciseStep.Builder

Builder of PlannedExerciseStep.

PlatformVpnProfile

PlatformVpnProfile represents a configuration for a platform-based VPN implementation.

PlaybackErrorEvent

Playback error event.

PlaybackErrorEvent.Builder

A builder for PlaybackErrorEvent

PlaybackMetrics

This class is used to store playback data.

PlaybackMetrics.Builder

A builder for PlaybackMetrics

PlaybackParams

Structure for common playback params.

PlaybackSession

An instance of this class represents a session of media playback used to report playback metrics and events.

PlaybackState

Playback state for a MediaSession.

PlaybackState.Builder

Builder for PlaybackState objects.

PlaybackState.CustomAction

CustomActions can be used to extend the capabilities of the standard transport controls by exposing app specific actions to MediaControllers.

PlaybackState.CustomAction.Builder

Builder for CustomAction objects.

PlaybackStateEvent

Playback state event.

PlaybackStateEvent.Builder

A builder for PlaybackStateEvent

PluginStub

This interface is used to implement plugins in a WebView.

PluralFormat

PluralFormat supports the creation of internationalized messages with plural inflection.

PluralRules

Defines rules for mapping non-negative numeric values onto a small set of keywords.

PluralRules.PluralType

Type of plurals and PluralRules.

Point

Point holds two integer coordinates

PointerIcon

Represents an icon that can be used as a mouse pointer.

PointF

PointF holds two float coordinates

PointFEvaluator

This evaluator can be used to perform type interpolation between PointF values.

Policy

Android doesn't support SecurityManager.

Policy.Parameters

PolicyNode

An immutable valid policy tree node as defined by the PKIX certification path validation algorithm.

PolicyQualifierInfo

An immutable policy qualifier represented by the ASN.

PolicySpi

This class defines the Service Provider Interface (SPI) for the Policy class.

PolicyUpdateReceiver

Base class for implementing a policy update receiver.

PolicyUpdateResult

Class containing the reason for the policy (set from DevicePolicyManager) update (e.g. success, failure reasons, etc.).

PollingFrame

Polling Frames represent data about individual frames of an NFC polling loop.

PooledConnection

An object that provides hooks for connection pool management.

PopupMenu

A PopupMenu displays a Menu in a modal popup window anchored to a View.

PopupMenu.OnDismissListener

Callback interface used to notify the application that the menu has closed.

PopupMenu.OnMenuItemClickListener

Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners.

PopupWindow

This class represents a popup window that can be used to display an arbitrary view.

PopupWindow.OnDismissListener

Listener that is called when this popup window is dismissed.

PorterDuff

This class contains the list of alpha compositing and blending modes that can be passed to PorterDuffXfermode, a specialized implementation of Paint's transfer mode.

PorterDuff.Mode

The name of the parent class is an homage to the work of Thomas Porter and Tom Duff, presented in their seminal 1984 paper titled "Compositing Digital Images".

PorterDuffColorFilter

A color filter that can be used to tint the source pixels using a single color and a specific Porter-Duff composite mode.

PorterDuffXfermode

Specialized implementation of Paint's transfer mode.

PortUnreachableException

Signals that an ICMP Port Unreachable message has been received on a connected datagram.

PositionedGlyphs

Text shaping result object for single style text.

PosixFileAttributes

File attributes associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.

PosixFileAttributeView

A file attribute view that provides a view of the file attributes commonly associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.

PosixFilePermission

Defines the bits for use with the permissions attribute.

PosixFilePermissions

This class consists exclusively of static methods that operate on sets of PosixFilePermission objects.

PostProcessor

Helper interface for adding custom processing to an image.

Power

Represents a unit of power.

PowerManager

This class lets you query and request control of aspects of the device's power state.

PowerManager.OnThermalHeadroomChangedListener

Listener passed to android.

PowerManager.OnThermalStatusChangedListener

Listener passed to android.

PowerManager.WakeLock

A wake lock is a mechanism to indicate that your application needs to have the device stay on.

PowerManager.WakeLockStateListener

A listener interface to get notified when the wakelock is enabled/disabled.

PowerMonitor

A PowerMonitor represents either an ODPM rail (on-device power rail monitor) or a modeled energy consumer.

PowerMonitorReadings

A collection of energy measurements from Power Monitors.

PowerRecord

Captures the power generated by the user, e.

PowerRecord.Builder

Builder class for PowerRecord

PowerRecord.PowerRecordSample

Represents a single measurement of power.

PpsMoParser

Utility class for converting OMA-DM (Open Mobile Alliance's Device Management) PPS-MO (PerProviderSubscription Management Object) XML tree to a PasspointConfiguration object.

PreciseDataConnectionState

Contains precise data connection state.

Precision

A class that defines the rounding precision to be used when formatting numbers in NumberFormatter.

PrecomputedText

A text which has the character metrics data.

PrecomputedText.Params

The information required for building PrecomputedText.

PrecomputedText.Params.Builder

A builder for creating Params.

Predicate

Represents a predicate (boolean-valued function) of one argument.

Prediction

Preference 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.
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.
Preference.OnPreferenceChangeListener This interface 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.
Preference.OnPreferenceClickListener This interface 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 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.
PreferenceCategory 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.
PreferenceChangeEvent

An event emitted by a Preferences node to indicate that a preference has been added, removed or has had its value changed.

PreferenceChangeListener

A listener for receiving preference change events.

PreferenceDataStore This interface 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.
PreferenceFragment This class was deprecated in API level 28. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings.
PreferenceFragment.OnPreferenceStartFragmentCallback This interface was deprecated in API level 28. Use
PreferenceGroup 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.
PreferenceManager 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.
PreferenceManager.OnActivityDestroyListener This interface 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.
PreferenceManager.OnActivityResultListener This interface 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.
PreferenceManager.OnActivityStopListener This interface 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.
Preferences

A node in a hierarchical collection of preference data.

PreferenceScreen 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.
PreferencesFactory

A factory object that generates Preferences objects.

PreferentialNetworkServiceConfig

Network configuration to be set for the user profile {@see DevicePolicyManager#setPreferentialNetworkServiceConfigs}.

PreferentialNetworkServiceConfig.Builder

Builder used to create PreferentialNetworkServiceConfig objects.

PreparedStatement

An object that represents a precompiled SQL statement.

PrepareGetCredentialResponse

A response object that prefetches user app credentials and provides metadata about them.

PrepareGetCredentialResponse.PendingGetCredentialHandle

A handle that represents a pending get-credential operation.

Presentation

Base class for presentations.

Presentations

Holds presentations used to visualize autofill suggestions for each available UI type.

Presentations.Builder

A builder for Presentations

PresentationSession

Class for presenting multiple documents to a remote verifier.

PresetReverb

A sound generated within a room travels in many directions.

PresetReverb.OnParameterChangeListener

The OnParameterChangeListener interface defines a method called by the PresetReverb when a parameter value has changed.

PresetReverb.Settings

The Settings class regroups all preset reverb parameters.

Pressure

Represents a unit of pressure.

PreviewableHandwritingGesture

A HandwritingGesture that can be previewed.

PrimitiveIterator

A base type for primitive specializations of Iterator.

PrimitiveIterator.OfDouble

An Iterator specialized for double values.

PrimitiveIterator.OfInt

An Iterator specialized for int values.

PrimitiveIterator.OfLong

An Iterator specialized for long values.

Principal

This interface represents the abstract notion of a principal, which can be used to represent any entity, such as an individual, a corporation, and a login id.

PrintAttributes

This class represents the attributes of a print job.

PrintAttributes.Builder

Builder for creating PrintAttributes.

PrintAttributes.Margins

This class specifies content margins.

PrintAttributes.MediaSize

This class specifies a supported media size.

PrintAttributes.Resolution

This class specifies a supported resolution in DPI (dots per inch).

PrintDocument

This class represents a printed document from the perspective of a print service.

PrintDocumentAdapter

Base class that provides the content of a document to be printed.