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

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

Callback interface intended for use when an asynchronous operation may result in a failure.

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.

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.

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.

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

AppFunctionManager

Provides access to app functions.

AppFunctionManager

Provides app functions related functionalities.

AppFunctionService

Abstract base class to provide app functions to the system.

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.

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

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

BlendMode

BlendModeColorFilter

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

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.

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.

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.

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.

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

CellIdentity is to represent a unique CDMA cell

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

A CellInfo representing a CDMA cell that provides identity and measurement info.

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.

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.

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

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.

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

DeviceId

The response returned from DeviceLockManager.getDeviceId on success.

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

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

Represents a request to execute a specific app function.

ExecuteAppFunctionRequest.Builder

Builder for ExecuteAppFunctionRequest.

ExecuteAppFunctionRequest.Builder

The builder for creating ExecuteAppFunctionRequest instances.

ExecuteAppFunctionResponse

The response to an app function execution.

ExecuteAppFunctionResponse

Represents a response of an execution of an app function.

ExecuteAppFunctionResponse.Builder

The builder for creating ExecuteAppFunctionResponse instances.

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.

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

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

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 Baklava. 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 immediatelybelow 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.

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.

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

This API is not generally intended for third party application developers.

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

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

OpcodeInfo

Information about Dalvik opcodes.

Opcodes

A list of all normal (not implementation-specific) Dalvik opcodes.

OpenableColumns

These are standard columns for openable URIs.

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.

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 Baklava. 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).

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

PrintDocumentAdapter.LayoutResultCallback

Base class for implementing a callback for the result of android.print.PrintDocumentAdapter#onLayout(android.print.PrintAttributes,android.print.PrintAttributes,android.os.CancellationSignal,android.print.PrintDocumentAdapter.LayoutResultCallback,android.os.Bundle).

PrintDocumentAdapter.WriteResultCallback

Base class for implementing a callback for the result of android.print.PrintDocumentAdapter#onWrite(android.print.PageRange[],android.os.ParcelFileDescriptor,android.os.CancellationSignal,android.print.PrintDocumentAdapter.WriteResultCallback).

PrintDocumentInfo

This class encapsulates information about a document for printing purposes.

PrintDocumentInfo.Builder

Builder for creating a PrintDocumentInfo.

PrintedPdfDocument

This class is a helper for creating a PDF file for given print attributes.

Printer

Simple interface for printing text, allowing redirection to various targets.

PrinterCapabilitiesInfo

This class represents the capabilities of a printer.

PrinterCapabilitiesInfo.Builder

Builder for creating of a PrinterCapabilitiesInfo.

PrinterDiscoverySession

This class encapsulates the interaction between a print service and the system during printer discovery.

PrinterId

This class represents the unique id of a printer.

PrinterInfo

This class represents the description of a printer.

PrinterInfo.Builder

Builder for creating of a PrinterInfo.

PrintJob

This class represents a print job from the perspective of an application.

PrintJob

This class represents a print job from the perspective of a print service.

PrintJobId

This class represents the id of a print job.

PrintJobInfo

This class represents the description of a print job.

PrintJobInfo.Builder

Builder for creating a PrintJobInfo.

PrintManager

System level service for accessing the printing capabilities of the platform.

PrintService

This is the base class for implementing print services.

PrintStream

A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.

PrintStreamPrinter

Implementation of a android.util.Printer that sends its output to a java.io.PrintStream.

PrintWriter

Prints formatted representations of objects to a text-output stream.

PrintWriterPrinter

Implementation of a android.util.Printer that sends its output to a java.io.PrintWriter.

PriorityBlockingQueue

An unbounded blocking queue that uses the same ordering rules as class PriorityQueue and supplies blocking retrieval operations.

PriorityQueue

An unbounded priority queue based on a priority heap.

PrivateCredentialPermission

Legacy security code; do not use.

PrivateKey

A private key.

PrivilegedAction

Android doesn't support SecurityManager.

PrivilegedActionException

Legacy security code; do not use.

PrivilegedExceptionAction

Android doesn't support SecurityManager.

Process

Tools for managing OS processes.

Process

The ProcessBuilder.start() and Runtime.exec methods create a native process and return an instance of a subclass of Process that can be used to control the process and obtain information about it.

ProcessBuilder

This class is used to create operating system processes.

ProcessBuilder.Redirect

Represents a source of subprocess input or a destination of subprocess output.

ProcessBuilder.Redirect.Type

The type of a Redirect.

ProcessedData This class was deprecated in API level 30. Please use android.media.MediaDrm
ProcessHealthStats

Keys for HealthStats returned from HealthStats.getStats(int) with the UidHealthStats.STATS_PROCESSES key.

ProcessingInstruction

The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.

ProfilingManager

This class allows the caller to: - Request profiling and listen for results.

ProfilingResult

Encapsulates results of a single profiling request operation.

ProfilingTrigger

Encapsulates a single profiling trigger.

ProfilingTrigger.Builder

Builder class to create a ProfilingTrigger object.

ProgressBar

A user interface element that indicates the progress of an operation.

ProgressDialog This class was deprecated in API level 26. ProgressDialog is a modal dialog, which prevents the user from interacting with the app. Instead of using this class, you should use a progress indicator like android.widget.ProgressBar, which can be embedded in your app's UI. Alternatively, you can use a notification to inform the user of the task's progress.
PromptContentItem

An item shown on PromptContentView.

PromptContentItemBulletedText

A list item with bulleted text shown on PromptVerticalListContentView.

PromptContentItemPlainText

A list item with plain text shown on PromptVerticalListContentView.

PromptContentView

Contains the information of the template of content view for Biometric Prompt.

PromptContentViewWithMoreOptionsButton

Contains the information of the template of content view with a more options button for Biometric Prompt.

PromptContentViewWithMoreOptionsButton.Builder

A builder that collects arguments to be shown on the content view with more options button.

PromptVerticalListContentView

Contains the information of the template of vertical list content view for Biometric Prompt.

PromptVerticalListContentView.Builder

A builder that collects arguments to be shown on the vertical list view.

Properties

The Properties class represents a persistent set of properties.

Property

A property is an abstraction that can be used to represent a mutable value that is held in a host object. The Property's set(java.lang.Object,java.lang.Object) or get(java.lang.Object) methods can be implemented in terms of the private fields of the host object, or via "setter" and "getter" methods or by some other mechanism, as appropriate.

PropertyChangeEvent

A "PropertyChange" event gets delivered whenever a bean changes a "bound" or "constrained" property.

PropertyChangeListener

A "PropertyChange" event gets fired whenever a bean changes a "bound" property.

PropertyChangeListenerProxy

A class which extends the EventListenerProxy specifically for adding a PropertyChangeListener with a "bound" property.

PropertyChangeSupport

This is a utility class that can be used by beans that support bound properties.

PropertyMapper

An interface for mapping the string names of inspectable properties to integer identifiers.

PropertyMapper.PropertyConflictException

Thrown from a map method if a property name is already mapped as different type.

PropertyPath

Represents a property path returned from searching the AppSearch Database.

PropertyPath.PathSegment

A segment of a PropertyPath, which includes the name of the property and a 0-based index into this property.

PropertyPermission

Legacy security code; do not use.

PropertyReader

An interface for reading the properties of an inspectable object.

PropertyReader.PropertyTypeMismatchException

Thrown if a client calls a typed read method for a property of a different type.

PropertyResourceBundle

PropertyResourceBundle is a concrete subclass of ResourceBundle that manages resources for a locale using a set of static strings from a property file.

PropertyValuesHolder

This class holds information about a property and the values that that property should take on during an animation.

ProtectedSignalsManager

ProtectedSignalsManager provides APIs for apps and ad-SDKs to manage their protected signals.

ProtectionDomain

Legacy security code; do not use.

ProtocolException

Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.

ProtocolFamily

Represents a family of communication protocols.

ProtoOutputStream

Class to write to a protobuf stream.

Provider

This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security.

Provider.Service

The description of a security service.

ProviderException

A runtime exception for Provider exceptions (such as misconfiguration errors or unrecoverable internal errors), which may be subclassed by Providers to throw specialized, provider-specific runtime errors.

ProviderInfo

Holds information about a specific content provider.

ProviderMismatchException

Unchecked exception thrown when an attempt is made to invoke a method on an object created by one file system provider with a parameter created by a different file system provider.

ProviderNotFoundException

Runtime exception thrown when a provider of the required type cannot be found.

ProviderProperties

Location provider properties.

ProviderProperties.Builder

Builder for ProviderProperties.

ProviderTestCase This class was deprecated in API level 5. this class extends InstrumentationTestCase but should extend AndroidTestCase. Use ProviderTestCase2, which corrects this problem, instead.
ProviderTestCase2

This test case class provides a framework for testing a single ContentProvider and for testing your app code with an isolated content provider.

ProvisioningManager

Manages IMS provisioning and configuration parameters, as well as callbacks for apps to listen to changes in these configurations.

ProvisioningManager.FeatureProvisioningCallback

Callback for IMS provisioning feature changes.

Proxy

A convenience class for accessing the user and default proxy settings.

Proxy

Proxy provides static methods for creating dynamic proxy classes and instances, and it is also the superclass of all dynamic proxy classes created by those methods.

Proxy

This class represents a proxy setting, typically a type (http, socks) and a socket address.

Proxy.Type

Represents the proxy type.

ProxyFileDescriptorCallback

Callback that handles file system requests from ProxyFileDescriptor.

ProxyInfo

Describes a proxy configuration.

ProxySelector

Selects the proxy server to use, if any, when connecting to the network resource referenced by a URL.

PSource

This class specifies the source for encoding input P in OAEP Padding, as defined in the PKCS #1 standard.

PSource.PSpecified

This class is used to explicitly specify the value for encoding input P in OAEP Padding.

PSSParameterSpec

This class specifies a parameter spec for RSASSA-PSS signature scheme, as defined in the PKCS#1 v2.2 standard.

PublicKey

A public key.

PublishConfig

Defines the configuration of an Aware publish session.

PublishConfig.Builder

Builder used to build PublishConfig objects.

PublishDiscoverySession

A class representing a Aware publish session.

PushbackInputStream

A PushbackInputStream adds functionality to another input stream, namely the ability to "push back" or "unread" bytes, by storing pushed-back bytes in an internal buffer.

PushbackReader

A character-stream reader that allows characters to be pushed back into the stream.

PutDocumentsRequest

Encapsulates a request to index documents into an AppSearchSession database.

PutDocumentsRequest.Builder

Builder for PutDocumentsRequest objects.

Q

QName

QName represents a qualified name as defined in the XML specifications: XML Schema Part2: Datatypes specification, Namespaces in XML, Namespaces in XML Errata.

QueryLocationException

This class represents a set of exceptions that can occur when requesting a Connection.queryLocationForEmergency(long, String, Executor, OutcomeReceiver)

Queue

A collection designed for holding elements prior to processing.

QuicException

Subclass of NetworkException which contains a detailed QUIC error code from QuicErrorCode.

QuickAccessWalletService

A QuickAccessWalletService provides a list of WalletCards shown in the Quick Access Wallet.

QuickContactBadge

Widget used to show an image with the standard QuickContact badge and on-click behavior.

QuickViewConstants

Constants for Intent.ACTION_QUICK_VIEW.

QuicOptions

Configuration options for QUIC.

QuicOptions.Builder

Builder for QuicOptions.

QuoteSpan

A span which styles paragraphs by adding a vertical stripe at the beginning of the text (respecting layout direction).

QwertyKeyListener

This is the standard key listener for alphabetic input on qwerty keyboards.

R

R

R.anim

R.animator

R.array

R.attr

R.bool

R.color

R.dimen

R.drawable

R.fraction

R.id

R.integer

R.interpolator

R.layout

R.menu

R.mipmap

R.plurals

R.raw

R.string

R.style

R.styleable

R.transition

R.xml

RadialGradient

RadioAccessSpecifier

Describes a particular radio access network to be scanned.

RadioButton

A radio button is a two-states button that can be either checked or unchecked.

RadioGroup

This class is used to create a multiple-exclusion scope for a set of radio buttons.

RadioGroup.LayoutParams

This set of layout parameters defaults the width and the height of the children to WRAP_CONTENT when they are not specified in the XML file.

RadioGroup.OnCheckedChangeListener

Interface definition for a callback to be invoked when the checked radio button changed in this group.

Random

An instance of this class is used to generate a stream of pseudorandom numbers; its period is only 248.

RandomAccess

Marker interface used by List implementations to indicate that they support fast (generally constant time) random access.

RandomAccessFile

Instances of this class support both reading and writing to a random access file.

RandomGenerator

The RandomGenerator interface is designed to provide a common protocol for objects that generate random or (more typically) pseudorandom sequences of numbers (or Boolean values).

RandomGenerator.ArbitrarilyJumpableGenerator

This interface is designed to provide a common protocol for objects that generate sequences of pseudorandom values and can easily jump forward, by an arbitrary amount, to a distant point in the state cycle.

RandomGenerator.JumpableGenerator

This interface is designed to provide a common protocol for objects that generate pseudorandom values and can easily jump forward, by a moderate amount (ex. 2

RandomGenerator.LeapableGenerator

This interface is designed to provide a common protocol for objects that generate sequences of pseudorandom values and can easily not only jump but also leap forward, by a large amount (ex. 2

RandomGenerator.SplittableGenerator

This interface is designed to provide a common protocol for objects that generate sequences of pseudorandom values and can be split into two objects (the original one and a new one) each of which obey that same protocol (and therefore can be recursively split indefinitely).

RandomGenerator.StreamableGenerator

The StreamableGenerator interface augments the RandomGenerator interface to provide methods that return streams of RandomGenerator objects.

RandomGeneratorFactory

This is a factory class for generating multiple random number generators of a specific algorithm.

Range

Immutable class for describing the range of two numeric values.

RangeTemplate

A template for a Control with inputs in a "continuous" range of values.

RangeValueIterator

Interface for enabling iteration over sets of <int index, int value>, where index is the sorted integer index in ascending order and value, its associated integer value.

RangeValueIterator.Element

Return result wrapper for android.

RangingRequest

Defines the ranging request to other devices.

RangingRequest.Builder

Builder class used to construct RangingRequest objects.

RangingResult

Ranging result for a request started by WifiRttManager.startRanging(RangingRequest, java.util.concurrent.Executor, RangingResultCallback).

RangingResult.Builder

Builder class used to construct RangingResult objects.

RangingResultCallback

Base class for ranging result callbacks.

Rating

A class to encapsulate rating information used as content metadata.

RatingBar

A RatingBar is an extension of SeekBar and ProgressBar that shows a rating in stars.

RatingBar.OnRatingBarChangeListener

A callback that notifies clients when the rating has been changed.

Rational

An immutable data type representation a rational number.

RC2ParameterSpec

This class specifies the parameters used with the RC2 algorithm.

RC5ParameterSpec

This class specifies the parameters used with the RC5 algorithm.

RcsUceAdapter

Manages RCS User Capability Exchange for the subscription specified.

Readable

A Readable is a source of characters.

ReadableByteChannel

A channel that can read bytes.

Reader

Instances of this class represent Secure Element Readers supported to this device.

Reader

Abstract class for reading character streams.

ReadMedicalResourcesInitialRequest

An initial read request with specified filters for android.

ReadMedicalResourcesInitialRequest.Builder

Builder class for ReadMedicalResourcesInitialRequest.

ReadMedicalResourcesPageRequest

A page read request with specified pageToken for android.

ReadMedicalResourcesPageRequest.Builder

Builder class for ReadMedicalResourcesPageRequest.

ReadMedicalResourcesRequest

A base class to represent a read request for android.

ReadMedicalResourcesResponse

A read response for android.

ReadOnlyBufferException

Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer.

ReadOnlyFileSystemException

Unchecked exception thrown when an attempt is made to update an object associated with a read-only FileSystem.

ReadPendingException

Unchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed.

ReadRecordsRequest

A Base class to represent a request for android.health.connect.HealthConnectManager#readRecords(android.health.connect.ReadRecordsRequest,java.util.concurrent.Executor,android.os.OutcomeReceiver)

ReadRecordsRequestUsingFilters

Class to represent a request based on time range and data origin filters for android.health.connect.HealthConnectManager#readRecords(android.health.connect.ReadRecordsRequest,java.util.concurrent.Executor,android.os.OutcomeReceiver)

ReadRecordsRequestUsingFilters.Builder

Builder class for ReadRecordsRequestUsingFilters

ReadRecordsRequestUsingIds

A request class to represent request based on RecordIdFilters for android.health.connect.HealthConnectManager#readRecords(android.health.connect.ReadRecordsRequest,java.util.concurrent.Executor,android.os.OutcomeReceiver)

ReadRecordsRequestUsingIds.Builder

Builder class for ReadRecordsRequestUsingIds

ReadRecordsResponse

Response containing list of Records for HealthConnectManager.readRecords.

ReadWriteLock

A ReadWriteLock maintains a pair of associated locks, one for read-only operations and one for writing.

ReceiverCallNotAllowedException

This exception is thrown from android.

RecognitionListener

Used for receiving notifications from the SpeechRecognizer when the recognition related events occur.

RecognitionPart

Info about a single recognition part.

RecognitionPart.Builder

A builder for RecognitionPart

RecognitionService

This class provides a base class for recognition service implementations.

RecognitionService.Callback

This class receives callbacks from the speech recognition service and forwards them to the user.

RecognitionService.SupportCallback

This class receives callbacks from the speech recognition service and forwards them to the user.

RecognitionSupport

Encodes the level of support for a given speech recognition request

RecognitionSupport.Builder

A builder for RecognitionSupport

RecognitionSupportCallback

Used for receiving notifications from the SpeechRecognizer about the device support status for the given recognition request.

RecognizerIntent

Constants for supporting speech recognition through starting an Intent

RecognizerResultsIntent

Constants for intents related to showing speech recognition results.

RecommendedStreamConfigurationMap

Immutable class to store the recommended stream configurations to set up Surfaces for creating a capture session with android.hardware.camera2.CameraDevice#createCaptureSession(SessionConfiguration).

Record

A base class for all record classes

Record

This is the common base class of all Java language record classes.

RecordComponent

A RecordComponent provides information about, and dynamic access to, a component of a record class.

RecordIdFilter

A class to represent filtering based on record ID or client ID.

RecordingCanvas

A Canvas implementation that records view system drawing operations for deferred rendering.

RecordingSession

An instances of this class represents a session of media recording.

RecoverableSecurityException

Specialization of SecurityException that contains additional information about how to involve the end user to recover from the exception.

RecoverySystem

RecoverySystem contains methods for interacting with the Android recovery system (the separate partition that can be used to install system updates, wipe user data, etc.)

RecoverySystem.ProgressListener

Interface definition for a callback to be invoked regularly as verification proceeds.

Rect

Rect holds four integer coordinates for a rectangle.

RectEvaluator

This evaluator can be used to perform type interpolation between Rect values.

RectF

RectF holds four float coordinates for a rectangle.

RectShape

Defines a rectangle shape.

RecursiveAction

A recursive resultless ForkJoinTask.

RecursiveTask

A recursive result-bearing ForkJoinTask.

ReentrantLock

A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor lock accessed using synchronized methods and statements, but with extended capabilities.

ReentrantReadWriteLock

An implementation of ReadWriteLock supporting similar semantics to ReentrantLock.

ReentrantReadWriteLock.ReadLock

The lock returned by method ReentrantReadWriteLock.readLock.

ReentrantReadWriteLock.WriteLock

The lock returned by method ReentrantReadWriteLock.writeLock.

Ref

The mapping in the Java programming language of an SQL REF value, which is a reference to an SQL structured type value in the database.

Reference

Abstract base class for reference objects.

ReferenceQueue

Reference queues, to which registered reference objects are appended by the garbage collector after the appropriate reachability changes are detected.

ReflectiveOperationException

Common superclass of exceptions thrown by reflective operations in core reflection.

ReflectPermission

Legacy security code; do not use.

RegexValidator

Defines if a field is valid based on a regular expression (regex).

Region

Region.Op

RegionIterator

RegisterCredentialDescriptionRequest

A request to register a ComponentName that contains an actively provisioned Credential represented by a CredentialDescription.

RegistrationManager

Manages IMS Service registration state for associated ImsFeatures.

RegistrationManager.RegistrationCallback

Callback class for receiving IMS network Registration callback events.

RejectedExecutionException

Exception thrown by an Executor when a task cannot be accepted for execution.

RejectedExecutionHandler

A handler for tasks that cannot be executed by a ThreadPoolExecutor.

RelativeDateTimeFormatter

Formats simple relative dates.

RelativeDateTimeFormatter.AbsoluteUnit

Represents an absolute unit.

RelativeDateTimeFormatter.Direction

Represents a direction for an absolute unit e.

RelativeDateTimeFormatter.FormattedRelativeDateTime

Represents the result of a formatting operation of a relative datetime.

RelativeDateTimeFormatter.RelativeDateTimeUnit

Represents the unit for formatting a relative date.

RelativeDateTimeFormatter.RelativeUnit

Represents the unit for formatting a relative date.

RelativeDateTimeFormatter.Style

The formatting style

RelativeLayout

A Layout where the positions of the children can be described in relation to each other or to the parent.

RelativeLayout.LayoutParams

Specifies how a view is positioned within a RelativeLayout.

RelativeSizeSpan

Uniformly scales the size of the text to which it's attached by a certain proportion.

RemoteAction

Represents a remote action that can be called from another process.

RemoteCallbackList

Takes care of the grunt work of maintaining a list of remote interfaces, typically for the use of performing callbacks from a android.app.Service to its clients.

RemoteConference

A conference provided to a ConnectionService by another ConnectionService through ConnectionService.conferenceRemoteConnections.

RemoteConference.Callback

Callback base class for RemoteConference.

RemoteConnection

A connection provided to a ConnectionService by another ConnectionService running in a different process.

RemoteConnection.Callback

Callback base class for RemoteConnection.

RemoteConnection.VideoProvider

RemoteConnection.VideoProvider associated with a RemoteConnection.

RemoteConnection.VideoProvider.Callback

Callback class used by the RemoteConnection.VideoProvider to relay events from the Connection.VideoProvider.

RemoteControlClient This class was deprecated in API level 21. Use MediaSession instead.
RemoteControlClient.MetadataEditor This class was deprecated in API level 21. Use MediaMetadata and MediaSession instead.
RemoteControlClient.OnGetPlaybackPositionListener This interface was deprecated in API level 29. Deprecated in Java.
RemoteControlClient.OnMetadataUpdateListener This interface was deprecated in API level 29. Deprecated in Java.
RemoteControlClient.OnPlaybackPositionUpdateListener This interface was deprecated in API level 29. Deprecated in Java.
RemoteController This class was deprecated in API level 21. Use MediaController instead.
RemoteController.MetadataEditor This class was deprecated in API level 29. Deprecated in Java.
RemoteController.OnClientUpdateListener This interface was deprecated in API level 29. Deprecated in Java.
RemoteEntry

An entry to be shown on the UI.

RemoteException

Parent exception for all Binder remote-invocation errors Note: not all exceptions from binder services will be subclasses of this.

RemoteInput

A RemoteInput object specifies input to be collected from a user to be passed along with an intent inside a android.app.PendingIntent that is sent.

RemoteInput.Builder

Builder class for RemoteInput objects.

RemoteViews

A class that describes a view hierarchy that can be displayed in another process.

RemoteViews.ActionException

Exception to send when something goes wrong executing an action

RemoteViews.DrawInstructions

A data parcel that carries the instructions to draw the RemoteViews, as an alternative to XML layout.

RemoteViews.DrawInstructions.Builder

Builder class for DrawInstructions objects.

RemoteViews.RemoteCollectionItems

Representation of a fixed list of items to be displayed in a RemoteViews collection.

RemoteViews.RemoteCollectionItems.Builder

Builder class for RemoteCollectionItems objects.

RemoteViews.RemoteResponse

Class representing a response to an action performed on any element of a RemoteViews.

RemoteViews.RemoteView

This annotation indicates that a subclass of View is allowed to be used with the RemoteViews mechanism.

RemoteViews.RemoteViewOutlineProvider

OutlineProvider for a view with a radius set by setViewOutlinePreferredRadius(int,float,int).

RemoteViewsService

The service to be connected to for a remote adapter to request RemoteViews.

RemoteViewsService.RemoteViewsFactory

An interface for an adapter between a remote collection view (ListView, GridView, etc) and the underlying data for that view.

RemoveAdSelectionFromOutcomesOverrideRequest

This POJO represents the RemoveAdSelectionFromOutcomesOverrideRequest, Executor, OutcomeReceiver) request

RemoveAdSelectionOverrideRequest

This POJO represents the TestAdSelectionManager.removeAdSelectionConfigRemoteInfoOverride( request

RemoveByDocumentIdRequest

Encapsulates a request to remove documents by namespace and IDs from the AppSearchSession database.

RemoveByDocumentIdRequest.Builder

Builder for RemoveByDocumentIdRequest objects.

RemoveCustomAudienceOverrideRequest

This POJO represents the TestCustomAudienceManager.removeCustomAudienceRemoteInfoOverride( request.

RemoveCustomAudienceOverrideRequest.Builder

Builder for RemoveCustomAudienceOverrideRequest objects.

RemoveSpaceGesture

A subclass of HandwritingGesture for removing whitespace from text.

RemoveSpaceGesture.Builder

Builder for RemoveSpaceGesture.

RenamingDelegatingContext This class was deprecated in API level 24. New tests should be written using the Android Testing Support Library.
RenderEffect

Intermediate rendering step used to render drawing commands with a corresponding visual effect.

RenderingConfig

Information returned by IsolatedWorker.onExecute(ExecuteInput, android.os.OutcomeReceiver) that is used in a subesequent call to IsolatedWorker.onRender(RenderInput, android.os.OutcomeReceiver) to identify the content to be displayed in a single android.view.View.

RenderingConfig.Builder

A builder for RenderingConfig

RenderInput

The input data for IsolatedWorker.onRender(RenderInput, android.os.OutcomeReceiver).

RenderNode

RenderNode is used to build hardware accelerated rendering hierarchies.

RenderOutput

The result returned by IsolatedWorker.onRender(RenderInput, android.os.OutcomeReceiver).

RenderOutput.Builder

A builder for RenderOutput

RenderParams

Represents a set of parameters that will be used to render a page of the PDF document.

RenderParams.Builder

Builder for constructing RenderParams.

RenderProcessGoneDetail

This class provides more specific information about why the render process exited.

RenderScript 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.
RenderScript.ContextType This enum was deprecated in API level 31. Deprecated in Java.
RenderScript.Priority This enum was deprecated in API level 31. Deprecated in Java.
RenderScript.RSErrorHandler This class was deprecated in API level 31. Deprecated in Java.
RenderScript.RSMessageHandler This class was deprecated in API level 31. Deprecated in Java.
Repeatable

The annotation interface java.lang.annotation.Repeatable is used to indicate that the annotation interface whose declaration it (meta-)annotates is repeatable.

RepetitiveTest This annotation was deprecated in API level Baklava. New tests should be written using the Android Testing Support Library.
Replaceable

Replaceable is an interface representing a string of characters that supports the replacement of a range of itself with a new string of characters.

ReplacementSpan

ReplacementTransformationMethod

This transformation method causes the characters in the getOriginal array to be replaced by the corresponding characters in the getReplacement array.

ReportEventRequest

Request object wrapping the required arguments needed to report an ad event.

ReportEventRequest.Builder

Builder for ReportEventRequest objects.

ReportImpressionRequest

Represent input parameters to the reportImpression API.

ReportSystemUsageRequest

A request to report usage of a document owned by another app from a system UI surface.

ReportSystemUsageRequest.Builder

Builder for ReportSystemUsageRequest objects.

ReportUsageRequest

A request to report usage of a document.

ReportUsageRequest.Builder

Builder for ReportUsageRequest objects.

RequestLogRecord

Contains data that will be written to the REQUESTS table at the end of a call to IsolatedWorker.onExecute(ExecuteInput, android.os.OutcomeReceiver).

RequestLogRecord.Builder

A builder for RequestLogRecord

RequestSurfacePackageException This exception was deprecated in API level Baklava. Exception is used at SdkSandboxManager.requestSurfacePackage which is getting deprecated.
RequestToken

An opaque token that identifies the current request to an IsolatedService.

ResolveInfo

Information that is returned from resolving an intent against an IntentFilter.

ResolveInfo.DisplayNameComparator

ResolverStyle

Enumeration of different ways to resolve dates and times.

ResourceBundle

Resource bundles contain locale-specific objects.

ResourceBundle.Control

ResourceBundle.Control defines a set of callback methods that are invoked by the ResourceBundle.getBundle factory methods during the bundle loading process.

ResourceBusyException

Exception thrown when an operation on a MediaDrm object is attempted and hardware resources are not available, due to being in use.

ResourceCursorAdapter

An easy adapter that creates views defined in an XML file.

ResourceCursorTreeAdapter

A fairly simple ExpandableListAdapter that creates views defined in an XML file.

ResourceMismatchViolation

Resources

Class for accessing an application's resources.

Resources.NotFoundException

This exception is thrown by the resource APIs when a requested resource can not be found.

Resources.Theme

This class holds the current attribute values for a particular theme.

ResourcesLoader

A container for supplying ResourcesProvider(s) to Resources objects.

ResourcesProvider

Provides methods to load resources data from APKs (.apk) and resources tables (eg.

RespiratoryRateRecord

Captures the user's respiratory rate.

RespiratoryRateRecord.Builder

Builder class for RespiratoryRateRecord

ResponderConfig

Defines the configuration of an IEEE 802.

ResponderConfig.Builder

Builder class used to construct ResponderConfig objects.

ResponderLocation

ResponderLocation is both a Location Configuration Information (LCI) decoder and a Location Civic Report (LCR) decoder for information received from a Wi-Fi Access Point (AP) during Wi-Fi RTT ranging process.

ResponseCache

Represents implementations of URLConnection caches.

RestingHeartRateRecord

Captures the user's resting heart rate.

RestingHeartRateRecord.Builder

Builder class for RestingHeartRateRecord

RestoreObserver

Callback class for receiving progress reports during a restore operation.

RestrictionEntry

Applications can expose restrictions for a restricted user on a multiuser device.

RestrictionsManager

Provides a mechanism for apps to query restrictions imposed by an entity that manages the user.

RestrictionsReceiver

Abstract implementation of a Restrictions Provider BroadcastReceiver.

Result

An object that implements this interface contains the information needed to build a transformation result tree.

ResultData This class was deprecated in API level 33. Use PresentationSession instead.
ResultReceiver

Generic interface for receiving a callback result from someone.

ResultSet

A table of data representing a database result set, which is usually generated by executing a statement that queries the database.

ResultSetMetaData

An object that can be used to get information about the types and properties of the columns in a ResultSet object.

Retention

Indicates how long annotations with the annotated interface are to be retained.

RetentionPolicy

Annotation retention policy.

Rfc822Token

This class stores an RFC 822-like name, address, and comment, and provides methods to convert them to quoted strings.

Rfc822Tokenizer

This class works as a Tokenizer for MultiAutoCompleteTextView for address list fields, and also provides a method for converting a string of addresses (such as might be typed into such a field) into a series of Rfc822Tokens.

RggbChannelVector

Immutable class to store a 4-element vector of floats indexable by a bayer RAW 2x2 pixel block.

Ringtone

Ringtone provides a quick method for playing a ringtone, notification, or other similar types of sounds.

RingtoneManager

RingtoneManager provides access to ringtones, notification, and other types of sounds.

RingtonePreference 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.
RippleDrawable

Drawable that shows a ripple effect in response to state changes.

RoleManager

This class provides information about and manages roles.

RootElement

The root XML element.

RotateAnimation

An animation that controls the rotation of an object.

RotateDrawable

A Drawable that can rotate another Drawable based on the current level value.

RoundedCorner

Represents a rounded corner of the display.

RoundingMode

Specifies a rounding policy for numerical operations capable of discarding precision.

RoundRectShape

Creates a rounded-corner rectangle.

RouteDiscoveryPreference

A media route discovery preference describing the features of routes that media router would like to discover and whether to perform active scanning.

RouteDiscoveryPreference.Builder

Builder for RouteDiscoveryPreference.

RouteInfo

Represents a network route.

RouteListingPreference

Allows applications to customize the list of routes used for media routing (for example, in the System UI Output Switcher).

RouteListingPreference.Builder

Builder for RouteListingPreference.

RouteListingPreference.Item

Holds preference information for a specific route in a RouteListingPreference.

RouteListingPreference.Item.Builder

Builder for Item.

RouteSelectionDescriptor

Represents a single route selection descriptor as defined in 3GPP TS 24.

RoutingSessionInfo

Describes a routing session which is created when a media route is selected.

RoutingSessionInfo.Builder

Builder class for RoutingSessionInfo.

RowId

The representation (mapping) in the Java programming language of an SQL ROWID value.

RowIdLifetime

Enumeration for RowId life-time values.

RowSet

The interface that adds support to the JDBC API for the JavaBeansTM component model.

RowSetEvent

An Event object generated when an event occurs to a RowSet object.

RowSetInternal

The interface that a RowSet object implements in order to present itself to a RowSetReader or RowSetWriter object.

RowSetListener

An interface that must be implemented by a component that wants to be notified when a significant event happens in the life of a RowSet object.

RowSetMetaData

An object that contains information about the columns in a RowSet object.

RowSetReader

The facility that a disconnected RowSet object calls on to populate itself with rows of data.

RowSetWriter

An object that implements the RowSetWriter interface, called a writer.

RSAKey

The interface to a public or private key in PKCS#1 v2.2 standard, such as those for RSA, or RSASSA-PSS algorithms.

RSAKeyGenParameterSpec

This class specifies the set of parameters used to generate an RSA key pair.

RSAMultiPrimePrivateCrtKey

The interface to an RSA multi-prime private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.

RSAMultiPrimePrivateCrtKeySpec

This class specifies an RSA multi-prime private key, as defined in the PKCS#1 v2.2 standard using the Chinese Remainder Theorem (CRT) information values for efficiency.

RSAOtherPrimeInfo

This class represents the triplet (prime, exponent, and coefficient) inside RSA's OtherPrimeInfo structure, as defined in the PKCS#1 v2.2 standard.

RSAPrivateCrtKey

The interface to an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.

RSAPrivateCrtKeySpec

This class specifies an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values for efficiency.

RSAPrivateKey

The interface to an RSA private key.

RSAPrivateKeySpec

This class specifies an RSA private key.

RSAPublicKey

The interface to an RSA public key.

RSAPublicKeySpec

This class specifies an RSA public key.

RSDriverException This exception was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
RSIllegalArgumentException This exception was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
RSInvalidStateException This exception was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
RSRuntimeException This exception was deprecated in API level 31. Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
RtpStream 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.
RuleBasedCollator

RuleBasedCollator is a concrete subclass of Collator.

RuleBasedCollator

The class is a concrete subclass of Collator that provides a simple, data-driven, table collator.

Runnable

The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.

RunnableFuture

A Future that is Runnable.

RunnableScheduledFuture

A ScheduledFuture that is Runnable.

Runtime

Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.

RuntimeException

RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.

RuntimePermission

Legacy security code; do not use.

RuntimeShader

A RuntimeShader calculates a per-pixel color based on the output of a user defined Android Graphics Shading Language (AGSL) function.

S

SafeBrowsingResponse

Used to indicate an action to take when hitting a malicious URL.

SafeVarargs

A programmer assertion that the body of the annotated method or constructor does not perform potentially unsafe operations on its varargs parameter.

Sampler 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.
Sampler.Builder This class was deprecated in API level 31. Deprecated in Java.
Sampler.Value This enum was deprecated in API level 31. Deprecated in Java.
SandboxedSdk

Represents an SDK loaded in the sandbox process.

SandboxedSdkProvider

Encapsulates API which SDK sandbox can use to interact with SDKs loaded into it.

Sanitizer

Helper class used to sanitize user input before using it in a save request.

SaProposal

SaProposal represents a proposed configuration to negotiate an IKE or Child SA.

SaveCallback

Handles save requests from the AutofillService into the Activity being autofilled.

SavedDatasetsInfo

A result returned from AutofillService.onSavedDatasetsInfoRequest(SavedDatasetsInfoCallback).

SavedDatasetsInfoCallback

Handles the response to AutofillService.onSavedDatasetsInfoRequest(SavedDatasetsInfoCallback).

SaveInfo

Information used to indicate that an AutofillService is interested on saving the user-inputed data for future use, through a AutofillService.onSaveRequest(SaveRequest, SaveCallback) call.

SaveInfo.Builder

A builder for SaveInfo objects.

Savepoint

The representation of a savepoint, which is a point within the current transaction that can be referenced from the Connection.rollback method.

SaveRequest

This class represents a request to an autofill provider to save applicable data entered by the user.

SAXException

Encapsulate a general SAX error or warning.

SAXNotRecognizedException

Exception class for an unrecognized identifier.

SAXNotSupportedException

Exception class for an unsupported operation.

SAXParseException

Encapsulate an XML parse error or warning.

SAXParser

Defines the API that wraps an org.xml.sax.XMLReader implementation class.

SAXParserFactory

Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents.

SAXResult

Acts as an holder for a transformation Result.

SAXSource

Acts as an holder for SAX-style Source.

SAXTransformerFactory

This class extends TransformerFactory to provide SAX-specific factory methods.

Scale

A class that defines a quantity by which a number should be multiplied when formatting.

ScaleAnimation

An animation that controls the scale of an object.

ScaleDrawable

A Drawable that changes the size of another Drawable based on its current level value.

ScaleGestureDetector

Detects scaling transformation gestures using the supplied MotionEvents.

ScaleGestureDetector.OnScaleGestureListener

The listener for receiving notifications when gestures occur.

ScaleGestureDetector.SimpleOnScaleGestureListener

A convenience class to extend when you only want to listen for a subset of scaling-related events.

ScaleXSpan

Scales horizontally the size of the text to which it's attached by a certain factor.

ScanCallback

Bluetooth LE scan callbacks.

ScanFilter

Criteria for filtering result from Bluetooth LE scans.

ScanFilter.Builder

Builder class for ScanFilter.

Scanner

A simple text scanner which can parse primitive types and strings using regular expressions.

ScanRecord

Represents a scan record from Bluetooth LE scan.

ScanResult

ScanResult for Bluetooth LE scan.

ScanResult

Describes information about a detected access point.

ScanResult.InformationElement

information elements from beacon.

ScanSettings

Bluetooth LE scan settings are passed to android.

ScanSettings.Builder

Builder for ScanSettings.

ScatteringByteChannel

A channel that can read bytes into a sequence of buffers.

Scene

A scene represents the collection of values that various properties in the View hierarchy will have when the scene is applied.

ScheduleCustomAudienceUpdateRequest

The request object wrapping the required and optional parameters to schedule a deferred update for a buyer ad tech's custom audiences.

ScheduleCustomAudienceUpdateRequest.Builder

Builder for ScheduleCustomAudienceUpdateRequest objects.

ScheduledExecutorService

An ExecutorService that can schedule commands to run after a given delay, or to execute periodically.

ScheduledFuture

A delayed result-bearing action that can be cancelled.

ScheduledThreadPoolExecutor

A ThreadPoolExecutor that can additionally schedule commands to run after a given delay, or to execute periodically.

Schema

Immutable in-memory representation of grammar.

SchemaChangeInfo

Contains information about a schema change detected by an ObserverCallback.

SchemaFactory

Factory that creates Schema objects.

SchemaFactoryLoader

This class was removed from JAXP 1.

SchemaVisibilityConfig

A class to hold a all necessary Visibility information corresponding to the same schema.

SchemaVisibilityConfig.Builder

The builder class of SchemaVisibilityConfig.

ScientificNotation

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

ScientificNumberFormatter

A formatter that formats numbers in user-friendly scientific notation.

Script 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.
Script.Builder This class was deprecated in API level 31. Deprecated in Java.
Script.FieldBase This class was deprecated in API level 31. Deprecated in Java.
Script.FieldID This class was deprecated in API level 31. Deprecated in Java.
Script.InvokeID This class was deprecated in API level 31. Deprecated in Java.
Script.KernelID This class was deprecated in API level 31. Deprecated in Java.
Script.LaunchOptions This class was deprecated in API level 31. Deprecated in Java.
ScriptC 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.
ScriptGroup 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.
ScriptGroup.Binding This class was deprecated in API level 31. Deprecated in Java.
ScriptGroup.Builder This class was deprecated in API level 23. Use Builder2 instead.
ScriptGroup.Builder2 This class was deprecated in API level 31. Deprecated in Java.
ScriptGroup.Closure This class was deprecated in API level 31. Deprecated in Java.
ScriptGroup.Future This class was deprecated in API level 31. Deprecated in Java.
ScriptGroup.Input This class was deprecated in API level 31. Deprecated in Java.
ScriptIntrinsic 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.
ScriptIntrinsic3DLUT 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.
ScriptIntrinsicBLAS 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.
ScriptIntrinsicBlend 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.
ScriptIntrinsicBlur 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.
ScriptIntrinsicColorMatrix 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.
ScriptIntrinsicConvolve3x3 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.
ScriptIntrinsicConvolve5x5 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.
ScriptIntrinsicHistogram 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.
ScriptIntrinsicLUT 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.
ScriptIntrinsicResize 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.
ScriptIntrinsicYuvToRGB 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.
ScrollCaptureCallback

A ScrollCaptureCallback is responsible for providing rendered snapshots of scrolling content for the scroll capture system.

ScrollCaptureSession

A session represents the scope of interaction between a ScrollCaptureCallback and the system during an active scroll capture operation.

ScrollCaptureTarget

A target collects the set of contextual information for a ScrollCaptureHandler discovered during a scroll capture search.

Scroller

This class encapsulates scrolling.

ScrollFeedbackProvider

Provides feedback to the user for scroll events on a View.

ScrollingMovementMethod

A movement method that interprets movement keys by scrolling the text buffer.

ScrollView

A view group that allows the view hierarchy placed within it to be scrolled.

SdkExtensions

Methods for interacting with the extension SDK.

SdkSandboxActivityHandler

This is used to notify the SDK when an Activity is created for it.

SdkSandboxClientImportanceListener

Used to notify the SDK about changes in the client's android.app.ActivityManager.RunningAppProcessInfo#importance.

SdkSandboxController

Controller that is used by SDK loaded in the sandbox to access information provided by the sdk sandbox.

SdkSandboxManager

Provides APIs to load SDKs into the SDK sandbox process, and then interact with them.

SdkSandboxManager.SdkSandboxProcessDeathCallback

A callback for tracking events SDK sandbox death.

SealedObject

This class enables a programmer to create an object and protect its confidentiality with a cryptographic algorithm.

SearchableInfo

Searchability meta-data for an activity.

SearchEvent

Class that contains information about an event that triggers a search.

SearchIterator

SearchIterator is an abstract base class that provides methods to search for a pattern within a text string.

SearchIterator.ElementComparisonType

Option to control how collation elements are compared.

SearchManager

This class provides access to the system search services.

SearchManager.OnCancelListener

See SearchManager.setOnCancelListener for configuring your activity to monitor search UI state.

SearchManager.OnDismissListener

See SearchManager.setOnDismissListener for configuring your activity to monitor search UI state.

SearchRecentSuggestions

This is a utility class providing access to android.content.SearchRecentSuggestionsProvider.

SearchRecentSuggestionsProvider

This superclass can be used to create a simple search suggestions provider for your application.

SearchResult

This class represents one of the results obtained from an AppSearch query.

SearchResult.Builder

Builder for SearchResult objects.

SearchResult.MatchInfo

This class represents match objects for any snippets that might be present in SearchResults from a query.

SearchResult.MatchInfo.Builder

Builder for MatchInfo objects.

SearchResult.MatchRange

Class providing the position range of matching information.

SearchResults

Encapsulates results of a search operation.

SearchSpec

This class represents the specification logic for AppSearch.

SearchSpec.Builder

Builder for objects.

SearchSuggestionResult

The result class of the AppSearchSession.searchSuggestion.

SearchSuggestionResult.Builder

The Builder class of SearchSuggestionResult.

SearchSuggestionSpec

This class represents the specification logic for AppSearch.

SearchSuggestionSpec.Builder

Builder for objects.

SearchView

A widget that provides a user interface for the user to enter a search query and submit a request to a search provider.

SearchView.OnCloseListener

SearchView.OnQueryTextListener

Callbacks for changes to the query text.

SearchView.OnSuggestionListener

Callback interface for selection events on suggestions.

SecretKey

A secret (symmetric) key.

SecretKeyFactory

This class represents a factory for secret keys.

SecretKeyFactorySpi

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

SecretKeySpec

This class specifies a secret key in a provider-independent fashion.

SectionIndexer

Interface that may implemented on Adapters to enable fast scrolling between sections of an AbsListView.

SectionRequest

A request for Section from broadcast signal.

SectionResponse

A response for Section from broadcast signal.

SecureCacheResponse

Represents a cache response originally retrieved through secure means, such as TLS.

SecureClassLoader

This class extends ClassLoader with additional support for defining classes with an associated code source and permissions which are retrieved by the system policy by default.

SecureDirectoryStream

A DirectoryStream that defines operations on files that are located relative to an open directory.

SecureKeyImportUnavailableException

Indicates that the Keystore does not support securely importing wrapped keys.

SecureRandom

This class provides a cryptographically strong random number generator (RNG).

SecureRandomParameters

A marker interface for parameters used in various SecureRandom methods.

SecureRandomSpi

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

SecureRangingConfig

Secure ranging configuration.

SecureRangingConfig.Builder

Builder for SecureRangingConfig

Security

This class centralizes all security properties and common security methods.

SecurityException

Thrown by the security manager to indicate a security violation.

SecurityLog

Definitions for working with security logs.

SecurityLog.SecurityEvent

A class representing a security event log entry.

SecurityManager

Legacy security code; do not use.

SecurityPermission

Legacy security code; do not use.

SecurityStateManager

SecurityStateManager provides the functionality to query the security status of the system and platform components.

SeekableByteChannel

A byte channel that maintains a current position and allows the position to be changed.

SeekBar

A SeekBar is an extension of ProgressBar that adds a draggable thumb.

SeekBar.OnSeekBarChangeListener

A callback that notifies clients when the progress level has been changed.

SegmentFinder

Finds text segment boundaries within text.

SegmentFinder.PrescribedSegmentFinder

The default SegmentFinder implementation based on given segment ranges.

SelectableChannel

A channel that can be multiplexed via a Selector.

SelectFormat

SelectFormat supports the creation of internationalized messages by selecting phrases based on keywords.

SelectGesture

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

SelectGesture.Builder

Builder for SelectGesture.

Selection

Utility class for manipulating cursors and selections in CharSequences.

SelectionBoundary

Represents one edge of the selected content.

SelectionEvent

A selection event.

SelectionKey

A token representing the registration of a SelectableChannel with a Selector.

Selector

A multiplexor of SelectableChannel objects.

SelectorProvider

Service-provider class for selectors and selectable channels.

SelectRangeGesture

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

SelectRangeGesture.Builder

Builder for SelectRangeGesture.

SelectWalletCardRequest

Represents a request to a QuickAccessWalletService to select a particular walletCard.

SellerConfiguration

This object will be part of the GetAdSelectionDataRequest and will be constructed and used by the SDK to influence the size of the response of android.adservices.adselection.AdSelectionManager#getAdSelectionData(android.adservices.adselection.GetAdSelectionDataRequest,java.util.concurrent.Executor,android.os.OutcomeReceiver)

SellerConfiguration.Builder

Builder for SellerConfiguration objects.

Semaphore

A counting semaphore.

Sensor

Class representing a sensor.

SensorAdditionalInfo

This class represents a Sensor additional information frame, which is reported through listener callback onSensorAdditionalInfo.

SensorDirectChannel

Class representing a sensor direct channel.

SensorEvent

This class represents a Sensor event and holds information such as the sensor's type, the time-stamp, accuracy and of course the sensor's data.

SensorEventCallback

Used for receiving sensor additional information frames.

SensorEventListener

Used for receiving notifications from the SensorManager when there is new sensor data.

SensorEventListener2

Used for receiving a notification when a flush() has been successfully completed.

SensorListener This interface was deprecated in API level 3. Use SensorEventListener instead.
SensorManager

SensorManager lets you access the device's sensors.

SensorManager.DynamicSensorCallback

Used for receiving notifications from the SensorManager when dynamic sensors are connected or disconnected.

SensorPrivacyManager

This class provides information about the microphone and camera toggles.

SensorPrivacyManager.Sensors

Sensor constants which are used in SensorPrivacyManager

SentenceSuggestionsInfo

This class contains a metadata of suggestions returned from a text service (e.g. 

SequencedCollection

A collection that has a well-defined encounter order, that supports operations at both ends, and that is reversible.

SequencedMap

A Map that has a well-defined encounter order, that supports operations at both ends, and that is reversible.

SequencedSet

A collection that is both a SequencedCollection and a Set.

SequenceInputStream

A SequenceInputStream represents the logical concatenation of other input streams.

Serial

Indicates that an annotated field or method is part of the serialization mechanism defined by the Java Object Serialization Specification.

Serializable

Serializability of a class is enabled by the class implementing the java.

SerializablePermission

This legacy security is not supported on Android.

ServerSocket

This class implements server sockets.

ServerSocketChannel

A selectable channel for stream-oriented listening sockets.

ServerSocketFactory

This class creates server sockets.

Service

A Service is an application component representing either an application's desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use.

ServiceConfigurationError

Error thrown when something goes wrong while locating, loading, or instantiating a service provider.

ServiceConnection

Interface for monitoring the state of an application service.

ServiceConnectionLeakedViolation

ServiceDiscoveryInfo

An object providing information about a Wi-Fi Aware discovery session with a specific peer.

ServiceHealthStats

Keys for HealthStats returned from HealthStats.getStats(int) with the PackageHealthStats.STATS_SERVICES key.

ServiceInfo

Information you can retrieve about a particular application service.

ServiceInfo

Describes a cell-broadcast service.

ServiceLoader

A facility to load implementations of a service.

ServiceLoader.Provider

Represents a service provider located by ServiceLoader.

ServiceStartNotAllowedException

Exception thrown when an app tries to start a Service when it's not allowed to do so.

ServiceState

Contains phone state and service related information.

ServiceTestCase This class was deprecated in API level 24. Use ServiceTestRule instead. New tests should be written using the Android Testing Support Library.
ServiceWorkerClient

Base class for clients to capture Service Worker related callbacks, see ServiceWorkerController for usage example.

ServiceWorkerController

Manages Service Workers used by WebView.

ServiceWorkerWebSettings

Manages settings state for all Service Workers.

SEService

The SEService realises the communication to available Secure Elements on the device.

SEService.OnConnectedListener

Interface to send call-backs to the application when the service is connected.

Session

Instances of this class represent a connection session to one of the Secure Elements available on the device.

Session2Command

This API is not generally intended for third party application developers.

Session2Command.Result

This API is not generally intended for third party application developers.

Session2CommandGroup

This API is not generally intended for third party application developers.

Session2CommandGroup.Builder

This API is not generally intended for third party application developers.

Session2Token

This API is not generally intended for third party application developers.

SessionConfiguration

A helper class that aggregates all supported arguments for capture session initialization.

SessionTranscriptMismatchException

Thrown when trying use multiple different session transcripts in the same presentation session.

Set

A collection that contains no duplicate elements.

SetAppInstallAdvertisersRequest

Represents input parameters to the setAppInstallAdvertiser API.

SetAppInstallAdvertisersRequest.Builder

SetSchemaRequest

Encapsulates a request to update the schema of an AppSearchSession database.

SetSchemaRequest.Builder

Builder for SetSchemaRequest objects.

SetSchemaResponse

The response class of AppSearchSession.setSchema

SetSchemaResponse.Builder

Builder for SetSchemaResponse objects.

SetSchemaResponse.MigrationFailure

The class represents a post-migrated GenericDocument that failed to be saved by AppSearchSession.setSchema.

SettingInjectorService

Dynamically specifies the summary (subtitle) and enabled status of a preference injected into the list of app settings displayed by the system settings app

Settings

The Settings provider contains global system-level device preferences.

Settings.Global

Global system settings, containing preferences that always apply identically to all defined users.

Settings.NameValueTable

Common base for tables of name/value settings.

Settings.Panel

A Settings panel is floating UI that contains a fixed subset of settings to address a particular user problem.

Settings.Secure

Secure system settings, containing system preferences that applications can read but are not allowed to write.

Settings.SettingNotFoundException

Settings.System

System settings, containing miscellaneous system preferences.

SettingsSlicesContract

Provides a contract for platform-supported Settings Slices.

SexualActivityRecord

Captures an occurrence of sexual activity.

SexualActivityRecord.Builder

Builder class for SexualActivityRecord

SexualActivityRecord.SexualActivityProtectionUsed

Identifier for sexual activity protection used

Shader

Shader is the base class for objects that return horizontal spans of colors during drawing.

Shader.TileMode

Shape

Defines a generic graphical "shape.

ShapeDrawable

A Drawable object that draws primitive shapes.

ShapeDrawable.ShaderFactory

Base class defines a factory object that is called each time the drawable is resized (has a new width or height).

ShareActionProvider

This is a provider for a share action.

ShareActionProvider.OnShareTargetSelectedListener

Listener for the event of selecting a share target.

SharedElementCallback

Listener provided in Activity.setEnterSharedElementCallback(SharedElementCallback) and Activity.setExitSharedElementCallback(SharedElementCallback) as well as Fragment.setEnterSharedElementCallback(SharedElementCallback) and Fragment.setExitSharedElementCallback(SharedElementCallback) to monitor the Shared element transitions.

SharedElementCallback.OnSharedElementsReadyListener

Listener to be called after android.app.SharedElementCallback#onSharedElementsArrived(java.util.List,java.util.List,android.app.SharedElementCallback.OnSharedElementsReadyListener) when the shared elements are ready to be hidden in the source Activity and shown in the destination Activity.

SharedLibraryInfo

This class provides information for a shared library.

SharedMemory

SharedMemory enables the creation, mapping, and protection control over anonymous shared memory.

SharedPreferences

Interface for accessing and modifying preference data returned by android.content.Context#getSharedPreferences.

SharedPreferences.Editor

Interface used for modifying values in a SharedPreferences object.

SharedPreferences.OnSharedPreferenceChangeListener

Interface definition for a callback to be invoked when a shared preference is changed.

SharedPreferencesBackupHelper

A helper class that can be used in conjunction with android.app.backup.BackupAgentHelper to manage the backup of android.content.SharedPreferences.

Short

The Short class wraps a value of primitive type short in an object.

Short2 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.
Short3 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.
Short4 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.
ShortBuffer

A short buffer.

ShortBufferException

This exception is thrown when an output buffer provided by the user is too short to hold the operation result.

ShortcutInfo

Represents a shortcut that can be published via ShortcutManager.

ShortcutInfo.Builder

Builder class for ShortcutInfo objects.

ShortcutManager

ShortcutManager executes operations on an app's set of shortcuts, which represent specific tasks and actions that users can perform within your app.

ShutdownChannelGroupException

Unchecked exception thrown when an attempt is made to construct a channel in a group that is shutdown or the completion handler for an I/O operation cannot be invoked because the channel group has terminated.

SidePropagation

A TransitionPropagation that propagates based on the distance to the side and, orthogonally, the distance to epicenter.

SignalingDataInfo

Describes a metadata object of a SignalingDataResponse.

SignalingDataRequest

Request to retrieve the Low-level Signalling Tables (LLS) and Service-layer Signalling (SLS) metadata.

SignalingDataResponse

A response for the signaling data from the broadcast signal.

SignalStrength

Contains phone signal strength related information.

SignalStrengthUpdateRequest

Request used to register SignalThresholdInfo to be notified when the signal strength breach the specified thresholds.

SignalStrengthUpdateRequest.Builder

Builder class to create SignalStrengthUpdateRequest object.

SignalThresholdInfo

Defines the threshold value of the signal strength.

SignalThresholdInfo.Builder

Builder class to create SignalThresholdInfo objects.

Signature

Opaque, immutable representation of a signing certificate associated with an application package.

Signature

The Signature class is used to provide applications the functionality of a digital signature algorithm.

SignatureException

This is the generic Signature exception.

SignatureSpi

This class defines the Service Provider Interface (SPI) for the Signature class, which is used to provide the functionality of a digital signature algorithm.

SignedContextualAds

Contains a list of buyer supplied AdWithBid bundle and its signature.

SignedContextualAds.Builder

Builder for SignedContextualAds object

SignedObject

SignedObject is a class for the purpose of creating authentic runtime objects whose integrity cannot be compromised without being detected.

Signer 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.
SigningInfo

Information pertaining to the signing certificates used to sign a package.

SignStyle

Enumeration of ways to handle the positive/negative sign.

SimPhonebookContract

The contract between the provider of contact records on the device's SIM cards and applications.

SimPhonebookContract.ElementaryFiles

Constants for metadata about the elementary files of the SIM cards in the phone.

SimPhonebookContract.SimRecords

Constants for the contact records on a SIM card.

SimpleAdapter

An easy adapter to map static data to views defined in an XML file.

SimpleAdapter.ViewBinder

This class can be used by external clients of SimpleAdapter to bind values to views.

SimpleCursorAdapter

An easy adapter to map columns from a cursor to TextViews or ImageViews defined in an XML file.

SimpleCursorAdapter.CursorToStringConverter

This class can be used by external clients of SimpleCursorAdapter to define how the Cursor should be converted to a String.

SimpleCursorAdapter.ViewBinder

This class can be used by external clients of SimpleCursorAdapter to bind values fom the Cursor to views.

SimpleCursorTreeAdapter

An easy adapter to map columns from a cursor to TextViews or ImageViews defined in an XML file.

SimpleCursorTreeAdapter.ViewBinder

This class can be used by external clients of SimpleCursorTreeAdapter to bind values from the Cursor to views.

SimpleDateFormat

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

SimpleDateFormat

is a concrete class for formatting and parsing dates in a locale-sensitive manner.

SimpleExpandableListAdapter

An easy adapter to map static data to group and child views defined in an XML file.

SimpleFileVisitor

A simple visitor of files with default behavior to visit all files and to re-throw I/O errors.

SimpleFormatter

Print a brief summary of the LogRecord in a human readable format.

SimpleNotation

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

SimpleTimeZone

SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregorian calendar.

SingleLaunchActivityTestCase This class was deprecated in API level 24. Use ActivityTestRule instead. New tests should be written using the Android Testing Support Library.
SingleLineTransformationMethod

This transformation method causes any newline characters (\n) to be displayed as spaces instead of causing line breaks, and causes carriage return characters (\r) to have no appearance.

SipAudioCall 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.
SipAudioCall.Listener This class was deprecated in API level 31. Deprecated in Java.
SipDetails

Contains the information for SIP.

SipErrorCode 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.
SipException This exception 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.
SipManager 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.
SipProfile 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.
SipProfile.Builder This class was deprecated in API level 31. Deprecated in Java.
SipRegistrationListener This interface 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.
SipSession 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.
SipSession.Listener This class was deprecated in API level 31. Deprecated in Java.
SipSession.State This class was deprecated in API level 31. Deprecated in Java.
Size

Immutable class for describing width and height dimensions in pixels.

SizeF

Immutable class for describing width and height dimensions in some arbitrary unit.

SkinTemperatureRecord

Captures the skin temperature of a user.

SkinTemperatureRecord.Builder

Builder class for SkinTemperatureRecord

SkinTemperatureRecord.Delta

Skin temperature delta entry of SkinTemperatureRecord.

SleepSessionRecord

Captures the user's sleep length and its stages.

SleepSessionRecord.Builder

Builder class for SleepSessionRecord

SleepSessionRecord.Stage

Captures the user's length and type of sleep.

SleepSessionRecord.StageType

Identifier for sleeping stage, as returned by Stage.getType().

Slice This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from android.os.Build.VANILLA_ICE_CREAM and forward. If you are looking for a framework that sends displayable data from one app to another, consider using android.app.appsearch.AppSearchManager.
Slice.Builder This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from android.os.Build.VANILLA_ICE_CREAM and forward. If you are looking for a framework that sends displayable data from one app to another, consider using android.app.appsearch.AppSearchManager.
SliceItem This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from android.os.Build.VANILLA_ICE_CREAM and forward. If you are looking for a framework that sends displayable data from one app to another, consider using android.app.appsearch.AppSearchManager.
SliceManager This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from android.os.Build.VANILLA_ICE_CREAM and forward. If you are looking for a framework that sends displayable data from one app to another, consider using android.app.appsearch.AppSearchManager.
SliceMetrics This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from android.os.Build.VANILLA_ICE_CREAM and forward. If you are looking for a framework that sends displayable data from one app to another, consider using android.app.appsearch.AppSearchManager.
SliceProvider This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from android.os.Build.VANILLA_ICE_CREAM and forward. If you are looking for a framework that sends displayable data from one app to another, consider using android.app.appsearch.AppSearchManager.
SliceSpec This class was deprecated in API level 35. Slice framework has been deprecated, it will not receive any updates from android.os.Build.VANILLA_ICE_CREAM and forward. If you are looking for a framework that sends displayable data from one app to another, consider using android.app.appsearch.AppSearchManager.
Slide

This transition tracks changes to the visibility of target views in the start and end scenes and moves views in or out from one of the edges of the scene.

SlidingDrawer This class was deprecated in API level 17. This class is not supported anymore. It is recommended you base your own implementation on the source code for the Android Open Source Project if you must use it in your application.
SlidingDrawer.OnDrawerCloseListener This interface was deprecated in API level 29. Deprecated in Java.
SlidingDrawer.OnDrawerOpenListener This interface was deprecated in API level 29. Deprecated in Java.
SlidingDrawer.OnDrawerScrollListener This interface was deprecated in API level 29. Deprecated in Java.
SmallTest This annotation was deprecated in API level 24. Use SmallTest instead. New tests should be written using the Android Testing Support Library.
Smoke This annotation was deprecated in API level 24. New tests should be written using the Android Testing Support Library.
SmsManager

Manages SMS operations such as sending data, text, and pdu SMS messages.

SmsManager This class was deprecated in API level 4. Replaced by android.telephony.SmsManager that supports both GSM and CDMA.
SmsManager.FinancialSmsCallback

callback for providing asynchronous sms messages for financial app.

SmsMessage

A Short Message Service message.

SmsMessage This class was deprecated in API level 4. Replaced by android.telephony.SmsMessage that supports both GSM and CDMA.
SmsMessage.MessageClass

SMS Class enumeration.

SmsMessage.MessageClass This enum was deprecated in API level 4. Use android.telephony.SmsMessage.
SmsMessage.SubmitPdu

SmsMessage.SubmitPdu This class was deprecated in API level 4. Use android.telephony.SmsMessage.
SNIHostName

Instances of this class represent a server name of type host_name in a Server Name Indication (SNI) extension.

SNIMatcher

Instances of this class represent a matcher that performs match operations on an SNIServerName instance.

SNIServerName

Instances of this class represent a server name in a Server Name Indication (SNI) extension.

Socket

This class implements client sockets (also called just "sockets").

SocketAddress

This class represents a Socket Address with no protocol attachment.

SocketChannel

A selectable channel for stream-oriented connecting sockets.

SocketException

Thrown to indicate that there is an error creating or accessing a Socket.

SocketFactory

This class creates sockets.

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

Simple network logging Handler.

SocketImpl

The abstract class SocketImpl is a common superclass of all classes that actually implement sockets.

SocketImplFactory

This interface defines a factory for socket implementations.

SocketKeepalive

Allows applications to request that the system periodically send specific packets on their behalf, using hardware offload to save battery power.

SocketKeepalive.Callback

The callback which app can use to learn the status changes of SocketKeepalive.

SocketOption

A socket option associated with a socket.

SocketOptions

Interface of methods to get/set socket options.

SocketPermission

Legacy security code; do not use.

SocketTimeoutException

Signals that a timeout has occurred on a socket read or accept.

SoftApConfiguration

Configuration for a soft access point (a.k.a. Soft AP, SAP, Hotspot).

SoftReference

Soft reference objects, which are cleared at the discretion of the garbage collector in response to memory demand.

SortedMap

A Map that further provides a total ordering on its keys.

SortedSet

A Set that further provides a total ordering on its elements.

SoundEffectConstants

Constants to be used to play sound effects via View.playSoundEffect(int)

SoundPool

The SoundPool class manages and plays audio resources for applications.

SoundPool.Builder

Builder class for SoundPool objects.

SoundPool.OnLoadCompleteListener

Source

An object that implements this interface contains the information needed to act as source input (XML source or transformation instructions).

SourceLocator

This interface is primarily for the purposes of reporting where an error occurred in the XML source or transformation instructions.

SourceRegistrationRequest

Class to hold input to measurement source registration calls.

SourceRegistrationRequest.Builder

Builder for SourceRegistrationRequest.

Space

Space is a lightweight View subclass that may be used to create gaps between components in general purpose layouts.

Spannable

This is the interface for text to which markup objects can be attached and detached.

Spannable.Factory

Factory used by TextView to create new Spannables.

SpannableString

This is the class for text whose content is immutable but to which markup objects can be attached and detached.

SpannableStringBuilder

This is the class for text whose content and markup can both be changed.

Spanned

This is the interface for text that has markup objects attached to ranges of it.

SpannedString

This is the class for text whose content and markup are immutable.

SpanWatcher

When an object of this type is attached to a Spannable, its methods will be called to notify it that other markup objects have been added, changed, or removed.

SparseArray

SparseArray maps integers to Objects and, unlike a normal array of Objects, its indices can contain gaps.

SparseBooleanArray

SparseBooleanArrays map integers to booleans.

SparseIntArray

SparseIntArrays map integers to integers.

SparseLongArray

SparseLongArrays map integers to longs.

Spatializer

Spatializer provides access to querying capabilities and behavior of sound spatialization on the device.

Spatializer.OnHeadTrackerAvailableListener

Interface to be notified of changes to the availability of a head tracker on the audio device to be used by the spatializer effect.

Spatializer.OnSpatializerStateChangedListener

An interface to be notified of changes to the state of the spatializer effect.

SpeechRecognizer

This class provides access to the speech recognition service.

SpeedRecord

Captures the user's speed, e.

SpeedRecord.Builder

Builder class for SpeedRecord

SpeedRecord.SpeedRecordSample

Represents a single measurement of the speed, a scalar magnitude.

SpellCheckerInfo

This class is used to specify meta information of a spell checker.

SpellCheckerService

SpellCheckerService provides an abstract base class for a spell checker.

SpellCheckerService.Session

This abstract class should be overridden by a concrete implementation of a spell checker.

SpellCheckerSession

The SpellCheckerSession interface provides the per client functionality of SpellCheckerService.

SpellCheckerSession.SpellCheckerSessionListener

Callback for getting results from text services

SpellCheckerSession.SpellCheckerSessionParams

Parameters used to create a SpellCheckerSession.

SpellCheckerSession.SpellCheckerSessionParams.Builder

Builder of SpellCheckerSessionParams.

SpellCheckerSubtype

This class is used to specify meta information of a subtype contained in a spell checker.

Spinner

A view that displays one child at a time and lets the user pick among them.

SpinnerAdapter

Extended Adapter that is the bridge between a android.widget.Spinner and its data.

SplashScreen

The interface that apps use to talk to the splash screen.

SplashScreen.OnExitAnimationListener

Listens for the splash screen exit event.

SplashScreenView

The view which allows an activity to customize its splash screen exit animation.

Spliterator

An object for traversing and partitioning elements of a source.

Spliterator.OfDouble

A Spliterator specialized for double values.

Spliterator.OfInt

A Spliterator specialized for int values.

Spliterator.OfLong

A Spliterator specialized for long values.

Spliterator.OfPrimitive

A Spliterator specialized for primitive values.

Spliterators

Static classes and methods for operating on or creating instances of Spliterator and its primitive specializations Spliterator.OfInt, Spliterator.OfLong, and Spliterator.OfDouble.

Spliterators.AbstractDoubleSpliterator

An abstract Spliterator.OfDouble that implements trySplit to permit limited parallelism.

Spliterators.AbstractIntSpliterator

An abstract Spliterator.OfInt that implements trySplit to permit limited parallelism.

Spliterators.AbstractLongSpliterator

An abstract Spliterator.OfLong that implements trySplit to permit limited parallelism.

Spliterators.AbstractSpliterator

An abstract Spliterator that implements trySplit to permit limited parallelism.

SplittableRandom

A generator of uniform pseudorandom values (with period 264) applicable for use in (among other contexts) isolated parallel computations that may generate subtasks.

SQLClientInfoException

The subclass of SQLException is thrown when one or more client info properties could not be set on a Connection.

SQLData

The interface used for the custom mapping of an SQL user-defined type (UDT) to a class in the Java programming language.

SQLDataException

The subclass of SQLException thrown when the SQLState class value is '22', or under vendor-specified conditions.

SQLException

An exception that indicates there was an error with SQL parsing or execution.

SQLException

An exception that provides information on a database access error or other errors.

SQLFeatureNotSupportedException

The subclass of SQLException thrown when the SQLState class value is '0A' ( the value is 'zero' A).

SQLInput

An input stream that contains a stream of values representing an instance of an SQL structured type or an SQL distinct type.

SQLIntegrityConstraintViolationException

The subclass of SQLException thrown when the SQLState class value is '23', or under vendor-specified conditions.

SQLInvalidAuthorizationSpecException

The subclass of SQLException thrown when the SQLState class value is '28', or under vendor-specified conditions.

SQLiteAbortException

An exception that indicates that the SQLite program was aborted.

SQLiteAccessPermException

This exception class is used when sqlite can't access the database file due to lack of permissions on the file.

SQLiteBindOrColumnIndexOutOfRangeException

Thrown if the bind or column parameter index is out of range.

SQLiteBlobTooBigException

SQLiteCantOpenDatabaseException

SQLiteClosable

An object created from a SQLiteDatabase that can be closed.

SQLiteConstraintException

An exception that indicates that an integrity constraint was violated.

SQLiteCursor

A Cursor implementation that exposes results from a query on a SQLiteDatabase.

SQLiteCursorDriver

A driver for SQLiteCursors that is used to create them and gets notified by the cursors it creates on significant events in their lifetimes.

SQLiteDatabase

Exposes methods to manage a SQLite database.

SQLiteDatabase.CursorFactory

Used to allow returning sub-classes of Cursor when calling query.

SQLiteDatabase.OpenParams

Wrapper for configuration parameters that are used for opening SQLiteDatabase

SQLiteDatabase.OpenParams.Builder

Builder for OpenParams.

SQLiteDatabaseCorruptException

An exception that indicates that the SQLite database file is corrupt.

SQLiteDatabaseLockedException

Thrown if the database engine was unable to acquire the database locks it needs to do its job.

SQLiteDatatypeMismatchException

SQLiteDiskIOException

Indicates that an IO error occurred while accessing the SQLite database file.

SQLiteDoneException

An exception that indicates that the SQLite program is done.

SQLiteException

A SQLite exception that indicates there was an error with SQL parsing or execution.

SQLiteFullException

An exception that indicates that the SQLite database is full.

SQLiteMisuseException

This error can occur if the application creates a SQLiteStatement object and allows multiple threads in the application use it at the same time.

SqliteObjectLeakedViolation

SQLiteOpenHelper

A helper class to manage database creation and version management.

SQLiteOutOfMemoryException

SQLiteProgram

A base class for compiled SQLite programs.

SQLiteQuery

Represents a query that reads the resulting rows into a SQLiteQuery.

SQLiteQueryBuilder

This is a convenience class that helps build SQL queries to be sent to SQLiteDatabase objects.

SQLiteRawStatement

A represents a SQLite prepared statement.

SQLiteReadOnlyDatabaseException

SQLiteStatement

Represents a statement that can be executed against a database.

SQLiteTableLockedException

SQLiteTransactionListener

A listener for transaction events.

SQLNonTransientConnectionException

The subclass of SQLException thrown for the SQLState class value '08', or under vendor-specified conditions.

SQLNonTransientException

The subclass of SQLException thrown when an instance where a retry of the same operation would fail unless the cause of the SQLException is corrected.

SQLOutput

The output stream for writing the attributes of a user-defined type back to the database.

SQLPermission

Legacy security code; do not use.

SQLRecoverableException

The subclass of SQLException thrown in situations where a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch.

SQLSyntaxErrorException

The subclass of SQLException thrown when the SQLState class value is '42', or under vendor-specified conditions.

SQLTimeoutException

The subclass of SQLException thrown when the timeout specified by Statement has expired.

SQLTransactionRollbackException

The subclass of SQLException thrown when the SQLState class value is '40', or under vendor-specified conditions.

SQLTransientConnectionException

The subclass of SQLException for the SQLState class value '08', or under vendor-specified conditions.

SQLTransientException

The subclass of SQLException is thrown in situations where a previoulsy failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.

SQLWarning

An exception that provides information on database access warnings.

SQLXML

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

SslCertificate

SSL certificate info (certificate details) class

SslCertificate.DName

A distinguished name helper class: a 3-tuple of:

  • the most specific common name (CN)
  • the most specific organization (O)
  • the most specific organizational unit (OU)

    SSLCertificateSocketFactory This class was deprecated in API level 29. This class has less error-prone replacements using standard APIs. To create an SSLSocket, obtain an SSLSocketFactory from SSLSocketFactory.getDefault() or javax.net.ssl.SSLContext#getSocketFactory(). To verify hostnames, pass "HTTPS" to javax.net.ssl.SSLParameters#setEndpointIdentificationAlgorithm(String). To enable ALPN, use javax.net.ssl.SSLParameters#setApplicationProtocols(String[]). To enable SNI, use javax.net.ssl.SSLParameters#setServerNames(java.util.List).
    SSLContext

    Instances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories or SSLEngines.

    SSLContextSpi

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

    SSLEngine

    A class which enables secure communications using protocols such as the Secure Sockets Layer (SSL) or IETF RFC 2246 "Transport Layer Security" (TLS) protocols, but is transport independent.

    SSLEngineResult

    An encapsulation of the result state produced by SSLEngine I/O calls.

    SSLEngineResult.HandshakeStatus

    An SSLEngineResult enum describing the current handshaking state of this SSLEngine.

    SSLEngineResult.Status

    An SSLEngineResult enum describing the overall result of the SSLEngine operation.

    SSLEngines

    Static utility methods for accessing additional functionality of supported instances of SSLEngine.

    SslError

    This class represents a set of one or more SSL errors and the associated SSL certificate.

    SslErrorHandler

    Represents a request for handling an SSL error.

    SSLException

    Indicates some kind of error detected by an SSL subsystem.

    SSLHandshakeException

    Indicates that the client and server could not negotiate the desired level of security.

    SSLKeyException

    Reports a bad SSL key.

    SSLParameters

    Encapsulates parameters for an SSL/TLS connection.

    SSLPeerUnverifiedException

    Indicates that the peer's identity has not been verified.

    SSLPermission

    Legacy security code; do not use.

    SSLProtocolException

    Reports an error in the operation of the SSL protocol.

    SSLServerSocket

    This class extends ServerSockets and provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.

    SSLServerSocketFactory

    SSLServerSocketFactorys create SSLServerSockets.

    SSLSession

    In SSL, sessions are used to describe an ongoing relationship between two entities.

    SSLSessionBindingEvent

    This event is propagated to a SSLSessionBindingListener.

    SSLSessionBindingListener

    This interface is implemented by objects which want to know when they are being bound or unbound from a SSLSession.

    SSLSessionCache

    File-based cache of established SSL sessions.

    SSLSessionContext

    A represents a set of SSLSessions associated with a single entity.

    SSLSocket

    This class extends Sockets and provides secure socket using protocols such as the "Secure Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.

    SSLSocketFactory

    SSLSocketFactorys create SSLSockets.

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

    Static utility methods for accessing additional functionality of supported instances of SSLSocket.

    Stack

    The Stack class represents a last-in-first-out (LIFO) stack of objects.

    StackOverflowError

    Thrown when a stack overflow occurs because an application recurses too deeply.

    StackTraceElement

    An element in a stack trace, as returned by java.lang.Throwable#getStackTrace().

    StackView

    StackWalker

    A stack walker.

    StackWalker.Option

    Stack walker option to configure the stack frame information obtained by a StackWalker.

    StackWalker.StackFrame

    A StackFrame object represents a method invocation returned by StackWalker.

    StaleDataException

    This exception is thrown when a Cursor contains stale data and must be requeried before being used again.

    StampedLock

    A capability-based lock with three modes for controlling read/write access.

    StandardCharsets

    Constant definitions for the standard Charsets.

    StandardConstants

    Standard constants definitions

    StandardCopyOption

    Defines the standard copy options.

    StandardOpenOption

    Defines the standard open options.

    StandardProtocolFamily

    Defines the standard families of communication protocols.

    StandardSocketOptions

    Defines the standard socket options.

    StandardWatchEventKinds

    Defines the standard event kinds.

    StartElementListener

    Listens for the beginning of elements.

    StartForegroundCalledOnStoppedServiceException

    Exception thrown when android.

    StatelessTemplate

    A template for a Control which has no state.

    StateListAnimator

    Lets you define a number of Animators that will run on the attached View depending on the View's drawable state.

    StateListDrawable

    Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string ID value.

    Statement

    The object used for executing a static SQL statement and returning the results it produces.

    StatementEvent

    A StatementEvent is sent to all StatementEventListeners which were registered with a PooledConnection.

    StatementEventListener

    An object that registers to be notified of events that occur on PreparedStatements that are in the Statement pool.

    StateSet

    State sets are arrays of positive ints where each element represents the state of a android.view.View (e.g. focused, selected, visible, etc.).

    StatFs

    Retrieve overall information about the space on a filesystem.

    StaticInspectionCompanionProvider

    An inspection companion provider that finds companions as inner classes or generated code.

    StaticIpConfiguration

    Class that describes static IP configuration.

    StaticIpConfiguration.Builder

    Helper class to build a new instance of StaticIpConfiguration.

    StaticLayout

    StaticLayout is a Layout for text that will not be edited after it is laid out.

    StaticLayout.Builder

    Builder for static layouts.

    StatsLog

    StatsLog provides an API for developers to send events to statsd.

    StatusBarManager

    Allows an app to control the status bar.

    StatusBarNotification

    Class encapsulating a Notification.

    StatusHints

    Contains status label and icon displayed in the in-call UI.

    StepsCadenceRecord

    Captures the user's steps cadence.

    StepsCadenceRecord.Builder

    Builder class for StepsCadenceRecord

    StepsCadenceRecord.StepsCadenceRecordSample

    Represents a single measurement of the steps cadence.

    StepsRecord

    Captures the number of steps taken since the last reading.

    StepsRecord.Builder

    Builder class for StepsRecord

    StorageInfo

    The response class of AppSearchSession#getStorageInfo.

    StorageInfo.Builder

    Builder for StorageInfo objects.

    StorageManager

    StorageManager is the interface to the systems storage service.

    StorageManager.StorageVolumeCallback

    Callback that delivers StorageVolume related events.

    StorageStats

    Storage statistics for a UID, package, or UserHandle on a single storage volume.

    StorageStatsManager

    Access to detailed storage statistics.

    StorageVolume

    Information about a shared/external storage volume for a specific user.

    Stream

    A sequence of elements supporting sequential and parallel aggregate operations.

    Stream.Builder

    A mutable builder for a Stream.

    StreamConfigurationMap

    Immutable class to store the available stream configurations to set up Surfaces for creating a capture session with android.hardware.camera2.CameraDevice#createCaptureSession(SessionConfiguration).

    StreamCorruptedException

    Thrown when control information that was read from an object stream violates internal consistency checks.

    StreamEventRequest

    A request for Stream Event from broadcast signal.

    StreamEventResponse

    A response for Stream Event from broadcast signal.

    StreamHandler

    Stream based logging Handler.

    StreamingService

    Class used to represent a single MBMS stream.

    StreamingServiceCallback

    A callback class for use when the application is actively streaming content.

    StreamingServiceInfo

    Describes a single MBMS streaming service.

    StreamResult

    Acts as an holder for a transformation result, which may be XML, plain Text, HTML, or some other form of markup.

    StreamSource

    Acts as an holder for a transformation Source in the form of a stream of XML markup.

    StreamSupport

    Low-level utility methods for creating and manipulating streams.

    StreamTokenizer

    The StreamTokenizer class takes an input stream and parses it into "tokens", allowing the tokens to be read one at a time.

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

    The class contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.

    StrictMode

    StrictMode is a developer tool which detects things you might be doing by accident and brings them to your attention so you can fix them.

    StrictMode.OnThreadViolationListener

    When #ThreadPolicy.Builder#penaltyListener is enabled, the listener is called on the provided executor when a Thread violation occurs.

    StrictMode.OnVmViolationListener

    When #VmPolicy.Builder#penaltyListener is enabled, the listener is called on the provided executor when a VM violation occurs.

    StrictMode.ThreadPolicy

    StrictMode policy applied to a certain thread.

    StrictMode.ThreadPolicy.Builder

    Creates ThreadPolicy instances.

    StrictMode.VmPolicy

    StrictMode policy applied to all threads in the virtual machine's process.

    StrictMode.VmPolicy.Builder

    Creates VmPolicy instances.

    StrikethroughSpan

    A span that strikes through the text it's attached to.

    String

    The String class represents character strings.

    StringBuffer

    A thread-safe, mutable sequence of characters.

    StringBufferInputStream This class was deprecated in API level 1. This class does not properly convert characters into bytes. As of JDK 1.1, the preferred way to create a stream from a string is via the StringReader class.
    StringBuilder

    A mutable sequence of characters.

    StringBuilderPrinter

    Implementation of a android.util.Printer that sends its output to a StringBuilder.

    StringCharacterIterator

    StringCharacterIterator implements the CharacterIterator protocol for a String.

    StringIndexOutOfBoundsException

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string.

    StringJoiner

    StringJoiner is used to construct a sequence of characters separated by a delimiter and optionally starting with a supplied prefix and ending with a supplied suffix.

    StringPrepParseException

    Exception that signals an error has occurred while parsing the input to StringPrep or IDNA.

    StringReader

    A character stream whose source is a string.

    StringSearch

    StringSearch is a SearchIterator that provides language-sensitive text searching based on the comparison rules defined in a RuleBasedCollator object.

    StringTokenizer

    The string tokenizer class allows an application to break a string into tokens.

    StringWriter

    A character stream that collects its output in a string buffer, which can then be used to construct a string.

    StrongBoxUnavailableException

    Indicates that an operation could not be performed because the requested security hardware is not available.

    Struct

    The standard mapping in the Java programming language for an SQL structured type.

    StructCmsghdr

    Corresponds to C's struct cmsghdr.

    StructMsghdr

    Corresponds to C's struct msghdr

    StructPollfd

    Used as an in/out parameter to Os.poll.

    StructStat

    File information returned by Os.fstat, Os.lstat, and Os.stat.

    StructStatVfs

    File information returned by Os.fstatvfs and Os.statvfs.

    StructTimespec

    Corresponds to C's struct timespec from <time.h>.

    StructTimeval

    Corresponds to C's struct timeval from sys/time.h.

    StructUtsname

    Information returned by Os.uname.

    StyleSpan

    Span that allows setting the style of the text it's attached to.

    Subject

    A Subject represents a grouping of related information for a single entity, such as a person.

    SubjectDomainCombiner

    Legacy security code; do not use.

    SubMenu

    Subclass of Menu for sub menus.

    SubmissionPublisher

    A Flow.Publisher that asynchronously issues submitted (non-null) items to current subscribers until it is closed.

    SubscribeConfig

    Defines the configuration of an Aware subscribe session.

    SubscribeConfig.Builder

    Builder used to build SubscribeConfig objects.

    SubscribeDiscoverySession

    A class representing a Aware subscribe session.

    SubscriptionInfo

    A Parcelable class for Subscription Information.

    SubscriptionManager

    Subscription manager provides the mobile subscription information.

    SubscriptionManager.OnOpportunisticSubscriptionsChangedListener

    A listener class for monitoring changes to SubscriptionInfo records of opportunistic subscriptions.

    SubscriptionManager.OnSubscriptionsChangedListener

    A listener class for monitoring changes to SubscriptionInfo records.

    SubscriptionPlan

    Description of a billing relationship plan between a carrier and a specific subscriber.

    SubscriptionPlan.Builder

    Builder for a SubscriptionPlan.

    SubscriptSpan

    The span that moves the position of the text baseline lower.

    SubtitleData

    Class encapsulating subtitle data, as received through the MediaPlayer.OnSubtitleDataListener interface.

    SuggestionRangeSpan

    A SuggestionRangeSpan is used to show which part of an EditText is affected by a suggestion popup window.

    SuggestionsInfo

    This class contains a metadata of suggestions from the text service

    SuggestionSpan

    Holds suggestion candidates for the text enclosed in this span.

    SumPathEffect

    SuperscriptSpan

    The span that moves the position of the text baseline higher.

    SupplicantState

    From

    Supplier

    Represents a supplier of results.

    Suppress This annotation was deprecated in API level 24. Use Suppress instead. New tests should be written using the Android Testing Support Library.
    SuppressLint

    Indicates that Lint should ignore the specified warnings for the annotated element.

    SuppressWarnings

    Indicates that the named compiler warnings should be suppressed in the annotated element (and in all program elements contained in the annotated element).

    Surface

    Handle onto a raw buffer that is being managed by the screen compositor.

    Surface.FrameRateParams

    Parameter object for setFrameRate(android.view.Surface.FrameRateParams), describing the intended frame rate for the Surface that setFrameRate is called on.

    Surface.FrameRateParams.Builder

    Surface.OutOfResourcesException

    Exception thrown when a Canvas couldn't be locked with Surface.lockCanvas, or when a SurfaceTexture could not successfully be allocated.

    SurfaceControl

    Handle to an on-screen Surface managed by the system compositor.

    SurfaceControl.Builder

    Builder class for SurfaceControl objects.

    SurfaceControl.Transaction

    An atomic set of changes to a set of SurfaceControl.

    SurfaceControl.TransactionCommittedListener

    Interface to handle request to SurfaceControl.Transaction.addTransactionCommittedListener(Executor, TransactionCommittedListener)

    SurfaceControl.TransactionStats

    Transaction stats given to the listener registered in SurfaceControl.Transaction.addTransactionCompletedListener

    SurfaceControl.TrustedPresentationThresholds This class was deprecated in API level 35. Use android.window.TrustedPresentationThresholds instead.
    SurfaceControlInputReceiver

    Provides a mechanism for a SurfaceControl to receive input events.

    SurfaceControlViewHost

    Utility class for adding a View hierarchy to a SurfaceControl.

    SurfaceControlViewHost.SurfacePackage

    Package encapsulating a Surface hierarchy which contains interactive view elements.

    SurfaceHolder

    Abstract interface to someone holding a display surface.

    SurfaceHolder.BadSurfaceTypeException

    Exception that is thrown from #lockCanvas when called on a Surface whose type is SURFACE_TYPE_PUSH_BUFFERS.

    SurfaceHolder.Callback

    A client may implement this interface to receive information about changes to the surface.

    SurfaceHolder.Callback2

    Additional callbacks that can be received for Callback.

    SurfacePackageToken

    An opaque reference to content that can be displayed in a android.view.SurfaceView.

    SurfaceSyncGroup

    A way for data to be gathered so multiple surfaces can be synced.

    SurfaceTexture

    Captures frames from an image stream as an OpenGL ES texture.

    SurfaceTexture.OnFrameAvailableListener

    Callback interface for being notified that a new stream frame is available.

    SurfaceTexture.OutOfResourcesException This exception was deprecated in API level 19. No longer thrown. android.view.Surface.OutOfResourcesException is used instead.
    SurfaceView

    Provides a dedicated drawing surface embedded inside of a view hierarchy.

    SurroundingText

    Information about the surrounding text around the cursor for use by an input method.

    SweepGradient

    Switch

    A Switch is a two-state toggle widget.

    SwitchPreference 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.
    SymbolTable

    An interface that defines both lookup protocol and parsing of symbolic names.

    SyncAdapterType

    Value type that represents a SyncAdapterType.

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

    SyncFailedException

    Signals that a sync operation has failed.

    SyncFence

    A SyncFence represents a synchronization primitive which signals when hardware units have completed work on a particular resource.

    SynchronousQueue

    A blocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa.

    SyncInfo

    Information about the sync operation that is currently underway.

    SyncNotedAppOp

    Description of an app-op that was noted for the current process.

    SyncParams

    Structure for common A/V sync params.

    SyncRequest

    Convenience class to construct sync requests.

    SyncRequest.Builder

    Builder class for a SyncRequest.

    SyncResult

    This class is used to communicate the results of a sync operation to the SyncManager.

    SyncStateContract

    The ContentProvider contract for associating data with ana data array account.

    SyncStateContract.Columns

    SyncStateContract.Constants

    SyncStateContract.Helpers

    SyncStats

    Used to record various statistics about the result of a sync operation.

    SyncStatusObserver

    SynthesisCallback

    A callback to return speech data synthesized by a text to speech engine.

    SynthesisRequest

    Contains data required by engines to synthesize speech.

    System

    The System class contains several useful class fields and methods.

    SystemCleaner

    Java.

    SystemClock

    Core timekeeping facilities.

    SystemFonts

    Provides the system font configurations.

    SystemHealthManager

    Provides access to data about how various system resources are used by applications.

    SystemOnBackInvokedCallbacks

    Utility class providing OnBackInvokedCallbacks to override the default behavior when system back is invoked.

    SystemUpdateInfo

    A class containing information about a pending system update.

    SystemUpdatePolicy

    Determines when over-the-air system updates are installed on a device.

    SystemUpdatePolicy.ValidationFailedException

    An exception class that represents various validation errors thrown from SystemUpdatePolicy.setFreezePeriods and DevicePolicyManager.setSystemUpdatePolicy

    T

    TabActivity This class was deprecated in API level 13. New applications should use Fragments instead of this class; to continue to run on older devices, you can use the v4 support library which provides a version of the Fragment API that is compatible down to android.os.Build.VERSION_CODES#DONUT.
    TabHost This class was deprecated in API level 30. new applications should use fragment APIs instead of this class: Use TabLayout and ViewPager instead.
    TabHost.OnTabChangeListener This interface was deprecated in API level 30. Deprecated in Java.
    TabHost.TabContentFactory This interface was deprecated in API level 30. Deprecated in Java.
    TabHost.TabSpec This class was deprecated in API level 30. Deprecated in Java.
    TableLayout

    A layout that arranges its children into rows and columns.

    TableLayout.LayoutParams

    This set of layout parameters enforces the width of each child to be MATCH_PARENT and the height of each child to be WRAP_CONTENT, but only if the height is not specified.

    TableRequest

    A request for Table from broadcast signal.

    TableResponse

    A response for Table from broadcast signal.

    TableResponse.Builder

    Builder for TableResponse.

    TableRow

    A layout that arranges its children horizontally.

    TableRow.LayoutParams

    Set of layout parameters used in table rows.

    TabStopSpan

    Paragraph affecting span that changes the position of the tab with respect to the leading margin of the line.

    TabStopSpan.Standard

    The default implementation of TabStopSpan that allows setting the offset of the tab stop from the leading margin of the first line of text.

    TabWidget This class was deprecated in API level 30. new applications should use fragment APIs instead of this class: Use TabLayout and ViewPager instead.
    Tag

    Represents an NFC tag that has been discovered.

    TagLostException

    TagTechnology

    is an interface to a technology in a Tag

    TaiwanCalendar

    TaiwanCalendar is a subclass of GregorianCalendar that numbers years since 1912.

    Target

    Indicates the contexts in which an annotation interface is applicable.

    TargetApi

    Indicates that Lint should treat this type as targeting a given API level, no matter what the project target is.

    TargetUser

    Class representing the target user of a policy set by an admin (set from DevicePolicyManager), this is passed in to PolicyUpdateReceiver.onPolicySetResult and PolicyUpdateReceiver.onPolicyChanged.

    TaskInfo

    Stores information about a particular Task.

    TaskStackBuilder

    Utility class for constructing synthetic back stacks for cross-task navigation on Android 3.

    TelecomManager

    Provides access to information about active calls and registration/call-management functionality.

    Telephony

    The Telephony provider contains data related to phone operation, specifically SMS and MMS messages, access to the APN list, including the MMSC to use, and the service state.

    Telephony.BaseMmsColumns

    Base columns for tables that contain MMSs.

    Telephony.CanonicalAddressesColumns

    Columns for the "canonical_addresses" table used by MMS and SMS.

    Telephony.CarrierId

    Contains carrier identification information for the current subscriptions.

    Telephony.Carriers

    Carriers class contains information about APNs, including MMSC information.

    Telephony.Mms

    Contains all MMS messages.

    Telephony.Mms.Addr

    Contains address information for an MMS message.

    Telephony.Mms.Draft

    Contains all MMS messages in the MMS app drafts folder.

    Telephony.Mms.Inbox

    Contains all MMS messages in the MMS app inbox.

    Telephony.Mms.Intents

    Intents class.

    Telephony.Mms.Outbox

    Contains all MMS messages in the MMS app outbox.

    Telephony.Mms.Part

    Contains message parts.

    Telephony.Mms.Rate

    Message send rate table.

    Telephony.Mms.Sent

    Contains all MMS messages in the MMS app sent folder.

    Telephony.MmsSms

    Contains all MMS and SMS messages.

    Telephony.MmsSms.PendingMessages

    Contains pending messages info.

    Telephony.ServiceStateTable

    Constants for interfacing with the ServiceStateProvider and the different fields of the ServiceState class accessible through the provider.

    Telephony.Sms

    Contains all text-based SMS messages.

    Telephony.Sms.Conversations

    Contains a view of SMS conversations (also referred to as threads).

    Telephony.Sms.Draft

    Contains all draft text-based SMS messages in the SMS app.

    Telephony.Sms.Inbox

    Contains all text-based SMS messages in the SMS app inbox.

    Telephony.Sms.Intents

    Contains constants for SMS related Intents that are broadcast.

    Telephony.Sms.Outbox

    Contains all pending outgoing text-based SMS messages.

    Telephony.Sms.Sent

    Contains all sent text-based SMS messages in the SMS app.

    Telephony.TextBasedSmsColumns

    Base columns for tables that contain text-based SMSs.

    Telephony.Threads

    Helper functions for the "threads" table used by MMS and SMS.

    Telephony.ThreadsColumns

    Columns for the "threads" table used by MMS and SMS.

    TelephonyCallback

    A callback class for monitoring changes in specific telephony states on the device, including service state, signal strength, message waiting indicator (voicemail), and others.

    TelephonyCallback.ActiveDataSubscriptionIdListener

    Interface for active data subscription ID listener.

    TelephonyCallback.BarringInfoListener

    Interface for barring information listener.

    TelephonyCallback.CallDisconnectCauseListener

    Interface for call disconnect cause listener.

    TelephonyCallback.CallForwardingIndicatorListener

    Interface for call-forwarding indicator listener.

    TelephonyCallback.CallStateListener

    Interface for call state listener.

    TelephonyCallback.CarrierNetworkListener

    Interface for carrier network listener.

    TelephonyCallback.CellInfoListener

    Interface for cell info listener.

    TelephonyCallback.CellLocationListener

    Interface for device cell location listener.

    TelephonyCallback.DataActivationStateListener

    Interface for SIM data activation state listener.

    TelephonyCallback.DataActivityListener

    Interface for data activity state listener.

    TelephonyCallback.DataConnectionStateListener

    Interface for data connection state listener.

    TelephonyCallback.DisplayInfoListener

    Interface for display info listener.

    TelephonyCallback.EmergencyNumberListListener

    Interface for the current emergency number list listener.

    TelephonyCallback.ImsCallDisconnectCauseListener

    Interface for IMS call disconnect cause listener.

    TelephonyCallback.MessageWaitingIndicatorListener

    Interface for message waiting indicator listener.

    TelephonyCallback.PhysicalChannelConfigListener

    Interface for current physical channel configuration listener.

    TelephonyCallback.PreciseDataConnectionStateListener

    Interface for precise data connection state listener.

    TelephonyCallback.RegistrationFailedListener

    Interface for registration failures listener.

    TelephonyCallback.ServiceStateListener

    Interface for service state listener.

    TelephonyCallback.SignalStrengthsListener

    Interface for network signal strengths listener.

    TelephonyCallback.UserMobileDataStateListener

    Interface for user mobile data state listener.

    TelephonyDisplayInfo

    TelephonyDisplayInfo contains telephony-related information used for display purposes only.

    TelephonyManager

    Provides access to information about the telephony services on the device.

    TelephonyManager.CallComposerException

    Exception that may be supplied to the callback in #uploadCallComposerPicture if something goes awry.

    TelephonyManager.CellInfoCallback

    Callback for providing asynchronous CellInfo on request

    TelephonyManager.ModemErrorException

    Exception that is supplied to the callback in getNetworkSlicingConfiguration if the modem returned a failure.

    TelephonyManager.NetworkSlicingException

    Exception that may be supplied to the callback in getNetworkSlicingConfiguration if something goes awry.

    TelephonyManager.TimeoutException

    Exception that is supplied to the callback in getNetworkSlicingConfiguration if the system timed out waiting for a response from the Radio.

    TelephonyManager.UssdResponseCallback

    Used to notify callers of TelephonyManager.sendUssdRequest(String, UssdResponseCallback, Handler) when the network either successfully executes a USSD request, or if there was a failure while executing the request.

    TelephonyNetworkSpecifier

    NetworkSpecifier object for cellular network request.

    TelephonyNetworkSpecifier.Builder

    Builder to create TelephonyNetworkSpecifier object.

    TelephonyScanManager

    Manages the radio access network scan requests and callbacks.

    TelephonyScanManager.NetworkScanCallback

    The caller of android.telephony.TelephonyManager#requestNetworkScan(android.telephony.NetworkScanRequest,java.util.concurrent.Executor,android.telephony.TelephonyScanManager.NetworkScanCallback) should implement and provide this callback so that the scan results or errors can be returned.

    Temperature

    Represents a unit of temperature.

    TemperatureControlTemplate

    A template for a temperature related Control that supports multiple modes.

    TemperatureDelta

    Represents a unit of temperature difference.

    Templates

    An object that implements this interface is the runtime representation of processed transformation instructions.

    TemplatesHandler

    A SAX ContentHandler that may be used to process SAX parse events (parsing transformation instructions) into a Templates object.

    Temporal

    Framework-level interface defining read-write access to a temporal object, such as a date, time, offset or some combination of these.

    TemporalAccessor

    Framework-level interface defining read-only access to a temporal object, such as a date, time, offset or some combination of these.

    TemporalAdjuster

    Strategy for adjusting a temporal object.

    TemporalAdjusters

    Common and useful TemporalAdjusters.

    TemporalAmount

    Framework-level interface defining an amount of time, such as "6 hours", "8 days" or "2 years and 3 months".

    TemporalField

    A field of date-time, such as month-of-year or minute-of-hour.

    TemporalQueries

    Common implementations of TemporalQuery.

    TemporalQuery

    Strategy for querying a temporal object.

    TemporalUnit

    A unit of date-time, such as Days or Hours.

    TestAdSelectionManager

    TestAdSelectionManager provides APIs for apps and ad SDKs to test ad selection processes.

    TestCustomAudienceManager

    TestCustomAudienceManager provides APIs for app and ad-SDKs to test custom audiences.

    TestLooperManager

    Blocks a looper from executing any messages, and allows the holder of this object to control when and which messages get executed until it is released.

    TestMethod This class was deprecated in API level 26. New tests should be written using the Android Testing Support Library.
    TestSuiteBuilder This class was deprecated in API level 26. New tests should be written using the Android Testing Support Library.
    TestSuiteBuilder.FailedToCreateTests This class was deprecated in API level 26. New tests should be written using the Android Testing Support Library.
    TestSuiteProvider This interface was deprecated in API level 24. Use AndroidJUnitRunner instead. New tests should be written using the Android Testing Support Library.
    TestTarget This annotation was deprecated in API level 14. Obsolete.
    TestTargetClass This annotation was deprecated in API level 14. Obsolete.
    Text

    The Text interface inherits from CharacterData and represents the textual content (termed character data in XML) of an Element or Attr.

    TextAppearanceInfo

    Information about text appearance in an editor, passed through CursorAnchorInfo for use by InputMethodService.

    TextAppearanceInfo.Builder

    Builder for TextAppearanceInfo.

    TextAppearanceSpan

    Sets the text appearance using the given TextAppearance attributes.

    TextAttribute

    The data class that IME can take extra information to applications when setting the text.

    TextAttribute

    The TextAttribute class defines attribute keys and attribute values used for text rendering.

    TextAttribute.Builder

    Builder for creating a TextAttribute.

    TextBoundsInfo

    The text bounds information of a slice of text in the editor.

    TextBoundsInfo.Builder

    The builder class to create a TextBoundsInfo object.

    TextBoundsInfoResult

    The object that holds the result of the InputConnection.requestTextBoundsInfo(RectF, Executor, Consumer) call.

    TextClassification

    Information for generating a widget to handle classified text.

    TextClassification.Builder

    Builder for building TextClassification objects.

    TextClassification.Request

    A request object for generating TextClassification.

    TextClassification.Request.Builder

    A builder for building TextClassification requests.

    TextClassificationContext

    A representation of the context in which text classification would be performed.

    TextClassificationContext.Builder

    A builder for building a TextClassification context.

    TextClassificationManager

    Interface to the text classification service.

    TextClassificationSessionFactory

    An interface for creating a session-aware TextClassifier.

    TextClassificationSessionId

    This class represents the id of a text classification session.

    TextClassifier

    Interface for providing text classification related features.

    TextClassifier.EntityConfig

    Configuration object for specifying what entity types to identify.

    TextClassifier.EntityConfig.Builder

    Builder class to construct the EntityConfig object.

    TextClassifierEvent

    This class represents events that are sent by components to the TextClassifier to report something of note that relates to a feature powered by the TextClassifier.

    TextClassifierEvent.Builder

    Builder to build a text classifier event.

    TextClassifierEvent.ConversationActionsEvent

    This class represents events that are related to the conversation actions feature.

    TextClassifierEvent.ConversationActionsEvent.Builder

    Builder class for ConversationActionsEvent.

    TextClassifierEvent.LanguageDetectionEvent

    This class represents events that are related to the language detection feature.

    TextClassifierEvent.LanguageDetectionEvent.Builder

    Builder class for LanguageDetectionEvent.

    TextClassifierEvent.TextLinkifyEvent

    This class represents events that are related to the smart linkify feature.

    TextClassifierEvent.TextLinkifyEvent.Builder

    Builder class for TextLinkifyEvent.

    TextClassifierEvent.TextSelectionEvent

    This class represents events that are related to the smart text selection feature.

    TextClassifierEvent.TextSelectionEvent.Builder

    Builder class for TextSelectionEvent.

    TextClock

    TextClock can display the current date and/or time as a formatted string.

    TextDirectionHeuristic

    Interface for objects that use a heuristic for guessing at the paragraph direction by examining text.

    TextDirectionHeuristics

    Some objects that implement TextDirectionHeuristic.

    TextElementListener

    Listens for the beginning and ending of text elements.

    TextInfo

    This class contains a metadata of the input of TextService

    TextKeyListener

    This is the key listener for typing normal text.

    TextKeyListener.Capitalize

    TextLanguage

    Represents the result of language detection of a piece of text.

    TextLanguage.Builder

    Builder used to build TextLanguage objects.

    TextLanguage.Request

    A request object for detecting the language of a piece of text.

    TextLanguage.Request.Builder

    A builder for building TextLanguage requests.

    TextLinks

    A collection of links, representing subsequences of text and the entity types (phone number, address, url, etc) they may be.

    TextLinks.Builder

    A builder to construct a TextLinks instance.

    TextLinks.Request

    A request object for generating TextLinks.

    TextLinks.Request.Builder

    A builder for building TextLinks requests.

    TextLinks.TextLink

    A link, identifying a substring of text and possible entity types for it.

    TextLinks.TextLinkSpan

    A ClickableSpan for a TextLink.

    TextPaint

    TextPaint is an extension of Paint that leaves room for some extra data used during text measuring and drawing.

    TextRunShaper

    Provides conversion from a text into glyph array.

    TextSelection

    Information about where text selection should be.

    TextSelection.Builder

    Builder used to build TextSelection objects.

    TextSelection.Request

    A request object for generating TextSelection.

    TextSelection.Request.Builder

    A builder for building TextSelection requests.

    TextServicesManager

    System API to the overall text services, which arbitrates interaction between applications and text services.

    TextShaper

    Provides text shaping for multi-styled text.

    TextShaper.GlyphsConsumer

    A consumer interface for accepting text shape result.

    TextSnapshot

    An immutable data snapshot of text editing state.

    TextStyle

    Enumeration of the style of text formatting and parsing.

    TextSwitcher

    Specialized android.widget.ViewSwitcher that contains only children of type android.widget.TextView.

    TextToSpeech

    Synthesizes speech from text for immediate playback or to create a sound file.

    TextToSpeech.Engine

    Constants and parameter names for controlling text-to-speech.

    TextToSpeech.EngineInfo

    Information about an installed text-to-speech engine.

    TextToSpeech.OnInitListener

    Interface definition of a callback to be invoked indicating the completion of the TextToSpeech engine initialization.

    TextToSpeech.OnUtteranceCompletedListener This interface was deprecated in API level 18. Use UtteranceProgressListener instead.
    TextToSpeechService

    Abstract base class for TTS engine implementations.

    TextureView

    A TextureView can be used to display a content stream, such as that coming from a camera preview, a video, or an OpenGL scene.

    TextureView.SurfaceTextureListener

    This listener can be used to be notified when the surface texture associated with this texture view is available.

    TextUtils

    TextUtils.EllipsizeCallback

    TextUtils.SimpleStringSplitter

    A simple string splitter.

    TextUtils.StringSplitter

    An interface for splitting strings according to rules that are opaque to the user of this interface.

    TextUtils.TruncateAt

    TextValueSanitizer

    Sanitizes a text AutofillValue using a regular expression (regex) substitution.

    TextView

    A user interface element that displays text to the user.

    TextView.BufferType

    Type of the text buffer that defines the characteristics of the text such as static, styleable, or editable.

    TextView.OnEditorActionListener

    Interface definition for a callback to be invoked when an action is performed on the editor.

    TextView.SavedState

    User interface state that is stored by TextView for implementing View.onSaveInstanceState.

    TextWatcher

    When an object of this type is attached to an Editable, its methods will be called when the text is changed.

    ThaiBuddhistChronology

    The Thai Buddhist calendar system.

    ThaiBuddhistDate

    A date in the Thai Buddhist calendar system.

    ThaiBuddhistEra

    An era in the Thai Buddhist calendar system.

    ThemedSpinnerAdapter

    An extension of SpinnerAdapter that is capable of inflating drop-down views against a different theme than normal views.

    Thread

    A thread is a thread of execution in a program.

    Thread.State

    A thread state.

    Thread.UncaughtExceptionHandler

    Interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception.

    ThreadDeath

    An instance of ThreadDeath is thrown in the victim thread when the (deprecated) Thread.stop() method is invoked.

    ThreadFactory

    An object that creates new threads on demand.

    ThreadGroup

    A thread group represents a set of threads.

    ThreadLocal

    This class provides thread-local variables.

    ThreadLocalRandom

    A random number generator (with period 264) isolated to the current thread.

    ThreadPoolExecutor

    An ExecutorService that executes each submitted task using one of possibly several pooled threads, normally configured using Executors factory methods.

    ThreadPoolExecutor.AbortPolicy

    A handler for rejected tasks that throws a RejectedExecutionException.

    ThreadPoolExecutor.CallerRunsPolicy

    A handler for rejected tasks that runs the rejected task directly in the calling thread of the execute method, unless the executor has been shut down, in which case the task is discarded.

    ThreadPoolExecutor.DiscardOldestPolicy

    A handler for rejected tasks that discards the oldest unhandled request and then retries execute, unless the executor is shut down, in which case the task is discarded.

    ThreadPoolExecutor.DiscardPolicy

    A handler for rejected tasks that silently discards the rejected task.

    Throwable

    The Throwable class is the superclass of all errors and exceptions in the Java language.

    ThumbnailTemplate

    A template for a Control that displays an image.

    ThumbnailUtils

    Utilities for generating visual thumbnails from files.

    Tile

    A Tile holds the state of a tile that will be displayed in Quick Settings.

    TileService

    A TileService provides the user a tile that can be added to Quick Settings.

    Time This class was deprecated in API level 22. Use java.util.GregorianCalendar instead.
    Time

    A thin wrapper around the java.util.Date class that allows the JDBC API to identify this as an SQL TIME value.

    TimeAnimator

    This class provides a simple callback mechanism to listeners that is synchronized with all other animators in the system.

    TimeAnimator.TimeListener

    Implementors of this interface can set themselves as update listeners to a TimeAnimator instance to receive callbacks on every animation frame to receive the total time since the animator started and the delta time since the last frame.

    TimedMetaData

    Class that embodies one timed metadata access unit, including

    • a time stamp, and
    • raw uninterpreted byte-array extracted directly from the container.

    TimedText

    Class to hold the timed text's metadata, including:

    • The characters for rendering
    • The rendering position for the timed text

    TimeFormatException

    TimeInstantRangeFilter

    Specification of time range for read and delete requests.

    TimeInstantRangeFilter.Builder

    Builder class for TimeInstantRangeFilter

    TimeInterpolator

    A time interpolator defines the rate of change of an animation.

    TimeKeyListener

    For entering times in a text field.

    TimelineRequest

    A request for Timeline from broadcast signal.

    TimelineResponse

    A response for Timeline from broadcast signal.

    TimeoutException

    Exception thrown when a blocking operation times out.

    TimePicker

    A widget for selecting the time of day, in either 24-hour or AM/PM mode.

    TimePicker.OnTimeChangedListener

    The callback interface used to indicate the time has been adjusted.

    TimePickerDialog

    A dialog that prompts the user for the time of day using a TimePicker.

    TimePickerDialog.OnTimeSetListener

    The callback interface used to indicate the user is done filling in the time (e.g. they clicked on the 'OK' button).

    Timer

    A facility for threads to schedule tasks for future execution in a background thread.

    TimeRangeFilter

    A Base class to represent a request for time range for read and delete requests.

    TimerStat

    A TimerStat object stores a count and a time.

    TimerTask

    A task that can be scheduled for one-time or repeated execution by a Timer.

    Timestamp

    This class encapsulates information about a signed timestamp.

    Timestamp

    A thin wrapper around java.util.Date that allows the JDBC API to identify this as an SQL TIMESTAMP value.

    TimeUnit

    Measurement unit for time units.

    TimeUnit

    A represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform timing and delay operations in these units.

    TimeUtils

    A class containing utility methods related to time zones.

    TimeZone

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

    TimeZone

    represents a time zone offset, and also figures out daylight savings.

    TimeZone.SystemTimeZoneType

    [icu] System time zone type constants used by filtering zones in TimeZone.getAvailableIDs(SystemTimeZoneType, String, Integer)

    TimeZoneFormat

    TimeZoneFormat supports time zone display name formatting and parsing.

    TimeZoneFormat.GMTOffsetPatternType

    Offset pattern type enum.

    TimeZoneFormat.ParseOption

    Parse option enum, used for specifying optional parse behavior.

    TimeZoneFormat.Style

    Time zone display format style enum used by format/parse APIs in TimeZoneFormat.

    TimeZoneFormat.TimeType

    Time type enum used for receiving time type (standard time, daylight time or unknown) in TimeZoneFormat APIs.

    TimeZoneNames

    TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#35 Unicode Locale Data Markup Language (LDML).

    TimeZoneNames.NameType

    Time zone display name types

    TimingLogger This class was deprecated in API level 30. Use android.os.Trace, or Android Studio. In general, milliseconds is the wrong granularity for method-level tracing. Rounding errors can overemphasize cheap operations, or underemphasize repeated operations. This timing system also does not take CPU scheduling or frequency into account.
    Toast

    A toast is a view containing a quick little message for the user.

    Toast.Callback

    Callback object to be called when the toast is shown or hidden.

    ToDoubleBiFunction

    Represents a function that accepts two arguments and produces a double-valued result.

    ToDoubleFunction

    Represents a function that produces a double-valued result.

    ToggleButton

    Displays checked/unchecked states as a button with a "light" indicator and by default accompanied with the text "ON" or "OFF".

    ToggleRangeTemplate

    A template for a Control supporting toggling and a range.

    ToggleTemplate

    A template for a Control with a single button that can be toggled between two states.

    ToIntBiFunction

    Represents a function that accepts two arguments and produces an int-valued result.

    ToIntFunction

    Represents a function that produces an int-valued result.

    TokenWatcher

    A TokenWatcher watches a collection of IBinders.

    ToLongBiFunction

    Represents a function that accepts two arguments and produces a long-valued result.

    ToLongFunction

    Represents a function that produces a long-valued result.

    ToneGenerator

    This class provides methods to play DTMF tones (ITU-T Recommendation Q.23), call supervisory tones (3GPP TS 22.001, CEPT) and proprietary tones (3GPP TS 31.111).

    TonemapCurve

    Immutable class for describing a 2 x M x 3 tonemap curve of floats.

    Toolbar

    A standard toolbar for use within application content.

    Toolbar.LayoutParams

    Layout information for child views of Toolbars.

    Toolbar.OnMenuItemClickListener

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

    TooManyListenersException

    The TooManyListenersException Exception is used as part of the Java Event model to annotate and implement a unicast special case of a multicast Event Source.

    Topic

    Represent the topic result from the getTopics API.

    TopicsManager

    TopicsManager provides APIs for App and Ad-Sdks to get the user interest topics in a privacy preserving way.

    TotalCaloriesBurnedRecord

    Total energy burned by the user in Energy, including active & basal energy burned (BMR).

    TotalCaloriesBurnedRecord.Builder

    Builder class for TotalCaloriesBurnedRecord

    TotalCaptureResult

    The total assembled results of a single image capture from the image sensor.

    Touch

    TouchDelegate

    Helper class to handle situations where you want a view to have a larger touch area than its actual view bounds.

    TouchInteractionController

    This class allows a service to handle touch exploration and the detection of specialized accessibility gestures.

    TouchInteractionController.Callback

    callbacks allow services to receive motion events and state change updates.

    TouchUtils This class was deprecated in API level 24. Use Espresso UI testing framework instead. New tests should be written using the Android Testing Support Library.
    Trace

    Writes trace events to the system trace buffer.

    TracingConfig

    Holds tracing configuration information and predefined settings.

    TracingConfig.Builder

    Builder used to create TracingConfig objects.

    TracingController

    Manages tracing of WebViews.

    TrackChangeEvent

    Playback track change event.

    TrackChangeEvent.Builder

    A builder for TrackChangeEvent

    TrafficDescriptor

    A traffic descriptor, as defined in 3GPP TS 24.

    TrafficDescriptor.Builder

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

    TrafficStats

    Class that provides network traffic statistics.

    TrainingExampleRecord

    One record of TrainingExamplesOutput.

    TrainingExampleRecord.Builder

    A builder for TrainingExampleRecord

    TrainingExamplesInput

    The input data for IsolatedWorker.onTrainingExamples.

    TrainingExamplesOutput

    The output data of IsolatedWorker.onTrainingExamples

    TrainingExamplesOutput.Builder

    A builder for TrainingExamplesOutput

    TrainingInterval

    Training interval settings required for federated computation jobs.

    TrainingInterval.Builder

    A builder for TrainingInterval

    TransactionTooLargeException

    The Binder transaction failed because it was too large.

    TranscodingSession

    An instances of this class represents a session of media Transcoding.

    TransferQueue

    A BlockingQueue in which producers may wait for consumers to receive elements.

    Transformation

    Helper class used to change a child view of a presentation at runtime, using the values of fields contained in the screen.

    Transformation

    Defines the transformation to be applied at one point in time of an Animation.

    TransformationMethod

    TextView uses TransformationMethods to do things like replacing the characters of passwords with dots, or keeping the newline characters from causing line breaks in single-line text fields.

    Transformer

    An instance of this abstract class can transform a source tree into a result tree.

    TransformerConfigurationException

    Indicates a serious configuration error.

    TransformerException

    This class specifies an exceptional condition that occurred during the transformation process.

    TransformerFactory

    A TransformerFactory instance can be used to create javax.xml.transform.Transformer and javax.xml.transform.Templates objects.

    TransformerFactoryConfigurationError

    Thrown when a problem with configuration with the Transformer Factories exists.

    TransformerHandler

    A TransformerHandler listens for SAX ContentHandler parse events and transforms them to a Result.

    Transition

    A Transition holds information about animations that will be run on its targets during a scene change.

    Transition.EpicenterCallback

    Class to get the epicenter of Transition.

    Transition.TransitionListener

    A transition listener receives notifications from a transition.

    TransitionDrawable

    An extension of LayerDrawables that is intended to cross-fade between the first and second layer.

    TransitionInflater

    This class inflates scenes and transitions from resource files.

    TransitionListenerAdapter

    This adapter class provides empty implementations of the methods from .

    TransitionManager

    This class manages the set of transitions that fire when there is a change of Scene.

    TransitionPropagation

    Extend TransitionPropagation to customize start delays for Animators created in android.transition.Transition#createAnimator(ViewGroup, * TransitionValues, TransitionValues).

    TransitionSet

    A TransitionSet is a parent of child transitions (including other TransitionSets).

    TransitionValues

    Data structure which holds cached values for the transition.

    TranslateAnimation

    An animation that controls the position of an object.

    TranslationCapability

    Capability class holding information for a pair of TranslationSpecs.

    TranslationContext

    Info class holding information for Translators and used by TranslationManager.createOnDeviceTranslator(TranslationContext, Executor, Consumer).

    TranslationContext.Builder

    A builder for TranslationContext

    TranslationManager

    The TranslationManager class provides ways for apps to integrate and use the translation framework.

    TranslationRequest

    Translation request sent to the translation service by the android.view.translation.Translator which contains the text to be translated.

    TranslationRequest.Builder

    A builder for TranslationRequest

    TranslationRequestValue

    A value to be translated via android.view.translation.Translator.

    TranslationResponse

    Response from the translation service, which contains the translated result.

    TranslationResponse.Builder

    A builder for TranslationResponse

    TranslationResponseValue

    A translated response value from translation service.

    TranslationResponseValue.Builder

    A builder for TranslationResponseValue

    TranslationSpec

    Specs and additional info for the translation data.

    Translator

    The Translator for translation, defined by a TranslationContext.

    Transliterator

    Transliterator is an abstract class that transliterates text from one format to another.

    Transliterator.Position

    Position structure for incremental transliteration.

    TransportBlock

    Wrapper for Transport Discovery Data Transport Blocks.

    TransportDiscoveryData

    Wrapper for Transport Discovery Data AD Type.

    TransportInfo

    A container for transport-specific capabilities which is returned by NetworkCapabilities.getTransportInfo().

    TransportModeChildSessionParams

    TransportModeChildSessionParams represents proposed configurations for negotiating a transport mode Child Session.

    TransportModeChildSessionParams.Builder

    This class can be used to incrementally construct a TransportModeChildSessionParams.

    TreeMap

    A Red-Black tree based NavigableMap implementation.

    TreeSet

    A NavigableSet implementation based on a TreeMap.

    TriggerEvent

    This class represents a Trigger Event - the event associated with a Trigger Sensor.

    TriggerEventListener

    This class is the listener used to handle Trigger Sensors.

    TrustAnchor

    A trust anchor or most-trusted Certification Authority (CA).

    TrustedBiddingData

    Represents data used during the ad selection process to fetch buyer bidding signals from a trusted key/value server.

    TrustedBiddingData.Builder

    Builder for TrustedBiddingData objects.

    TrustedPresentationThresholds

    Threshold values that are sent with android.

    TrustManager

    This is the base interface for JSSE trust managers.

    TrustManagerFactory

    This class acts as a factory for trust managers based on a source of trust material.

    TrustManagerFactorySpi

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

    TsRequest

    A request for TS (transport stream) from broadcast signal.

    TsResponse

    A response for TS (transport stream) from broadcast signal.

    TtsSpan

    A span that supplies additional meta-data for the associated text intended for text-to-speech engines.

    TtsSpan.Builder

    A simple builder for TtsSpans.

    TtsSpan.CardinalBuilder

    A builder for TtsSpans of type TYPE_CARDINAL.

    TtsSpan.DateBuilder

    A builder for TtsSpans of type TYPE_DATE.

    TtsSpan.DecimalBuilder

    A builder for TtsSpans of type TYPE_DECIMAL.

    TtsSpan.DigitsBuilder

    A builder for TtsSpans of type TYPE_DIGITS.

    TtsSpan.ElectronicBuilder

    A builder for TtsSpans of type TYPE_ELECTRONIC.

    TtsSpan.FractionBuilder

    A builder for TtsSpans of type TYPE_FRACTION.

    TtsSpan.MeasureBuilder

    A builder for TtsSpans of type TYPE_MEASURE.

    TtsSpan.MoneyBuilder

    A builder for TtsSpans of type TYPE_MONEY.

    TtsSpan.OrdinalBuilder

    A builder for TtsSpans of type TYPE_ORDINAL.

    TtsSpan.SemioticClassBuilder

    A builder for TtsSpans, has setters for morphosyntactic features.

    TtsSpan.TelephoneBuilder

    A builder for TtsSpans of type TYPE_TELEPHONE.

    TtsSpan.TextBuilder

    A builder for TtsSpans of type TYPE_TEXT.

    TtsSpan.TimeBuilder

    A builder for TtsSpans of type TYPE_TIME.

    TtsSpan.VerbatimBuilder

    A builder for TtsSpans of type TYPE_VERBATIM.

    TunnelModeChildSessionParams

    TunnelModeChildSessionParams represents proposed configurations for negotiating a tunnel mode Child Session.

    TunnelModeChildSessionParams.Builder

    This class can be used to incrementally construct a TunnelModeChildSessionParams.

    TunnelModeChildSessionParams.ConfigRequestIpv4Address

    Represents an IPv4 Internal Address request

    TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer

    Represents an IPv4 DHCP server request

    TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer

    Represents an IPv4 DNS Server request

    TunnelModeChildSessionParams.ConfigRequestIpv4Netmask

    Represents an IPv4 Netmask request

    TunnelModeChildSessionParams.ConfigRequestIpv6Address

    Represents an IPv6 Internal Address request

    TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer

    Represents an IPv6 DNS Server request

    TunnelModeChildSessionParams.TunnelModeChildConfigRequest

    Represents a tunnel mode child session configuration request type

    TvAdManager

    Central system API to the overall client-side TV AD architecture, which arbitrates interaction between applications and AD services.

    TvAdManager.TvAdServiceCallback

    Callback used to monitor status of the TV advertisement service.

    TvAdService

    The TvAdService class represents a TV client-side advertisement service.

    TvAdService.Session

    Base class for derived classes to implement to provide a TV AD session.

    TvAdServiceInfo

    This class is used to specify meta information of a TV AD service.

    TvAdView

    Displays contents of TV advertisement services.

    TvAdView.OnUnhandledInputEventListener

    Interface definition for a callback to be invoked when the unhandled input event is received.

    TvAdView.TvAdCallback

    Callback used to receive various status updates on the TvAdView.

    TvContentRating

    A class representing a TV content rating.

    TvContract

    The contract between the TV provider and applications.

    TvContract.BaseTvColumns

    Common base for the tables of TV channels/programs.

    TvContract.Channels

    Column definitions for the TV channels table.

    TvContract.Channels.Logo

    A sub-directory of a single TV channel that represents its primary logo.

    TvContract.PreviewPrograms

    Column definitions for the preview TV programs table.

    TvContract.Programs

    Column definitions for the TV programs table.

    TvContract.Programs.Genres

    Canonical genres for TV programs.

    TvContract.RecordedPrograms

    Column definitions for the recorded TV programs table.

    TvContract.WatchNextPrograms

    Column definitions for the "watch next" TV programs table.

    TvInputInfo

    This class is used to specify meta information of a TV input.

    TvInputInfo.Builder

    A convenience builder for creating TvInputInfo objects.

    TvInputManager

    Central system API to the overall TV input framework (TIF) architecture, which arbitrates interaction between applications and the selected TV inputs.

    TvInputManager.TvInputCallback

    Callback used to monitor status of the TV inputs.

    TvInputService

    The TvInputService class represents a TV input or source such as HDMI or built-in tuner which provides pass-through video or broadcast TV programs.

    TvInputService.HardwareSession

    Base class for a TV input session which represents an external device connected to a hardware TV input.

    TvInputService.RecordingSession

    Base class for derived classes to implement to provide a TV input recording session.

    TvInputService.Session

    Base class for derived classes to implement to provide a TV input session.

    TvInteractiveAppManager

    Central system API to the overall TV interactive application framework (TIAF) architecture, which arbitrates interaction between Android applications and TV interactive apps.

    TvInteractiveAppManager.TvInteractiveAppCallback

    Callback used to monitor status of the TV Interactive App.

    TvInteractiveAppService

    A TV interactive application service is a service that provides runtime environment and runs TV interactive applications.

    TvInteractiveAppService.Session

    Base class for derived classes to implement to provide a TV interactive app session.

    TvInteractiveAppServiceInfo

    This class is used to specify meta information of a TV interactive app.

    TvInteractiveAppView

    Displays contents of interactive TV applications.

    TvInteractiveAppView.OnUnhandledInputEventListener

    Interface definition for a callback to be invoked when the unhandled input event is received.

    TvInteractiveAppView.TvInteractiveAppCallback

    Callback used to receive various status updates on the TvInteractiveAppView.

    TvRecordingClient

    The public interface object used to interact with a specific TV input service for TV program recording.

    TvRecordingClient.RecordingCallback

    Callback used to receive various status updates on the android.media.tv.TvInputService.RecordingSession

    TvRecordingInfo

    This class is used to describe the meta information for a TV recording.

    TvTrackInfo

    Encapsulates the format of tracks played in TvInputService.

    TvTrackInfo.Builder

    A builder class for creating TvTrackInfo objects.

    TvView

    Displays TV contents.

    TvView.OnUnhandledInputEventListener

    Interface definition for a callback to be invoked when the unhandled input event is received.

    TvView.TimeShiftPositionCallback

    Callback used to receive time shift position changes.

    TvView.TvInputCallback

    Callback used to receive various status updates on the TvView.

    TwoLineListItem This class was deprecated in API level 17. This class can be implemented easily by apps using a RelativeLayout or a LinearLayout.
    TwoStatePreference 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.
    Type 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.
    Type

    Type is the common superinterface for all types in the Java programming language.

    Type.Builder This class was deprecated in API level 31. Deprecated in Java.
    Type.CubemapFace This enum was deprecated in API level 31. Deprecated in Java.
    TypeConverter

    Abstract base class used convert type T to another type V.

    TypedArray

    Container for an array of values that were retrieved with Resources.Theme.obtainStyledAttributes(AttributeSet, int[], int, int) or Resources.obtainAttributes.

    TypeDescriptor

    An entity that has a type descriptor.

    TypeDescriptor.OfField

    An entity that has a field type descriptor.

    TypeDescriptor.OfMethod

    An entity that has a method type descriptor Method descriptors conforming to JVMS {@jvms 4.

    TypedValue

    Container for a dynamically typed data value.

    TypeEvaluator

    Interface for use with the ValueAnimator.setEvaluator(TypeEvaluator) function.

    Typeface

    The Typeface class specifies the typeface and intrinsic style of a font.

    Typeface.Builder

    A builder class for creating new Typeface instance.

    Typeface.CustomFallbackBuilder

    A builder class for creating new Typeface instance.

    TypefaceSpan

    Span that updates the typeface of the text it's attached to.

    TypeInfo

    The TypeInfo interface represents a type referenced from Element or Attr nodes, specified in the schemas associated with the document.

    TypeInfoProvider

    This class provides access to the type information determined by ValidatorHandler.

    TypeNotPresentException

    Thrown when an application tries to access a type using a string representing the type's name, but no definition for the type with the specified name can be found.

    Types

    The class that defines the constants that are used to identify generic SQL types, called JDBC types.

    TypeVariable

    TypeVariable is the common superinterface for type variables of kinds.

    U

    UCharacter

    [icu enhancement] ICU's replacement for java.lang.Character.

    UCharacter.BidiPairedBracketType

    Bidi Paired Bracket Type constants.

    UCharacter.DecompositionType

    Decomposition Type constants.

    UCharacter.EastAsianWidth

    East Asian Width constants.

    UCharacter.GraphemeClusterBreak

    Grapheme Cluster Break constants.

    UCharacter.HangulSyllableType

    Hangul Syllable Type constants.

    UCharacter.IndicPositionalCategory

    Indic Positional Category constants.

    UCharacter.IndicSyllabicCategory

    Indic Syllabic Category constants.

    UCharacter.JoiningGroup

    Joining Group constants.

    UCharacter.JoiningType

    Joining Type constants.

    UCharacter.LineBreak

    Line Break constants.

    UCharacter.NumericType

    Numeric Type constants.

    UCharacter.SentenceBreak

    Sentence Break constants.

    UCharacter.UnicodeBlock

    [icu enhancement] ICU's replacement for java.lang.Character.UnicodeBlock.

    UCharacter.VerticalOrientation

    Vertical Orientation constants.

    UCharacter.WordBreak

    Word Break constants.

    UCharacterCategory

    Enumerated Unicode category types from the UnicodeData.

    UCharacterDirection

    Enumerated Unicode character linguistic direction constants.

    UCharacterEnums

    A container for the different 'enumerated types' used by UCharacter.

    UCharacterEnums.ECharacterCategory

    'Enum' for the CharacterCategory constants.

    UCharacterEnums.ECharacterDirection

    'Enum' for the CharacterDirection constants.

    UCharacterIterator

    Abstract class that defines an API for iteration on text objects.

    UFormat

    An abstract class that extends java.text.Format to provide additional ICU protocol, specifically, the getLocale() API.

    UiAutomation

    Class for interacting with the device's UI by simulation user actions and introspection of the screen content.

    UiAutomation.AccessibilityEventFilter

    Listener for filtering accessibility events.

    UiAutomation.OnAccessibilityEventListener

    Listener for observing the AccessibilityEvent stream.

    UiccCardInfo

    The UiccCardInfo represents information about a currently inserted UICC or embedded eUICC.

    UiccPortInfo

    UiccPortInfo class represents information about a single port contained on UiccCardInfo.

    UidHealthStats

    Keys for HealthStats returned from SystemHealthManager.takeUidSnapshot(int), SystemHealthManager.takeMyUidSnapshot(), and SystemHealthManager.takeUidSnapshots(int[]).

    UiModeManager

    This class provides access to the system uimode services.

    UiModeManager.ContrastChangeListener

    Listener for the UI contrast.

    UiThreadTest This annotation was deprecated in API level 24. Use UiThreadTest instead. New tests should be written using the Android Testing Support Library.
    UiTranslationManager

    The UiTranslationManager class provides ways for apps to use the ui translation function in framework.

    UiTranslationStateCallback

    Callback for listening to UI Translation state changes.

    ULocale

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

    ULocale.AvailableType

    Types for ULocale.getAvailableLocalesByType

    ULocale.Builder

    Builder is used to build instances of ULocale from values configured by the setters.

    ULocale.Category

    Enum for locale categories.

    UnaryOperator

    Represents an operation on a single operand that produces a result of the same type as its operand.

    UnbufferedIoViolation

    See #Builder.detectUnbufferedIo()

    UncheckedIOException

    Wraps an IOException with an unchecked exception.

    UndeclaredThrowableException

    Thrown by a method invocation on a proxy instance if its invocation handler's invoke method throws a checked exception (a Throwable that is not assignable to RuntimeException or Error) that is not assignable to any of the exception types declared in the throws clause of the method that was invoked on the proxy instance and dispatched to the invocation handler.

    UnderlineSpan

    A span that underlines the text it's attached to.

    UnicodeFilter

    UnicodeFilter defines a protocol for selecting a subset of the full range (U+0000 to U+FFFF) of Unicode characters.

    UnicodeMatcher

    UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable string.

    UnicodeSet

    A mutable set of Unicode characters and multicharacter strings.

    UnicodeSet.ComparisonStyle

    Comparison style enums used by UnicodeSet.compareTo(UnicodeSet, ComparisonStyle).

    UnicodeSet.EntryRange

    A struct-like class used for iteration through ranges, for faster iteration than by String.

    UnicodeSet.SpanCondition

    Argument values for whether span() and similar functions continue while the current character is contained vs.

    UnicodeSetIterator

    UnicodeSetIterator iterates over the contents of a UnicodeSet.

    UnicodeSetSpanner

    A helper class used to count, replace, and trim CharSequences based on UnicodeSet matches.

    UnicodeSetSpanner.CountMethod

    Options for replaceFrom and countIn to control how to treat each matched span.

    UnicodeSetSpanner.TrimOption

    Options for the trim() method

    UnitTestSuiteBuilder This class was deprecated in API level Baklava. android.test.runner is obsolete
    UniversalTimeScale

    There are quite a few different conventions for binary datetime, depending on different platforms and protocols.

    UnknownAuthenticationKeyException

    Thrown if trying to certify an unknown dynamic authentication key.

    UnknownError

    Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.

    UnknownFormatConversionException

    Unchecked exception thrown when an unknown conversion is given.

    UnknownFormatFlagsException

    Unchecked exception thrown when an unknown flag is given.

    UnknownHostException

    Thrown to indicate that the IP address of a host could not be determined.

    UnknownServiceException

    Thrown to indicate that an unknown service exception has occurred.

    UnlocalizedNumberFormatter

    A NumberFormatter that does not yet have a locale.

    UnlocalizedNumberRangeFormatter

    A NumberRangeFormatter that does not yet have a locale.

    UnmappableCharacterException

    Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.

    UnrecoverableEntryException

    This exception is thrown if an entry in the keystore cannot be recovered.

    UnrecoverableKeyException

    This exception is thrown if a key in the keystore cannot be recovered.

    UnregisterCredentialDescriptionRequest

    A request to unregister a ComponentName that contains an actively provisioned Credential represented by a CredentialDescription.

    UnresolvedAddressException

    Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.

    UnresolvedPermission

    Legacy security code; do not use.

    UnsafeIntentLaunchViolation

    Violation raised when your app launches an Intent which originated from outside your app.

    UnsafeStateException

    Exception thrown when a android.app.admin.DevicePolicyManager operation failed because it was not safe to be executed at that moment.

    UnsatisfiedLinkError

    Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.

    UnsupportedAddressTypeException

    Unchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported.

    UnsupportedCallbackException

    Signals that a CallbackHandler does not recognize a particular Callback.

    UnsupportedCharsetException

    Unchecked exception thrown when no support is available for a requested charset.

    UnsupportedClassVersionError

    Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.

    UnsupportedEncodingException

    The Character Encoding is not supported.

    UnsupportedOperationException

    Thrown to indicate that the requested operation is not supported.

    UnsupportedSchemeException

    Exception thrown when an attempt is made to construct a MediaDrm object using a crypto scheme UUID that is not supported by the device

    UnsupportedTemporalTypeException

    UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class.

    UntaggedSocketViolation

    UpdateAdCounterHistogramRequest

    Request object wrapping the required arguments needed to update an ad counter histogram.

    UpdateAdCounterHistogramRequest.Builder

    Builder for UpdateAdCounterHistogramRequest objects.

    UpdateAppearance

    The classes that affect character-level text in a way that modifies their appearance when one is added or removed must implement this interface.

    UpdateLayout

    The classes that affect character-level text formatting in a way that triggers a text layout update when one is added or removed must implement this interface.

    UpdateSignalsRequest

    The request object for updateSignals.

    UpdateSignalsRequest.Builder

    Builder for UpdateSignalsRequest objects.

    UploadDataProvider

    Abstract class allowing the embedder to provide an upload body to UrlRequest.

    UploadDataSink

    Defines callbacks methods for UploadDataProvider.

    UProperty

    Selection constants for Unicode properties.

    UProperty.NameChoice

    Selector constants for UCharacter.

    UpsertMedicalResourceRequest

    An upsert request for HealthConnectManager.upsertMedicalResources.

    UpsertMedicalResourceRequest.Builder

    Builder class for UpsertMedicalResourceRequest.

    URI

    Represents a Uniform Resource Identifier (URI) reference.

    Uri

    Immutable URI reference.

    Uri.Builder

    Helper class for building or manipulating URI references.

    URICertStoreParameters

    Parameters used as input for CertStore algorithms which use information contained in a URI to retrieve certificates and CRLs.

    UriMatcher

    Utility class to aid in matching URIs in content providers.

    UriPermission

    Description of a single Uri permission grant.

    UriRelativeFilter

    A filter for matching Intent URI Data as part of a UriRelativeFilterGroup.

    UriRelativeFilterGroup

    An intent data matching group based on a URI's relative reference which includes the path, query and fragment.

    URIResolver

    An object that implements this interface that can be called by the processor to turn a URI used in document(), xsl:import, or xsl:include into a Source object.

    URISyntaxException

    Checked exception thrown to indicate that a string could not be parsed as a URI reference.

    URL

    Class URL represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.

    URLClassLoader

    This class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories.

    URLConnection

    The abstract class is the superclass of all classes that represent a communications link between the application and a URL.

    URLDecoder

    Utility class for HTML form decoding.

    URLEncoder

    Utility class for HTML form encoding.

    UrlQuerySanitizer

    Sanitizes the Query portion of a URL.

    UrlQuerySanitizer.IllegalCharacterValueSanitizer

    Sanitize values based on which characters they contain.

    UrlQuerySanitizer.ParameterValuePair

    A simple tuple that holds parameter-value pairs.

    UrlQuerySanitizer.ValueSanitizer

    A functor used to sanitize a single query value.

    UrlRequest

    Controls an HTTP request (GET, PUT, POST etc).

    UrlRequest.Builder

    Builder for UrlRequests.

    UrlRequest.Callback

    Users of the HTTP stack extend this class to receive callbacks indicating the progress of a UrlRequest being processed.

    UrlRequest.Status

    Request status values returned by getStatus.

    UrlRequest.StatusListener

    Listener interface used with getStatus to receive the status of a UrlRequest.

    UrlResponseInfo

    Basic information about a response.

    URLSpan

    Implementation of the ClickableSpan that allows setting a url string.

    URLStreamHandler

    The abstract class URLStreamHandler is the common superclass for all stream protocol handlers.

    URLStreamHandlerFactory

    This interface defines a factory for URL stream protocol handlers.

    URLUtil

    UrspRule

    Represents a single URSP rule as defined in 3GPP TS 24.

    UsageEvents

    A result returned from android.app.usage.UsageStatsManager#queryEvents(long, long) from which to read android.app.usage.UsageEvents.Event objects.

    UsageEvents.Event

    An event representing a state change for a component.

    UsageEventsQuery

    An Object-Oriented representation for a UsageEvents query.

    UsageEventsQuery.Builder

    Builder for UsageEventsQuery.

    UsageStats

    Contains usage statistics for an app package for a specific time range.

    UsageStatsManager

    Provides access to device usage history and statistics.

    UsbAccessory

    A class representing a USB accessory, which is an external hardware component that communicates with an android application over USB.

    UsbConfiguration

    A class representing a configuration on a UsbDevice.

    UsbConstants

    Contains constants for the USB protocol.

    UsbDevice

    This class represents a USB device attached to the android device with the android device acting as the USB host.

    UsbDeviceConnection

    This class is used for sending and receiving data and control messages to a USB device.

    UsbEndpoint

    A class representing an endpoint on a UsbInterface.

    UsbInterface

    A class representing an interface on a UsbDevice.

    UsbManager

    This class allows you to access the state of USB and communicate with USB devices.

    UsbRequest

    A class representing USB request packet.

    UScript

    Constants for ISO 15924 script codes, and related functions.

    UScript.ScriptUsage

    Script usage constants.

    UserData

    User data provided by the platform to an IsolatedService.

    UserData

    Defines the user data used for field classification.

    UserData.Builder

    A builder for UserData objects.

    UserDataHandler

    When associating an object to a key on a node using Node.setUserData() the application can provide a handler that gets called when the node the object is associated to is being cloned, imported, or renamed.

    UserDefinedFileAttributeView

    A file attribute view that provides a view of a file's user-defined attributes, sometimes known as extended attributes.

    UserDictionary

    A provider of user defined words for input methods to use for predictive text input.

    UserDictionary.Words

    Contains the user defined words.

    UserHandle

    Representation of a user on the device.

    UserManager

    Manages users and user details on a multi-user system.

    UserManager.UserOperationException

    Thrown to indicate user operation failed.

    UserNotAuthenticatedException

    Indicates that a cryptographic operation could not be performed because the user has not been authenticated recently enough.

    UserPresenceUnavailableException

    Indicates the condition that a proof of user-presence was requested but this proof was not presented.

    UserPrincipal

    A Principal representing an identity used to determine access rights to objects in a file system.

    UserPrincipalLookupService

    An object to lookup user and group principals by name.

    UserPrincipalNotFoundException

    Checked exception thrown when a lookup of UserPrincipal fails because the principal does not exist.

    UTFDataFormatException

    Signals that a malformed string in modified UTF-8 format has been read in a data input stream or by any class that implements the data input interface.

    UtteranceProgressListener

    Listener for events relating to the progress of an utterance through the synthesis queue.

    UUID

    A class that represents an immutable universally unique identifier (UUID).

    V

    Validator

    Class used to define whether a condition is satisfied.

    Validator

    A processor that checks an XML document against Schema.

    ValidatorHandler

    Streaming validator that works on SAX stream.

    Validators

    Factory for Validator operations.

    ValueAnimator

    This class provides a simple timing engine for running animations which calculate animated values and set them on target objects.

    ValueAnimator.AnimatorUpdateListener

    Implementors of this interface can add themselves as update listeners to an ValueAnimator instance to receive callbacks on every animation frame, after the current frame's values have been calculated for that ValueAnimator.

    ValueAnimator.DurationScaleChangeListener

    Listener interface for the system-wide scaling factor for Animator-based animations.

    ValueCallback

    A callback interface used to provide values asynchronously.

    ValueIterator

    Interface for enabling iteration over sets of <int, Object>, where int is the sorted integer index in ascending order, and Object its associated value.

    ValueIterator.Element

    The return result container of each iteration.

    ValueRange

    The range of valid values for a date-time field.

    VarHandle

    A VarHandle is a dynamically strongly typed reference to a variable, or to a parametrically-defined family of variables, including static fields, non-static fields, array elements, or components of an off-heap data structure.

    VarHandle.AccessMode

    The set of access modes that specify how a variable, referenced by a VarHandle, is accessed.

    VcnCellUnderlyingNetworkTemplate

    This class represents a configuration for a network template class of underlying cellular networks.

    VcnCellUnderlyingNetworkTemplate.Builder

    This class is used to incrementally build VcnCellUnderlyingNetworkTemplate objects.

    VcnConfig

    This class represents a configuration for a Virtual Carrier Network.

    VcnConfig.Builder

    This class is used to incrementally build VcnConfig objects.

    VcnGatewayConnectionConfig

    This class represents a configuration for a connection to a Virtual Carrier Network gateway.

    VcnGatewayConnectionConfig.Builder

    This class is used to incrementally build VcnGatewayConnectionConfig objects.

    VcnManager

    VcnManager publishes APIs for applications to configure and manage Virtual Carrier Networks.

    VcnManager.VcnStatusCallback

    VcnStatusCallback is the interface for Carrier apps to receive updates for their VCNs.

    VcnUnderlyingNetworkTemplate

    This class represents a template containing set of underlying network requirements for doing route selection.

    VcnWifiUnderlyingNetworkTemplate

    This class represents a configuration for a network template class of underlying Carrier WiFi networks.

    VcnWifiUnderlyingNetworkTemplate.Builder

    This class is used to incrementally build VcnWifiUnderlyingNetworkTemplate objects.

    Vector

    The Vector class implements a growable array of objects.

    VectorDrawable

    This lets you create a drawable based on an XML vector graphic.

    Velocity

    Represents a unit of speed.

    VelocityTracker

    Helper for tracking the velocity of motion events, for implementing flinging and other such gestures.

    VerifiedDisplayHash

    The verified display hash used to validate information about what was present on screen.

    VerifiedInputEvent

    Base class for verified events.

    VerifiedKeyEvent

    KeyEvent that has been verified by the system.

    VerifiedMotionEvent

    MotionEvent that has been verified by the system.

    VerifyError

    Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.

    VersionedPackage

    Encapsulates a package and its version code.

    VersionInfo

    Class to store version numbers of the form major.

    VibrationAttributes

    Encapsulates a collection of attributes describing information about a vibration.

    VibrationAttributes.Builder

    Builder class for VibrationAttributes objects.

    VibrationEffect

    A VibrationEffect describes a haptic effect to be performed by a Vibrator.

    VibrationEffect.BasicEnvelopeBuilder

    A builder for waveform effects defined by their envelope, designed to provide a consistent haptic perception across devices with varying capabilities.

    VibrationEffect.Composition

    A composition of haptic elements that are combined to be playable as a single VibrationEffect.

    VibrationEffect.WaveformEnvelopeBuilder

    A builder for waveform effects described by its envelope.

    Vibrator

    Class that operates the vibrator on the device.

    VibratorEnvelopeEffectInfo

    Provides information about the vibrator hardware capabilities and limitations regarding waveform envelope effects.

    VibratorFrequencyProfile

    Describes the output of a android.os.Vibrator for different vibration frequencies.

    VibratorManager

    Provides access to all vibrators from the device, as well as the ability to run them in a synchronized fashion.

    VideoProfile

    Represents attributes of video calls.

    VideoProfile.CameraCapabilities

    Represents the camera capabilities important to a Video Telephony provider.

    VideoView

    Displays a video file.

    View

    This class represents the basic building block for user interface components.

    View.AccessibilityDelegate

    This class represents a delegate that can be registered in a View to enhance accessibility support via composition rather via inheritance.

    View.BaseSavedState

    Base class for derived classes that want to save and restore their own state in android.view.View#onSaveInstanceState().

    View.DragShadowBuilder

    Creates an image that the system displays during the drag and drop operation.

    View.MeasureSpec

    A MeasureSpec encapsulates the layout requirements passed from parent to child.

    View.OnApplyWindowInsetsListener

    Listener for applying window insets on a view in a custom way.

    View.OnAttachStateChangeListener

    Interface definition for a callback to be invoked when this view is attached or detached from its window.

    View.OnCapturedPointerListener

    Interface definition for a callback to be invoked when a captured pointer event is being dispatched this view.

    View.OnClickListener

    Interface definition for a callback to be invoked when a view is clicked.

    View.OnContextClickListener

    Interface definition for a callback to be invoked when a view is context clicked.

    View.OnCreateContextMenuListener

    Interface definition for a callback to be invoked when the context menu for this view is being built.

    View.OnDragListener

    Interface definition for a listener that's invoked when a drag event is dispatched to this view.

    View.OnFocusChangeListener

    Interface definition for a callback to be invoked when the focus state of a view changed.

    View.OnGenericMotionListener

    Interface definition for a callback to be invoked when a generic motion event is dispatched to this view.

    View.OnHoverListener

    Interface definition for a callback to be invoked when a hover event is dispatched to this view.

    View.OnKeyListener

    Interface definition for a callback to be invoked when a hardware key event is dispatched to this view.

    View.OnLayoutChangeListener

    Interface definition for a callback to be invoked when the layout bounds of a view changes due to layout processing.

    View.OnLongClickListener

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

    View.OnScrollChangeListener

    Interface definition for a callback to be invoked when the scroll X or Y positions of a view change.

    View.OnSystemUiVisibilityChangeListener This interface was deprecated in API level 30. Use WindowInsets.isVisible(int) to find out about system bar visibilities by setting a OnApplyWindowInsetsListener on this view.
    View.OnTouchListener

    Interface definition for a callback to be invoked when a touch event is dispatched to this view.

    View.OnUnhandledKeyEventListener

    Interface definition for a callback to be invoked when a hardware key event hasn't been handled by the view hierarchy.

    ViewAnimationUtils

    Defines common utilities for working with View's animations.

    ViewAnimator

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

    ViewAsserts This class was deprecated in API level 24. Use Espresso View Matchers instead. New test should be written using the Android Testing Support Library. For more information about UI testing, take the Espresso UI testing training.
    ViewConfiguration

    Contains methods to standard constants used in the UI for timeouts, sizes, and distances.

    ViewDebug

    Various debugging/tracing tools related to View and the view hierarchy.

    ViewDebug.CapturedViewProperty

    This annotation can be used to mark fields and methods to be dumped when the view is captured.

    ViewDebug.ExportedProperty

    This annotation can be used to mark fields and methods to be dumped by the view server.

    ViewDebug.FlagToString

    Defines a mapping from a flag to a String.

    ViewDebug.HierarchyTraceType This enum was deprecated in API level 16. This enum is now unused
    ViewDebug.IntToString

    Defines a mapping from an int value to a String.

    ViewDebug.RecyclerTraceType This enum was deprecated in API level 16. This enum is now unused
    ViewFlipper

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

    ViewGroup

    A ViewGroup is a special view that can contain other views (called children.) The view group is the base class for layouts and views containers.

    ViewGroup.LayoutParams

    LayoutParams are used by views to tell their parents how they want to be laid out.

    ViewGroup.MarginLayoutParams

    Per-child layout information for layouts that support margins.

    ViewGroup.OnHierarchyChangeListener

    Interface definition for a callback to be invoked when the hierarchy within this view changed.

    ViewGroupOverlay

    A group overlay is an extra layer that sits on top of a ViewGroup (the "host view") which is drawn after all other content in that view (including the view group's children).

    ViewManager

    Interface to let you add and remove child views to an Activity.

    ViewOutlineProvider

    Interface by which a View builds its Outline, used for shadow casting and clipping.

    ViewOverlay

    An overlay is an extra layer that sits on top of a View (the "host view") which is drawn after all other content in that view (including children, if the view is a ViewGroup).

    ViewParent

    Defines the responsibilities for a class that will be a parent of a View.

    ViewPropertyAnimator

    This class enables automatic and optimized animation of select properties on View objects.

    ViewStructure

    ViewStructure is a container for storing additional per-view data generated by View.onProvideStructure and View.onProvideAutofillStructure.

    ViewStructure.HtmlInfo

    Simplified representation of the HTML properties of a node that represents an HTML element.

    ViewStructure.HtmlInfo.Builder

    Builder for HtmlInfo objects.

    ViewStub

    A ViewStub is an invisible, zero-sized View that can be used to lazily inflate layout resources at runtime.

    ViewStub.OnInflateListener

    Listener used to receive a notification after a ViewStub has successfully inflated its layout resource.

    ViewSwitcher

    ViewAnimator that switches between two views, and has a factory from which these views are created.

    ViewSwitcher.ViewFactory

    Creates views in a ViewSwitcher.

    ViewTranslationCallback

    Callback for handling the translated information show or hide in the View.

    ViewTranslationRequest

    Wrapper class representing a translation request associated with a android.view.View to be used by translation service.

    ViewTranslationRequest.Builder

    A builder for building ViewTranslationRequest.

    ViewTranslationResponse

    Wrapper class representing a translation response associated with a android.view.View to be used by translation service.

    ViewTranslationResponse.Builder

    A builder for ViewTranslationResponse

    ViewTreeObserver

    A view tree observer is used to register listeners that can be notified of global changes in the view tree.

    ViewTreeObserver.OnDrawListener

    Interface definition for a callback to be invoked when the view tree is about to be drawn.

    ViewTreeObserver.OnGlobalFocusChangeListener

    Interface definition for a callback to be invoked when the focus state within the view tree changes.

    ViewTreeObserver.OnGlobalLayoutListener

    Interface definition for a callback to be invoked when the global layout state or the visibility of views within the view tree changes.

    ViewTreeObserver.OnPreDrawListener

    Interface definition for a callback to be invoked when the view tree is about to be drawn.

    ViewTreeObserver.OnScrollChangedListener

    Interface definition for a callback to be invoked when something in the view tree has been scrolled.

    ViewTreeObserver.OnTouchModeChangeListener

    Interface definition for a callback to be invoked when the touch mode changes.

    ViewTreeObserver.OnWindowAttachListener

    Interface definition for a callback to be invoked when the view hierarchy is attached to and detached from its window.

    ViewTreeObserver.OnWindowFocusChangeListener

    Interface definition for a callback to be invoked when the view hierarchy's window focus state changes.

    ViewTreeObserver.OnWindowVisibilityChangeListener

    Interface definition for a callback to be invoked when the view hierarchy's window visibility changes.

    Violation

    Root class for all StrictMode violations.

    VirtualDevice

    Details of a particular virtual device.

    VirtualDeviceManager

    System level service for creation and management of virtual devices.

    VirtualDeviceManager.VirtualDeviceListener

    Listener for changes in the available virtual devices.

    VirtualDisplay

    Represents a virtual display.

    VirtualDisplay.Callback

    Interface for receiving information about a VirtualDisplay's state changes.

    VirtualDisplayConfig

    Holds configuration used to create VirtualDisplay instances.

    VirtualDisplayConfig.Builder

    A builder for VirtualDisplayConfig.

    Virtualizer This class was deprecated in API level 35. use the android.media.Spatializer class to query the capabilities of the platform with regards to spatialization, a different name for audio channel virtualization, and the android.media.AudioAttributes.Builder#setSpatializationBehavior(int) to characterize how you want your content to be played when spatialization is supported.
    Virtualizer.OnParameterChangeListener This interface was deprecated in API level 35. Deprecated in Java.
    Virtualizer.Settings This class was deprecated in API level 35. Deprecated in Java.
    VirtualMachineError

    Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.

    VirtualViewFillInfo

    Information for the virtual view to the autofill framework.

    VirtualViewFillInfo.Builder

    A builder for VirtualViewFillInfo

    Visibility

    A collection of utility methods for computing the visibility of triangle meshes.

    Visibility

    This transition tracks changes to the visibility of target views in the start and end scenes.

    VisibilityPropagation

    Base class for TransitionPropagations that care about View Visibility and the center position of the View.

    VisibilitySetterAction

    Action used to change the visibility of other child view in a CustomDescription presentation template.

    VisibilitySetterAction.Builder

    Builder for VisibilitySetterAction objects.

    VisibleActivityInfo

    The class is used to represent a visible activity information.

    Visualizer

    The Visualizer class enables application to retrieve part of the currently playing audio for visualization purpose.

    Visualizer.MeasurementPeakRms

    A class to store peak and RMS values.

    Visualizer.OnDataCaptureListener

    The OnDataCaptureListener interface defines methods called by the Visualizer to periodically update the audio visualization capture.

    VisualVoicemailService

    This service is implemented by dialer apps that wishes to handle OMTP or similar visual voicemails.

    VisualVoicemailService.VisualVoicemailTask

    Represents a visual voicemail event which needs to be handled.

    VisualVoicemailSms

    Represents the content of a visual voicemail SMS.

    VisualVoicemailSmsFilterSettings

    Class to represent various settings for the visual voicemail SMS filter.

    VisualVoicemailSmsFilterSettings.Builder

    Builder class for VisualVoicemailSmsFilterSettings objects.

    VmSocketAddress

    A virtio-vsock address VmSocketAddress.

    Vo2MaxRecord

    Capture user's VO2 max score and optionally the measurement method.

    Vo2MaxRecord.Builder

    Builder class for Vo2MaxRecord

    Vo2MaxRecord.Vo2MaxMeasurementMethod

    Identifier for V02 max measurement method

    Voice

    Characteristics and features of a Text-To-Speech Voice.

    VoiceInteractionService

    Top-level service of the current global voice interactor, which is providing support for hotwording, the back-end of a android.app.VoiceInteractor, etc.

    VoiceInteractionSession

    An active voice interaction session, providing a facility for the implementation to interact with the user in the voice interaction layer.

    VoiceInteractionSession.AbortVoiceRequest

    A request to report that the current user interaction can not be completed with voice, as per VoiceInteractor.AbortVoiceRequest.

    VoiceInteractionSession.ActivityId

    Represents the id of an assist source activity.

    VoiceInteractionSession.AssistState

    Represents assist state captured when this session was started.

    VoiceInteractionSession.CommandRequest

    A generic vendor-specific request, as per VoiceInteractor.CommandRequest.

    VoiceInteractionSession.CompleteVoiceRequest

    A request to simply inform the user that the voice operation has completed, as per VoiceInteractor.CompleteVoiceRequest.

    VoiceInteractionSession.ConfirmationRequest

    A request for confirmation from the user of an operation, as per VoiceInteractor.ConfirmationRequest.

    VoiceInteractionSession.Insets

    Information about where interesting parts of the input method UI appear.

    VoiceInteractionSession.PickOptionRequest

    A request for the user to pick from a set of option, as per VoiceInteractor.PickOptionRequest.

    VoiceInteractionSession.Request

    Base class representing a request from a voice-driver app to perform a particular voice operation with the user.

    VoiceInteractionSession.VisibleActivityCallback

    Callback interface for receiving visible activity changes used for assistant usage.

    VoiceInteractionSessionService

    An active voice interaction session, initiated by a VoiceInteractionService.

    VoiceInteractor

    Interface for an Activity to interact with the user through voice.

    VoiceInteractor.AbortVoiceRequest

    Reports that the current interaction can not be complete with voice, so the application will need to switch to a traditional input UI.

    VoiceInteractor.CommandRequest

    Execute a vendor-specific command using the trusted system VoiceInteractionService.

    VoiceInteractor.CompleteVoiceRequest

    Reports that the current interaction was successfully completed with voice, so the application can report the final status to the user.

    VoiceInteractor.ConfirmationRequest

    Confirms an operation with the user via the trusted system VoiceInteractionService.

    VoiceInteractor.PickOptionRequest

    Select a single option from multiple potential options with the user via the trusted system VoiceInteractionService.

    VoiceInteractor.PickOptionRequest.Option

    Represents a single option that the user may select using their voice.

    VoiceInteractor.Prompt

    A set of voice prompts to use with the voice interaction system to confirm an action, select an option, or do similar operations.

    VoiceInteractor.Request

    Base class for voice interaction requests that can be submitted to the interactor.

    VoicemailContract

    The contract between the voicemail provider and applications.

    VoicemailContract.Status

    Defines fields exposed through the /status path of this content provider.

    VoicemailContract.Voicemails

    Defines fields exposed through the /voicemail path of this content provider.

    Void

    The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.

    VolatileCallSite

    A VolatileCallSite is a CallSite whose target acts like a volatile variable.

    Volume

    Represents a unit of volume.

    VolumeAutomation

    VolumeAutomation defines an interface for automatic volume control of AudioTrack and MediaPlayer objects.

    VolumeProvider

    Handles requests to adjust or set the volume on a session.

    VolumeShaper

    The VolumeShaper class is used to automatically control audio volume during media playback, allowing simple implementation of transition effects and ducking.

    VolumeShaper.Configuration

    The VolumeShaper.Configuration class contains curve and duration information.

    VolumeShaper.Configuration.Builder

    Builder class for a VolumeShaper.Configuration object.

    VolumeShaper.Operation

    The VolumeShaper.Operation class is used to specify operations to the VolumeShaper that affect the volume change.

    VpnManager

    This class provides an interface for apps to manage platform VPN profiles

    VpnProfileState

    Describe the state of VPN.

    VpnService

    VpnService is a base class for applications to extend and build their own VPN solutions.

    VpnService.Builder

    Helper class to create a VPN interface.

    VrListenerService

    A service that is bound from the system while running in virtual reality (VR) mode.

    W

    WalletCard

    A WalletCard can represent anything that a user might carry in their wallet -- a credit card, library card, transit pass, etc.

    WalletCard.Builder

    Builder for WalletCard objects.

    WalletServiceEvent

    Represents a request from the wallet app to the Quick Access Wallet in System UI.

    WallpaperColors

    Provides information about the colors of a wallpaper.

    WallpaperInfo

    This class is used to specify meta information of a wallpaper service.

    WallpaperManager

    Provides access to the system wallpaper.

    WallpaperManager.OnColorsChangedListener

    Interface definition for a callback to be invoked when colors change on a wallpaper.

    WallpaperService

    A wallpaper service is responsible for showing a live wallpaper behind applications that would like to sit on top of it.

    WallpaperService.Engine

    The actual implementation of a wallpaper.

    Watchable

    An object that may be registered with a watch service so that it can be watched for changes and events.

    WatchEvent

    An event or a repeated event for an object that is registered with a WatchService.

    WatchEvent.Kind

    An event kind, for the purposes of identification.

    WatchEvent.Modifier

    An event modifier that qualifies how a Watchable is registered with a WatchService.

    WatchKey

    A token representing the registration of a watchable object with a WatchService.

    WatchService

    A watch service that watches registered objects for changes and events.

    WeakHashMap

    Hash table based implementation of the Map interface, with weak keys.

    WeakReference

    Weak reference objects, which do not prevent their referents from being made finalizable, finalized, and then reclaimed.

    WebBackForwardList

    This class contains the back/forward list for a WebView.

    WebChromeClient

    WebChromeClient.CustomViewCallback

    A callback interface used by the host application to notify the current page that its custom view has been dismissed.

    WebChromeClient.FileChooserParams

    Parameters used in the onShowFileChooser method.

    WebHistoryItem

    A convenience class for accessing fields in an entry in the back/forward list of a WebView.

    WebIconDatabase This class was deprecated in API level 18. This class is only required when running on devices up to android.os.Build.VERSION_CODES#JELLY_BEAN_MR2
    WebIconDatabase.IconListener This interface was deprecated in API level 18. This interface is obsolete.
    WebMessage

    The Java representation of the HTML5 PostMessage event.

    WebMessagePort

    The Java representation of the HTML5 message ports.

    WebMessagePort.WebMessageCallback

    The listener for handling MessagePort events.

    WebResourceError

    Encapsulates information about errors that occurred during loading of web resources.

    WebResourceRequest

    Encompasses parameters to the android.

    WebResourceResponse

    Encapsulates a resource response.

    WebSettings

    Manages settings state for a WebView.

    WebSettings.LayoutAlgorithm

    Enum for controlling the layout of html.

    WebSettings.PluginState

    The plugin state effects how plugins are treated on a page.

    WebSettings.RenderPriority

    WebSettings.TextSize This enum was deprecated in API level 15. Use WebSettings.setTextZoom(int) and WebSettings.getTextZoom() instead.
    WebSettings.ZoomDensity

    Enum for specifying the WebView's desired density.

    WebSourceParams

    Class holding source registration parameters.

    WebSourceParams.Builder

    A builder for WebSourceParams.

    WebSourceRegistrationRequest

    Class to hold input to measurement source registration calls from web context.

    WebSourceRegistrationRequest.Builder

    Builder for WebSourceRegistrationRequest.

    WebStorage

    This class is used to manage the JavaScript storage APIs provided by the WebView.

    WebStorage.Origin

    This class encapsulates information about the amount of storage currently used by an origin for the JavaScript storage APIs.

    WebStorage.QuotaUpdater This interface was deprecated in API level 19. This class is obsolete and no longer used.
    WebTriggerInput

    The input data for IsolatedWorker.onWebTrigger(WebTriggerInput, android.os.OutcomeReceiver).

    WebTriggerOutput

    The result that should be returned by IsolatedWorker.onWebTrigger(WebTriggerInput, android.os.OutcomeReceiver).

    WebTriggerOutput.Builder

    A builder for WebTriggerOutput

    WebTriggerParams

    Class holding trigger registration parameters.

    WebTriggerParams.Builder

    A builder for WebTriggerParams.

    WebTriggerRegistrationRequest

    Class to hold input to measurement trigger registration calls from web context.

    WebTriggerRegistrationRequest.Builder

    Builder for WebTriggerRegistrationRequest.

    WebView

    A View that displays web pages.

    WebView.FindListener

    Interface to listen for find results.

    WebView.HitTestResult

    WebView.PictureListener This interface was deprecated in API level 12. This interface is now obsolete.
    WebView.VisualStateCallback

    Callback interface supplied to postVisualStateCallback for receiving notifications about the visual state.

    WebView.WebViewTransport

    Transportation object for returning WebView across thread boundaries.

    WebViewClient

    WebViewDatabase

    This class allows developers to determine whether any WebView used in the application has stored any of the following types of browsing data and to clear any such stored data for all WebViews in the application.

    WebViewFragment This class was deprecated in API level 28. Manually call WebView.onPause() and WebView.onResume()
    WebViewMethodCalledOnWrongThreadViolation

    WebViewRenderProcess

    WebViewRenderProcess provides an opaque handle to a WebView renderer.

    WebViewRenderProcessClient

    Used to receive callbacks on WebView renderer events.

    WeekFields

    Localized definitions of the day-of-week, week-of-month and week-of-year fields.

    WeightRecord

    Captures the user's weight.

    WeightRecord.Builder

    Builder class for WeightRecord

    WheelchairPushesRecord

    Captures the number of wheelchair pushes done over a time interval.

    WheelchairPushesRecord.Builder

    Builder class for WheelchairPushesRecord

    WifiAvailableChannel

    Contains information about a Wifi channel and bitmask of Wifi operational modes allowed on that channel.

    WifiAwareChannelInfo

    Wi-Fi Aware data-path channel information.

    WifiAwareDataPathSecurityConfig

    Wi-Fi Aware data-path security config.

    WifiAwareDataPathSecurityConfig.Builder

    A builder class for a Wi-Fi Aware data-path security config to encrypt an Aware connection.

    WifiAwareManager

    This class provides the primary API for managing Wi-Fi Aware operations: discovery and peer-to-peer data connections.

    WifiAwareNetworkInfo

    Wi-Fi Aware-specific network information.

    WifiAwareNetworkSpecifier

    Network specifier object used to request a Wi-Fi Aware network.

    WifiAwareNetworkSpecifier.Builder

    A builder class for a Wi-Fi Aware network specifier to set up an Aware connection with a peer.

    WifiAwareSession

    This class represents a Wi-Fi Aware session - an attachment to the Wi-Fi Aware service through which the app can execute discovery operations.

    WifiConfiguration This class was deprecated in API level 29. Use WifiNetworkSpecifier.Builder to create NetworkSpecifier and WifiNetworkSuggestion.Builder to create WifiNetworkSuggestion. This class can still be used with privileged APIs such as WifiManager.addNetwork(WifiConfiguration).
    WifiConfiguration.AuthAlgorithm This class was deprecated in API level 29. Deprecated in Java.
    WifiConfiguration.GroupCipher This class was deprecated in API level 29. Deprecated in Java.
    WifiConfiguration.GroupMgmtCipher This class was deprecated in API level 29. Deprecated in Java.
    WifiConfiguration.KeyMgmt This class was deprecated in API level 29. Deprecated in Java.
    WifiConfiguration.PairwiseCipher This class was deprecated in API level 29. Deprecated in Java.
    WifiConfiguration.Protocol This class was deprecated in API level 29. Deprecated in Java.
    WifiConfiguration.Status This class was deprecated in API level 29. Deprecated in Java.
    WifiDeviceFilter

    A filter for Wifi devices

    WifiDeviceFilter.Builder

    A builder for WifiDeviceFilter

    WifiEnterpriseConfig

    Enterprise configuration details for Wi-Fi.

    WifiEnterpriseConfig.Eap

    The Extensible Authentication Protocol method used

    WifiEnterpriseConfig.Phase2

    The inner authentication method used

    WifiInfo

    Describes the state of any Wi-Fi connection that is active or is in the process of being set up.

    WifiInfo.Builder

    Builder for WifiInfo

    WifiManager

    This class provides the primary API for managing all aspects of Wi-Fi connectivity.

    WifiManager.AddNetworkResult

    Provides the results of a call to addNetworkPrivileged(android.net.wifi.WifiConfiguration)

    WifiManager.InterfaceCreationImpact

    Class describing an impact of interface creation - returned by reportCreateInterfaceImpact(int,boolean,java.util.concurrent.Executor,java.util.function.BiConsumer).

    WifiManager.LocalOnlyConnectionFailureListener

    Interface for local-only connection failure listener.

    WifiManager.LocalOnlyHotspotCallback

    Callback class for applications to receive updates about the LocalOnlyHotspot status.

    WifiManager.LocalOnlyHotspotReservation

    LocalOnlyHotspotReservation that contains the SoftApConfiguration for the active LocalOnlyHotspot request.

    WifiManager.MulticastLock

    Allows an application to receive Wifi Multicast packets.

    WifiManager.ScanResultsCallback

    Abstract class for scan results callback.

    WifiManager.SubsystemRestartTrackingCallback

    Abstract callback class for applications to receive updates about the Wi-Fi subsystem restarting.

    WifiManager.SuggestionConnectionStatusListener

    Interface for suggestion connection status listener.

    WifiManager.SuggestionUserApprovalStatusListener

    Interface for network suggestion user approval status change listener.

    WifiManager.WifiLock

    Allows an application to keep the Wi-Fi radio awake.

    WifiManager.WifiStateChangedListener

    Listener interface for applications to receive updates about the current Wi-Fi enabled state.

    WifiManager.WpsCallback This class was deprecated in API level 28. This is deprecated
    WifiNetworkSpecifier

    Network specifier object used to request a Wi-Fi network.

    WifiNetworkSpecifier.Builder

    Builder used to create WifiNetworkSpecifier objects.

    WifiNetworkSuggestion

    The Network Suggestion object is used to provide a Wi-Fi network for consideration when auto-connecting to networks.

    WifiNetworkSuggestion.Builder

    Builder used to create WifiNetworkSuggestion objects.

    WifiP2pConfig

    A class representing a Wi-Fi P2p configuration for setting up a connection {@see WifiP2pManager}

    WifiP2pConfig.Builder

    Builder used to build WifiP2pConfig objects for creating or joining a group.

    WifiP2pDevice

    A class representing a Wi-Fi p2p device Note that the operations are not thread safe {@see WifiP2pManager}

    WifiP2pDeviceList

    A class representing a Wi-Fi P2p device list.

    WifiP2pDiscoveryConfig

    A class representing a Wi-Fi P2P scan configuration for setting up discovery.

    WifiP2pDiscoveryConfig.Builder

    Builder for WifiP2pDiscoveryConfig.

    WifiP2pDnsSdServiceInfo

    A class for storing Bonjour service information that is advertised over a Wi-Fi peer-to-peer setup.

    WifiP2pDnsSdServiceRequest

    A class for creating a Bonjour service discovery request for use with WifiP2pManager.addServiceRequest and WifiP2pManager.removeServiceRequest {@see WifiP2pManager} {@see WifiP2pServiceRequest} {@see WifiP2pUpnpServiceRequest}

    WifiP2pGroup

    A class representing a Wi-Fi P2p group.

    WifiP2pInfo

    A class representing connection information about a Wi-Fi p2p group {@see WifiP2pManager}

    WifiP2pManager

    This class provides the API for managing Wi-Fi peer-to-peer connectivity.

    WifiP2pManager.ActionListener

    Interface for callback invocation on an application action

    WifiP2pManager.Channel

    A channel that connects the application to the Wifi p2p framework.

    WifiP2pManager.ChannelListener

    Interface for callback invocation when framework channel is lost

    WifiP2pManager.ConnectionInfoListener

    Interface for callback invocation when connection info is available

    WifiP2pManager.DeviceInfoListener

    Interface for callback invocation when android.net.wifi.p2p.WifiP2pDevice is available in response to requestDeviceInfo(android.net.wifi.p2p.WifiP2pManager.Channel,android.net.wifi.p2p.WifiP2pManager.DeviceInfoListener).

    WifiP2pManager.DiscoveryStateListener

    Interface for callback invocation when p2p state is available in response to requestDiscoveryState.

    WifiP2pManager.DnsSdServiceResponseListener

    Interface for callback invocation when Bonjour service discovery response is received

    WifiP2pManager.DnsSdTxtRecordListener

    Interface for callback invocation when Bonjour TXT record is available for a service

    WifiP2pManager.ExternalApproverRequestListener

    Interface for callback invocation when an incoming request is received.

    WifiP2pManager.GroupInfoListener

    Interface for callback invocation when group info is available

    WifiP2pManager.NetworkInfoListener

    Interface for callback invocation when android.net.NetworkInfo is available in response to requestNetworkInfo.

    WifiP2pManager.P2pStateListener

    Interface for callback invocation when p2p state is available in response to requestP2pState.

    WifiP2pManager.PeerListListener

    Interface for callback invocation when peer list is available

    WifiP2pManager.ServiceResponseListener

    Interface for callback invocation when service discovery response other than Upnp or Bonjour is received

    WifiP2pManager.UpnpServiceResponseListener

    Interface for callback invocation when upnp service discovery response is received

    WifiP2pManager.WifiP2pListener

    Interface used to listen to Wi-Fi p2p various changes such as device state change, discovery started/stopped, connection change, etc.

    WifiP2pPairingBootstrappingConfig

    A class representing Wi-Fi Direct pairing bootstrapping config

    WifiP2pServiceInfo

    A class for storing service information that is advertised over a Wi-Fi peer-to-peer setup

    WifiP2pServiceRequest

    A class for creating a service discovery request for use with WifiP2pManager.addServiceRequest and WifiP2pManager.removeServiceRequest

    WifiP2pUpnpServiceInfo

    A class for storing Upnp service information that is advertised over a Wi-Fi peer-to-peer setup.

    WifiP2pUpnpServiceRequest

    A class for creating a Upnp service discovery request for use with WifiP2pManager.addServiceRequest and WifiP2pManager.removeServiceRequest {@see WifiP2pManager} {@see WifiP2pServiceRequest} {@see WifiP2pDnsSdServiceRequest}

    WifiP2pUsdBasedLocalServiceAdvertisementConfig

    A class representing a Wi-Fi P2P USD based service advertisement configuration for advertising the services.

    WifiP2pUsdBasedLocalServiceAdvertisementConfig.Builder

    Builder for WifiP2pUsdBasedLocalServiceAdvertisementConfig.

    WifiP2pUsdBasedServiceConfig

    A class for creating a USD based service discovery configuration for use with WifiP2pServiceInfo.

    WifiP2pUsdBasedServiceConfig.Builder

    Builder used to build WifiP2pUsdBasedServiceConfig objects for USD based service discovery and advertisement.

    WifiP2pUsdBasedServiceDiscoveryConfig

    A class representing a Wi-Fi P2P USD based service discovery configuration for discovering the services.

    WifiP2pUsdBasedServiceDiscoveryConfig.Builder

    Builder for WifiP2pUsdBasedServiceDiscoveryConfig.

    WifiP2pUsdBasedServiceResponse

    A class for a response for USD based service discovery.

    WifiP2pWfdInfo

    A class representing Wifi Display information for a device.

    WifiRttManager

    This class provides the primary API for measuring distance (range) to other devices using the IEEE 802.

    WifiSsid

    Representation of a Wi-Fi Service Set Identifier (SSID).

    WifiSsidPolicy

    Used to indicate the Wi-Fi SSID restriction policy the network must satisfy in order to be eligible for a connection.

    WildcardType

    WildcardType represents a wildcard type expression, such as ?, ? extends Number, or ? super Integer.

    Window

    Abstract base class for a top-level window look and behavior policy.

    Window.Callback

    API from a Window back to its caller.

    Window.OnFrameMetricsAvailableListener

    Callback for clients that want frame timing information for each frame rendered by the Window.

    Window.OnRestrictedCaptionAreaChangedListener

    Callback for clients that want to be aware of where caption draws content.

    WindowAnimationFrameStats This class was deprecated in API level 34. Use Shared FrameTimeline jank metrics instead.
    WindowContentFrameStats

    This class contains window content frame statistics.

    WindowId

    Safe identifier for a window.

    WindowId.FocusObserver

    Subclass for observing changes to the focus state of an WindowId.

    WindowInsets

    Describes a set of insets for window content.

    WindowInsets.Builder

    Builder for WindowInsets.

    WindowInsets.Side

    Class that defines different sides for insets.

    WindowInsets.Type

    Class that defines different types of sources causing window insets.

    WindowInsetsAnimation

    Class representing an animation of a set of windows that cause insets.

    WindowInsetsAnimation.Bounds

    Class representing the range of an WindowInsetsAnimation

    WindowInsetsAnimation.Callback

    Interface that allows the application to listen to animation events for windows that cause insets.

    WindowInsetsAnimationController

    Controller for app-driven animation of system windows.

    WindowInsetsAnimationControlListener

    Listener that encapsulates a request to WindowInsetsController.controlWindowInsetsAnimation.

    WindowInsetsController

    Interface to control windows that generate insets.

    WindowInsetsController.OnControllableInsetsChangedListener

    Listener to be notified when the set of controllable WindowInsets.Type controlled by a WindowInsetsController changes.

    WindowInspector

    Provides access to window inspection information.

    WindowManager

    The interface that apps use to talk to the window manager.

    WindowManager.BadTokenException

    Exception that is thrown when trying to add view whose LayoutParams LayoutParams.token is invalid.

    WindowManager.InvalidDisplayException

    Exception that is thrown when calling addView to a secondary display that cannot be found.

    WindowManager.LayoutParams

    WindowMetrics

    Metrics about a Window, consisting of the bounds and WindowInsets.

    WordSegmentFinder

    Implementation of SegmentFinder using words as the text segment.

    WorkDuration

    WorkDuration contains the measured time in nano seconds of the workload in each component, see PerformanceHintManager.Session.reportActualWorkDuration(WorkDuration).

    WorkSource

    Describes the source of some work that may be done by someone else.

    WpsInfo

    A class representing Wi-Fi Protected Setup {@see android.

    WrappedKeyEntry

    An Entry that holds a wrapped key.

    Wrapper

    Interface for JDBC classes which provide the ability to retrieve the delegate instance when the instance in question is in fact a proxy class.

    WrapperListAdapter

    List adapter that wraps another list adapter.

    WrapTogetherSpan

    WritableByteChannel

    A channel that can write bytes.

    WritableIdentityCredential

    Class used to personalize a new identity credential.

    WriteAbortedException

    Signals that one of the ObjectStreamExceptions was thrown during a write operation.

    WritePendingException

    Unchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed.

    Writer

    Abstract class for writing to character streams.

    WrongMethodTypeException

    Thrown to indicate that code has attempted to call a method handle via the wrong method type.

    X

    X500Principal

    This class represents an X.

    X500PrivateCredential

    This class represents an X500PrivateCredential.

    X509Certificate

    Abstract class for X.

    X509Certificate

    Abstract class for X.

    X509CertSelector

    A CertSelector that selects X509Certificates that match all specified criteria.

    X509CRL

    Abstract class for an X.

    X509CRLEntry

    Abstract class for a revoked certificate in a CRL (Certificate Revocation List).

    X509CRLSelector

    A CRLSelector that selects X509CRLs that match all specified criteria.

    X509EncodedKeySpec

    This class represents the ASN.

    X509ExtendedKeyManager

    Abstract class that provides for extension of the X509KeyManager interface.

    X509ExtendedTrustManager

    Extensions to the X509TrustManager interface to support SSL/TLS connection sensitive trust management.

    X509Extension

    Interface for an X.

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

    Instances of this interface manage which X509 certificate-based key pairs are used to authenticate the local side of a secure socket.

    X509TrustManager

    Instance of this interface manage which X509 certificates may be used to authenticate the remote side of a secure socket.

    X509TrustManagerExtensions

    X509TrustManager wrapper exposing Android-added features.

    XdhKeySpec

    External Diffie–Hellman (XDH) key spec holding either a public or private key.

    XECKey

    An interface for an elliptic curve public/private key as defined by RFC 7748.

    XECPrivateKey

    An interface for an elliptic curve private key as defined by RFC 7748.

    XECPrivateKeySpec

    A class representing elliptic curve private keys as defined in RFC 7748, including the curve and other algorithm parameters.

    XECPublicKey

    An interface for an elliptic curve public key as defined by RFC 7748.

    XECPublicKeySpec

    A class representing elliptic curve public keys as defined in RFC 7748, including the curve and other algorithm parameters.

    Xfermode

    Xfermode is the base class for objects that are called to implement custom "transfer-modes" in the drawing pipeline.

    Xml

    XML utility methods.

    Xml.Encoding

    Supported character encodings.

    XMLConstants

    Utility class to contain basic XML values as constants.

    XMLFilter

    Interface for an XML filter.

    XMLFilterImpl

    Base class for deriving an XML filter.

    XMLFormatter

    Format a LogRecord into a standard XML format.

    XMLGregorianCalendar

    Representation for W3C XML Schema 1.

    XmlPullParser

    XML Pull Parser is an interface that defines parsing functionality provided in XMLPULL V1 API (visit this website to learn more about API and its implementations).

    XmlPullParserException

    This exception is thrown to signal XML Pull Parser related faults.

    XmlPullParserFactory

    This class is used to create implementations of XML Pull Parser defined in XMPULL V1 API.

    XMLReader

    Interface for reading an XML document using callbacks.

    XMLReaderAdapter

    Adapt a SAX2 XMLReader as a SAX1 Parser.

    XMLReaderFactory

    Factory for creating an XML reader.

    XmlResourceParser

    The XML parsing interface returned for an XML resource.

    XmlSerializer

    Define an interface to serialization of XML Infoset.

    XPath

    XPath provides access to the XPath evaluation environment and expressions.

    XPathConstants

    XPath constants.

    XPathException

    XPathException represents a generic XPath exception.

    XPathExpression

    XPathExpression provides access to compiled XPath expressions.

    XPathExpressionException

    XPathExpressionException represents an error in an XPath expression.

    XPathFactory

    An XPathFactory instance can be used to create javax.xml.xpath.XPath objects.

    XPathFactoryConfigurationException

    XPathFactoryConfigurationException represents a configuration error in a XPathFactory environment.

    XPathFunction

    XPathFunction provides access to XPath functions.

    XPathFunctionException

    XPathFunctionException represents an error with an XPath function.

    XPathFunctionResolver

    XPathFunctionResolver provides access to the set of user defined XPathFunctions.

    XPathVariableResolver

    XPathVariableResolver provides access to the set of user defined XPath variables.

    Y

    Year

    A year in the ISO-8601 calendar system, such as 2007.

    YearMonth

    A year-month in the ISO-8601 calendar system, such as 2007-12.

    YuvImage

    YuvImage contains YUV data and provides a method that compresses a region of the YUV data to a Jpeg.

    Z

    ZenDeviceEffects

    Represents the set of device effects (affecting display and device behavior in general) that are applied whenever an android.app.AutomaticZenRule is active.

    ZenDeviceEffects.Builder

    Builder class for ZenDeviceEffects objects.

    ZenPolicy

    ZenPolicy determines whether to allow certain notifications and their corresponding sounds to play when a device is in Do Not Disturb mode.

    ZenPolicy.Builder

    Builder class for ZenPolicy objects.

    ZipEntry

    This class is used to represent a ZIP file entry.

    ZipError

    Signals that an unrecoverable error has occurred.

    ZipException

    Signals that a Zip exception of some sort has occurred.

    ZipFile

    This class is used to read entries from a zip file.

    ZipInputStream

    This class implements an input stream filter for reading files in the ZIP file format.

    ZipOutputStream

    This class implements an output stream filter for writing files in the ZIP file format.

    ZipPathValidator

    Enables validation of zip file entry paths to prevent exploitation of the path traversal vulnerability, e.

    ZipPathValidator.Callback

    Interface that defines the core validation mechanism when accessing zip file entry paths.

    ZonedDateTime

    A date-time with a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00 Europe/Paris.

    ZoneId

    A time-zone ID, such as Europe/Paris

    ZoneOffset

    A time-zone offset from Greenwich/UTC, such as +02:00.

    ZoneOffsetTransition

    A transition between two offsets caused by a discontinuity in the local time-line.

    ZoneOffsetTransitionRule

    A rule expressing how to create a transition.

    ZoneOffsetTransitionRule.TimeDefinition

    A definition of the way a local time can be converted to the actual transition date-time.

    ZoneRules

    The rules defining how the zone offset varies for a single time-zone.

    ZoneRulesException

    Thrown to indicate a problem with time-zone configuration.

    ZoomButton This class was deprecated in API level 26. Use other means to handle this functionality. This widget is merely a simple wrapper around a long-press handler.
    ZoomButtonsController This class was deprecated in API level 26. This functionality and UI is better handled with custom views and layouts rather than a dedicated zoom-control widget
    ZoomButtonsController.OnZoomListener This interface was deprecated in API level 29. Deprecated in Java.
    ZoomControls This class was deprecated in API level 29. This functionality and UI is better handled with custom views and layouts rather than a dedicated zoom-control widget
    ZygotePreload

    This is the interface to be implemented for the class that is specified by the android:zygotePreloadName of the <application> tag.