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  Z  

A

AacUtil

Utility methods for handling AAC audio streams.

AacUtil.AacAudioObjectType

Valid AAC Audio object types.

AacUtil.Config

Holds sample format information for AAC audio.

AbortError

During the create public key credential flow, this is thrown when an authenticator response exception contains an abort-err from the fido spec, indicating the operation was aborted.

AbsSavedState

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

AbstractConcatenatedTimeline

Abstract base class for the concatenation of one or more Timelines.

AbstractDetailsDescriptionPresenter

An abstract Presenter for rendering a detailed description of an item.

AbstractDetailsDescriptionPresenter.ViewHolder

The ViewHolder for the AbstractDetailsDescriptionPresenter.

AbstractFilter

Helper parent class for Filter that allows suites to run if any child matches.

AbstractListDetailFragment

A fragment supports adaptive two-pane layout.

AbstractMediaItemPresenter

Abstract Presenter class for rendering media items in a playlist format.

AbstractMediaItemPresenter.ViewHolder

The ViewHolder for the AbstractMediaItemPresenter.

AbstractMediaListHeaderPresenter

Abstract presenter class for rendering the header for a list of media items in a playlist.

AbstractMediaListHeaderPresenter.ViewHolder

The ViewHolder for the AbstractMediaListHeaderPresenter.

AbstractProgressFragment

The base class for Fragments that handle dynamic feature installation.

AbstractSandboxedUiAdapter

An abstract class that implements SandboxedUiAdapter while abstracting away methods that do not need to be implemented by a UI provider.

AbstractSandboxedUiAdapter.AbstractSession

An abstract class that implements SandboxedUiAdapter.Session so that a UI provider does not need to implement the entire interface.

AbstractSavedStateViewModelFactory

This class is deprecated. Use `viewModelFactory` or implement `ViewModelProvider.Factory`, combined with `CreationExtras.createSavedStateHandle()`.

Ac3Extractor

Extracts data from (E-)AC-3 bitstreams.

Ac3Reader

Parses a continuous (E-)AC-3 byte stream and extracts individual samples.

Ac3Util

Utility methods for parsing Dolby TrueHD and (E-)AC-3 syncframes.

Ac3Util.SyncFrameInfo

Holds sample format information as presented by a syncframe header.

Ac3Util.SyncFrameInfo.StreamType

AC3 stream types.

Ac4Extractor

Extracts data from AC-4 bitstreams.

Ac4Reader

Parses a continuous AC-4 byte stream and extracts individual samples.

Ac4Util

Utility methods for parsing AC-4 frames, which are access units in AC-4 bitstreams.

Ac4Util.SyncFrameInfo

Holds sample format information as presented by a syncframe header.

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

Accelerometer

Information about car specific accelerometers available from the car hardware.

AccessibilityChecks

A class to enable automated accessibility checks in Espresso tests.

AccessibilityChecks

This class is deprecated.

use androidx.test.espresso.accessibility.AccessibilityChecks instead.

AccessibilityClickableSpanCompat

ClickableSpan cannot be parceled, but accessibility services need to be able to cause their callback handlers to be called.

AccessibilityDelegateCompat

Helper for accessing AccessibilityDelegate.

AccessibilityEventCompat

Helper for accessing features in AccessibilityEvent.

AccessibilityManagerCompat

Helper for accessing features in AccessibilityManager.

AccessibilityManagerCompat.AccessibilityStateChangeListener

This interface is deprecated.

Use AccessibilityManager.AccessibilityStateChangeListener directly instead of this listener.

AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat

This class is deprecated.

Use AccessibilityManager.AccessibilityStateChangeListener directly instead of this listener.

AccessibilityManagerCompat.TouchExplorationStateChangeListener

Listener for the system touch exploration state.

AccessibilityNodeInfoCompat

Helper for accessing android.view.accessibility.AccessibilityNodeInfo in a backwards compatible fashion.

AccessibilityNodeInfoCompat.AccessibilityActionCompat

A class defining an action that can be performed on an AccessibilityNodeInfo.

AccessibilityNodeInfoCompat.CollectionInfoCompat

Class with information if a node is a collection.

AccessibilityNodeInfoCompat.CollectionInfoCompat.Builder

Class for building CollectionInfoCompat objects.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat

Class with information if a node is a collection item.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Builder for creating CollectionItemInfoCompat objects.

AccessibilityNodeInfoCompat.RangeInfoCompat

Class with information if a node is a range.

AccessibilityNodeInfoCompat.TouchDelegateInfoCompat

Class with information of touch delegated views and regions.

AccessibilityNodeProviderCompat

Helper for accessing android.view.accessibility.AccessibilityNodeProvider.

AccessibilityRecordCompat

Helper for accessing AccessibilityRecord.

AccessibilityServiceInfoCompat

Helper for accessing features in AccessibilityServiceInfo.

AccessibilityViewCommand

Functional interface used to create a custom accessibility action.

AccessibilityViewCommand.CommandArguments

Object containing arguments passed into an AccessibilityViewCommand

AccessibilityViewCommand.MoveAtGranularityArguments

Arguments for #ACTION_NEXT_AT_MOVEMENT_GRANULARITY and #ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY

AccessibilityViewCommand.MoveHtmlArguments

Arguments for ACTION_NEXT_HTML_ELEMENT and #ACTION_PREVIOUS_HTML_ELEMENT

AccessibilityViewCommand.MoveWindowArguments

Arguments for #ACTION_MOVE_WINDOW

AccessibilityViewCommand.ScrollToPositionArguments

Arguments for #ACTION_SCROLL_TO_POSITION

AccessibilityViewCommand.SetProgressArguments

Arguments for #ACTION_SET_PROGRESS

AccessibilityViewCommand.SetSelectionArguments

Arguments for #ACTION_SET_SELECTION

AccessibilityViewCommand.SetTextArguments

Arguments for ACTION_SET_TEXT

AccessibilityWindowInfoCompat

Helper for accessing android.view.accessibility.AccessibilityWindowInfo.

Action

Represents an action with an optional icon and text.

Action

An actionable entry that is returned as part of the android.service.credentials.BeginGetCredentialResponse, and then shown on the user selector under a separate category of 'Actions'.

Action

An action contains one or two lines of text, an optional image and an optional id.

Action

Base class for actions to perform during playback tests.

Action.AddMediaItems

Calls addMediaSources.

Action.Builder

A builder of Action.

Action.Builder

A builder for Action

Action.ClearMediaItems

Calls clearMediaItems}.

Action.ClearVideoSurface

Calls clearVideoSurface.

Action.ExecuteRunnable

Calls Runnable.run().

Action.MoveMediaItem

Calls moveMediaItem.

Action.PlayUntilPosition

Schedules a play action to be executed, waits until the player reaches the specified position, and pauses the player again.

Action.Prepare

Calls prepare.

Action.RemoveMediaItem

Calls removeMediaItem.

Action.RemoveMediaItems

Calls removeMediaItems.

Action.Seek

Calls seekTo or seekTo.

Action.SendMessages

Calls createMessage and send.

Action.SetAudioAttributes

Calls setAudioAttributes.

Action.SetMediaItems

Calls setMediaSources.

Action.SetMediaItemsResetPosition

Calls setMediaSources.

Action.SetPlayWhenReady

Calls setPlayWhenReady.

Action.SetPlaybackParameters

Calls setPlaybackParameters.

Action.SetRendererDisabled

Updates the Parameters of a DefaultTrackSelector to specify whether the renderer at a given index should be disabled.

Action.SetRepeatMode

Calls setRepeatMode.

Action.SetShuffleModeEnabled

Calls setShuffleModeEnabled.

Action.SetShuffleOrder

Calls setShuffleOrder .

Action.SetVideoSurface

Calls setVideoSurface.

Action.Stop

Calls stop.

Action.ThrowPlaybackException

Throws a playback exception on the playback thread.

Action.WaitForIsLoading

Waits for a specified loading state, returning either immediately or after a call to onIsLoadingChanged.

Action.WaitForMessage

Waits for a player message to arrive.

Action.WaitForPendingPlayerCommands

Waits until the player acknowledged all pending player commands.

Action.WaitForPlayWhenReady

Waits for a specified playWhenReady value, returning either immediately or after a call to onPlayWhenReadyChanged.

Action.WaitForPlaybackState

Waits for a specified playback state, returning either immediately or after a call to onPlaybackStateChanged.

Action.WaitForPositionDiscontinuity

Waits for onPositionDiscontinuity.

Action.WaitForTimelineChanged

Waits for onTimelineChanged.

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

Action bar navigation modes are deprecated and not supported by inline toolbar action bars.

ActionBar.Tab

This class is deprecated.

Action bar navigation modes are deprecated and not supported by inline toolbar action bars.

ActionBar.TabListener

This interface is deprecated.

Action bar navigation modes are deprecated and not supported by inline toolbar action bars.

ActionBarDrawerToggle

This class provides a handy way to tie together the functionality of DrawerLayout and the framework ActionBar to implement the recommended design for navigation drawers.

ActionBarDrawerToggle.Delegate
ActionBarDrawerToggle.DelegateProvider

Allows an implementing Activity to return an ActionBarDrawerToggle.Delegate to use with ActionBarDrawerToggle.

ActionBuilders

Builders for actions that can be performed when a user interacts with layout elements.

ActionBuilders

This class is deprecated.

Use androidx.wear.protolayout.ActionBuilders instead.

ActionBuilders.Action

Interface defining an action that can be used by a layout element.

ActionBuilders.Action

Interface defining an action that can be used by a layout element.

ActionBuilders.Action.Builder

Builder to create Action objects.

ActionBuilders.AndroidActivity

A launch action to send an intent to an Android activity.

ActionBuilders.AndroidActivity

A launch action to send an intent to an Android activity.

ActionBuilders.AndroidActivity.Builder

Builder for AndroidActivity

ActionBuilders.AndroidActivity.Builder

Builder for AndroidActivity

ActionBuilders.AndroidBooleanExtra

A boolean value that can be added to an Android intent's extras.

ActionBuilders.AndroidBooleanExtra

A boolean value that can be added to an Android intent's extras.

ActionBuilders.AndroidBooleanExtra.Builder

Builder for AndroidBooleanExtra.

ActionBuilders.AndroidBooleanExtra.Builder

Builder for AndroidBooleanExtra.

ActionBuilders.AndroidDoubleExtra

A double value that can be added to an Android intent's extras.

ActionBuilders.AndroidDoubleExtra

A double value that can be added to an Android intent's extras.

ActionBuilders.AndroidDoubleExtra.Builder

Builder for AndroidDoubleExtra.

ActionBuilders.AndroidDoubleExtra.Builder

Builder for AndroidDoubleExtra.

ActionBuilders.AndroidExtra

Interface defining an item that can be included in the extras of an intent that will be sent to an Android activity.

ActionBuilders.AndroidExtra

Interface defining an item that can be included in the extras of an intent that will be sent to an Android activity.

ActionBuilders.AndroidExtra.Builder

Builder to create AndroidExtra objects.

ActionBuilders.AndroidIntExtra

An integer value that can be added to an Android intent's extras.

ActionBuilders.AndroidIntExtra

An integer value that can be added to an Android intent's extras.

ActionBuilders.AndroidIntExtra.Builder

Builder for AndroidIntExtra.

ActionBuilders.AndroidIntExtra.Builder

Builder for AndroidIntExtra.

ActionBuilders.AndroidLongExtra

A long value that can be added to an Android intent's extras.

ActionBuilders.AndroidLongExtra

A long value that can be added to an Android intent's extras.

ActionBuilders.AndroidLongExtra.Builder

Builder for AndroidLongExtra.

ActionBuilders.AndroidLongExtra.Builder

Builder for AndroidLongExtra.

ActionBuilders.AndroidStringExtra

A string value that can be added to an Android intent's extras.

ActionBuilders.AndroidStringExtra

A string value that can be added to an Android intent's extras.

ActionBuilders.AndroidStringExtra.Builder

Builder for AndroidStringExtra.

ActionBuilders.AndroidStringExtra.Builder

Builder for AndroidStringExtra.

ActionBuilders.LaunchAction

An action used to launch another activity on the system.

ActionBuilders.LaunchAction

An action used to launch another activity on the system.

ActionBuilders.LaunchAction.Builder

Builder for LaunchAction.

ActionBuilders.LaunchAction.Builder

Builder for LaunchAction.

ActionBuilders.LoadAction

An action used to load (or reload) the layout contents.

ActionBuilders.LoadAction

An action used to load (or reload) the tile contents.

ActionBuilders.LoadAction.Builder

Builder for LoadAction.

ActionBuilders.LoadAction.Builder

Builder for LoadAction.

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.

ActionOnlyNavDirections

An implementation of NavDirections without any arguments.

ActionProvider

This class is a mediator for accomplishing a given task, for example sharing a file.

ActionProvider.VisibilityListener

Listens to changes in visibility as reported by refreshVisibility.

ActionSchedule

Schedules a sequence of Actions for execution during a test.

ActionSchedule.Builder

A builder for ActionSchedule instances.

ActionSchedule.Callback

Callback to notify listener that the action schedule has finished.

ActionSchedule.PlayerRunnable

Provides a wrapper for a Runnable which has access to the player.

ActionSchedule.PlayerTarget

Provides a wrapper for a Target which has access to the player when handling messages.

ActionSchedule.PlayerTarget.Callback

Callback to be called when message arrives.

ActionStrip

Represents a list of Actions that are used for a template.

ActionStrip.Builder

A builder of ActionStrip.

ActiveCaloriesBurnedRecord

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

ActiveRootLister

Provides access to all root views in an application.

ActiveTileIdentifier

Tile information containing the tile instance ID and component name for identifying a tile instance.

ActivityCompat

Helper for accessing features in android.app.Activity.

ActivityCompat.OnRequestPermissionsResultCallback

This interface is the contract for receiving the results for permission requests.

ActivityCompat.PermissionCompatDelegate

Customizable delegate that allows delegating permission compatibility methods to a custom implementation.

ActivityEmbeddingController

The controller that allows checking the current Activity embedding status.

ActivityEmbeddingControllerCallbackAdapter

An adapted interface for ActivityEmbeddingController that provides callback shaped APIs to report the latest EmbeddedActivityWindowInfo.

ActivityEmbeddingOptions
ActivityEmbeddingRule

A TestRule that will stub out the behavior of ActivityEmbeddingController and RuleController with a more simple one that will support testing independent of the current platform.

ActivityFilter

Filter for ActivityRule and SplitPlaceholderRule that checks for component name match when a new activity is started.

ActivityHolder

A holder for the Activity created for SDK.

ActivityInfoCompat

This class is deprecated.

Use android.content.pm.ActivityInfo directly.

ActivityKt
ActivityKt
ActivityLifecycleCallback

Callback for monitoring activity lifecycle events.

ActivityLifecycleMonitor

Interface for tests to use when they need to query the activity lifecycle state.

ActivityLifecycleMonitorRegistry

An exposed registry instance to make it easy for callers to find the lifecycle monitor for their application.

ActivityLifecycles

Helper methods to understand ActivityLifecycle of the app.

ActivityManagerCompat

Helper for accessing features in android.app.ActivityManager in a backwards compatible fashion.

ActivityNavArgsLazyKt
ActivityNavigator

ActivityNavigator implements cross-activity navigation.

ActivityNavigator.Destination

NavDestination for activity navigation

ActivityNavigator.Extras

Extras that can be passed to ActivityNavigator to customize what ActivityOptionsCompat and flags are passed through to the call to ActivityCompat.startActivity.

ActivityNavigator.Extras.Builder

Builder for constructing new Extras instances.

ActivityNavigatorDestinationBuilder

DSL for constructing a new ActivityNavigator.Destination

ActivityNavigatorDestinationBuilderKt
ActivityNavigatorExtrasKt
ActivityOptionsCompat

Helper for accessing features in android.app.ActivityOptions in a backwards compatible fashion.

ActivityPanelEntity

ActivityPanelEntity creates a spatial panel for embedding an Activity in Android XR.

ActivityPose

Interface for a ActivityPose.

ActivityResult

A container for an activity result as obtained from Activity.onActivityResult

ActivityResultCallback

A type-safe callback to be called when an activity result is available.

ActivityResultCaller

A class that can call Activity.startActivityForResult-style APIs without having to manage request codes, and converting request/response to an Intent

ActivityResultCallerKt
ActivityResultContract

A contract specifying that an activity can be called with an input of type I and produce an output of type O.

ActivityResultContract.SynchronousResult

The wrapper for a result provided in getSynchronousResult.

ActivityResultContracts

A collection of some standard activity call contracts, as provided by android.

ActivityResultContracts.CaptureVideo

An ActivityResultContract to take a video saving it into the provided content-Uri.

ActivityResultContracts.CreateDocument

An ActivityResultContract to prompt the user to select a path for creating a new document of the given mimeType, returning the content: Uri of the item that was created.

ActivityResultContracts.GetContent

An ActivityResultContract to prompt the user to pick a piece of content, receiving a content:// Uri for that content that allows you to use android.content.ContentResolver.openInputStream to access the raw data.

ActivityResultContracts.GetMultipleContents

An ActivityResultContract to prompt the user to pick one or more a pieces of content, receiving a content:// Uri for each piece of content that allows you to use android.content.ContentResolver.openInputStream to access the raw data.

ActivityResultContracts.OpenDocument

An ActivityResultContract to prompt the user to open a document, receiving its contents as a file:/http:/content: Uri.

ActivityResultContracts.OpenDocumentTree

An ActivityResultContract to prompt the user to select a directory, returning the user selection as a Uri.

ActivityResultContracts.OpenMultipleDocuments

An ActivityResultContract to prompt the user to open (possibly multiple) documents, receiving their contents as file:/http:/content: Uris.

ActivityResultContracts.PickContact

An ActivityResultContract to request the user to pick a contact from the contacts app.

ActivityResultContracts.PickMultipleVisualMedia

An ActivityResultContract to use the Photo Picker to select multiple images, videos, or other types of visual media.

ActivityResultContracts.PickVisualMedia

An ActivityResultContract to use the Photo Picker to select a single image, video, or other type of visual media.

ActivityResultContracts.PickVisualMedia.DefaultTab

Represents filter input type accepted by the photo picker.

ActivityResultContracts.PickVisualMedia.DefaultTab.AlbumsTab

DefaultTab object used to open the picker in Albums tab.

ActivityResultContracts.PickVisualMedia.DefaultTab.PhotosTab

DefaultTab object used to open the picker in Photos tab (also the default if no value is provided).

ActivityResultContracts.PickVisualMedia.ImageAndVideo

VisualMediaType object used to filter images and video when using the photo picker.

ActivityResultContracts.PickVisualMedia.ImageOnly

VisualMediaType object used to filter images only when using the photo picker.

ActivityResultContracts.PickVisualMedia.MediaCapabilities

Represents the media capabilities of an application.

ActivityResultContracts.PickVisualMedia.MediaCapabilities.Builder

A builder for constructing MediaCapabilities instances.

ActivityResultContracts.PickVisualMedia.SingleMimeType

VisualMediaType class used to filter a single mime type only when using the photo picker.

ActivityResultContracts.PickVisualMedia.VideoOnly

VisualMediaType object used to filter video only when using the photo picker.

ActivityResultContracts.PickVisualMedia.VisualMediaType

Represents filter input type accepted by the photo picker.

ActivityResultContracts.RequestMultiplePermissions

An ActivityResultContract to request permissions

ActivityResultContracts.RequestPermission

An ActivityResultContract to request a permission

ActivityResultContracts.StartActivityForResult

An ActivityResultContract that doesn't do any type conversion, taking raw Intent as an input and ActivityResult as an output.

ActivityResultContracts.StartIntentSenderForResult

An ActivityResultContract that calls Activity.startIntentSender.

ActivityResultContracts.TakePicture

An ActivityResultContract to take a picture saving it into the provided content-Uri.

ActivityResultContracts.TakePicturePreview

An ActivityResultContract to take small a picture preview, returning it as a Bitmap.

ActivityResultContracts.TakeVideo

This class is deprecated. The thumbnail bitmap is rarely returned and is not a good signal to determine whether the video was actually successfully captured.

ActivityResultFunction

Function that returns an ActivityResult, to be called by getActivityResultFunctionForIntent.

ActivityResultKt
ActivityResultLauncher

A launcher for a previously-prepared call to start the process of executing an ActivityResultContract that takes an I as its required input.

ActivityResultLauncherKt
ActivityResultMatchers

Hamcrest matchers for a ActivityResult.

ActivityResultRegistry

A registry that stores activity result callbacks for registered calls.

ActivityResultRegistryOwner

A class that has an ActivityResultRegistry that allows you to register a ActivityResultCallback for handling an androidx.activity.result.contract.ActivityResultContract.

ActivityRule

Layout configuration rules for individual activities with split layouts.

ActivityRule.Builder

Builder for ActivityRule.

ActivityScenario

ActivityScenario provides APIs to start and drive an Activity's lifecycle state for testing.

ActivityScenario.ActivityAction

ActivityAction interface should be implemented by any class whose instances are intended to be executed by the main thread.

ActivityScenarioKt
ActivityScenarioRule

ActivityScenarioRule launches a given activity before the test starts and closes after the test.

ActivityScenarioRuleKt
ActivitySpace

ActivitySpace is an Entity used to track the system-managed pose and boundary of the volume associated with this Spatialized Activity.

ActivityStack

A container that holds a stack of activities, overlapping and bound to the same rectangle on the screen.

ActivityTestRule

This class is deprecated.

use androidx.test.core.app.ActivityScenario or instead.

ActivityViewModelLazyKt
AdData

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

AdFilters

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

AdId

A unique, user-resettable, device-wide, per-profile ID for advertising as returned by the AdIdManager#getAdId() API.

AdIdManager

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

AdIdManagerFutures

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

AdOverlayInfo

Provides information about an overlay view shown on top of an ad view group.

AdOverlayInfo.Builder

A builder for AdOverlayInfo instances.

AdOverlayInfo.Purpose

The purpose of the overlay.

AdPlaybackState

Represents ad group times and information on the state and URIs of ads within each ad group.

AdPlaybackState.AdGroup

Represents a group of ads, with information about their states.

AdPlaybackState.AdState

Represents the state of an ad in an ad group.

AdSelectionConfig

Contains the configuration of the ad selection process.

AdSelectionFromOutcomesConfig

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

AdSelectionManager

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

AdSelectionManagerFutures

This class provides APIs to select ads and report impressions.

AdSelectionOutcome

This class represents the output of the AdSelectionManager#selectAds in the AdSelectionManager.

AdSelectionSignals

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

AdTechIdentifier

An Identifier representing an ad buyer or seller.

AdViewProvider

Provides information about views for the ad playback UI.

AdaptationSet

Represents a set of interchangeable encoded versions of a media content component.

AdapterListUpdateCallback

ListUpdateCallback that dispatches update events to the given adapter.

AdaptiveTrackSelection

A bandwidth based adaptive ExoTrackSelection, whose selected track is updated to be the one of highest quality given the current network conditions and the state of the buffer.

AdaptiveTrackSelection.AdaptationCheckpoint

Checkpoint to determine allocated bandwidth.

AdaptiveTrackSelection.Factory

Factory for AdaptiveTrackSelection instances.

AdditionalFailureInfo

A JUnit Rule that attaches additional info to any errors/exceptions thrown by the test.

AdjacentItems

Represents a pair of adjacent items, null values are used to signal boundary conditions.

AdsLoader

Interface for loaders of ads, which can be used with AdsMediaSource.

AdsLoader.EventListener

Listener for ads loader events.

AdsLoader.Provider

Provides AdsLoader instances for media items that have ad tag URIs.

AdsMediaSource

A MediaSource that inserts ads linearly into a provided content media source.

AdsMediaSource.AdLoadException

Wrapper for exceptions that occur while loading ads, which are notified via onLoadError.

AdsMediaSource.AdLoadException.Type

Types of ad load exceptions.

AdtsExtractor

Extracts data from AAC bit streams with ADTS framing.

AdtsExtractor.Flags

Flags controlling the behavior of the extractor.

AdtsReader

Parses a continuous ADTS byte stream and extracts individual frames.

AdvertiseException
AdvertiseParams

A class to provide a way to adjust advertising preferences and advertise data packet.

AdvertisingIdClient

This class is deprecated.

Use the Advertising ID API that's available as part of Google Play Services instead of this library.

AdvertisingIdInfo

This class is deprecated.

Use the Advertising ID API that's available as part of Google Play Services instead of this library.

AdvertisingIdNotAvailableException

This class is deprecated.

Use the Advertising ID API that's available as part of Google Play Services instead of this library.

AdvertisingIdProvider

This interface is deprecated.

Use the Advertising ID API that's available as part of Google Play Services instead of this library.

AdvertisingIdProviderInfo

This class is deprecated.

Use the Advertising ID API that's available as part of Google Play Services instead of this library.

AdvertisingIdProviderManager

This class is deprecated.

Use the Advertising ID API that's available as part of Google Play Services instead of this library.

AesCipherDataSink

A wrapping DataSink that encrypts the data being consumed.

AesCipherDataSource

A DataSource that decrypts the data read from an upstream source.

AesFlushingCipher

A flushing variant of a AES/CTR/NoPadding Cipher.

AffineTransform

An affine transformation in the plane.

AggregateDataType

DataType that represents aggregated data.

AggregateGroupByDurationRequest

Request object to read time bucketed aggregations for given AggregateMetrics in Android Health Platform.

AggregateGroupByPeriodRequest

Request object to read time bucketed aggregations for given AggregateMetrics in Android Health Platform.

AggregateMetric

Identifier to supported metrics for aggregation.

AggregateRequest

Request object to read aggregations for given AggregateMetrics in Android Health Platform.

AggregationResult

Contains results of requested AggregateMetric.

AggregationResultGroupedByDuration

Contains an aggregation result within a duration slice.

AggregationResultGroupedByPeriod

Contains an aggregation result within a period slice.

AggregationTestUtils
Alarm

AppSearch document representing an Alarm entity.

Alarm.Builder

Builder for Alarm.

AlarmInstance

AppSearch document representing an AlarmInstance entity.

AlarmInstance.Builder

Builder for AlarmInstance.

AlarmManagerCompat

Compatibility library for AlarmManager with fallbacks for older platforms.

Alert

Represents an alert with an optional icon, subtitle and actions.

Alert.Builder

A builder of Alert.

AlertCallback

A listener of dismiss events.

AlertCallbackDelegate

A host-side interface for reporting cancel events to clients.

AlertDialog

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

AlertDialog.Builder
AlignHorizontallyReference
AlignVerticallyReference
Allocation

An allocation within a byte array.

Allocator

A source of allocations.

Allocator.AllocationNode

A node in a chain of Allocations.

AlphaScale

Scales the alpha value (i.e. the translucency) of a frame.

AltitudeConverterCompat

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

AmbientLifecycleObserver

Interface for LifecycleObservers which are used to add ambient mode support to activities on Wearable devices.

AmbientLifecycleObserver.AmbientDetails

Details about ambient mode support on the current device, passed to AmbientLifecycleCallback.onEnterAmbient.

AmbientLifecycleObserver.AmbientLifecycleCallback

Callback to receive ambient mode state changes.

AmbientLifecycleObserverKt
AmbientMode

This class is deprecated.

Use AmbientLifecycleObserver instead.

AmbientMode.AmbientCallback

Callback to receive ambient mode state changes.

AmbientMode.AmbientCallbackProvider

Interface for any Activity that wishes to implement Ambient Mode.

AmbientMode.AmbientController

A class for interacting with the ambient mode on a wearable device.

AmbientModeSupport

This class is deprecated.

Use AmbientLifecycleObserver instead.

AmbientModeSupport.AmbientCallback

Callback to receive ambient mode state changes.

AmbientModeSupport.AmbientCallbackProvider

Interface for any Activity that wishes to implement Ambient Mode.

AmbientModeSupport.AmbientController

A class for interacting with the ambient mode on a wearable device.

AmbiguousViewMatcherException

An exception which indicates that a Matcher<View> matched multiple views in the hierarchy when only one view was expected.

AmbiguousViewMatcherException.Builder

Builder for AmbiguousViewMatcherException.

AmrExtractor

Extracts data from the AMR containers format (either AMR or AMR-WB).

AmrExtractor.Flags

Flags controlling the behavior of the extractor.

AnalyticsCallback

Callback from (Bundle, IAnalyticsCallback).

AnalyticsCollector

Interface for data collectors that forward analytics events to AnalyticsListeners.

AnalyticsEvent

Base class for Analytics events.

AnalyticsListener

A listener for analytics events.

AnalyticsListener.EventFlags

Events that can be reported via onEvents.

AnalyticsListener.EventTime

Time information of an event.

AnalyticsListener.Events

A set of EventFlags.

Anchor

An anchor describes a fixed location and orientation in the real world.

Anchor.State

The representation of the current state of an Anchor.

AnchorCreateResourcesExhausted

Result of an unsuccessful Anchor.create call.

AnchorCreateResult

Result of a Anchor.create call.

AnchorCreateSuccess

Result of a successful Anchor.create call.

AnchorEntity

An AnchorEntity is created to track a Pose relative to some position or surface in the "Real World." Children of this Entity will remain positioned relative to that location in the real world, for the purposes of creating Augmented Reality experiences.

AnchorEntity.PersistState

Specifies the current persist state of the Anchor.

AnchorEntity.State
AnchorHolder

Object that holds Anchor instances.

AnchorPlacement

Creates an AnchorPlacement for a MovableComponent.

AnchorState

Represents the current state of an Anchor instance's mutable fields.

AndNode

Node that represents logical AND of nodes.

AndroidBenchmarkRunner

Instrumentation runner for benchmarks, used to increase stability of measurements and minimize interference.

AndroidClasspathSuite

Test suite that finds all JUnit3 and JUnit4 test classes in the instrumentation context apk.

AndroidJUnit4

A JUnit4 runner for Android tests.

AndroidJUnit4

This class is deprecated.

use androidx.test.ext.junit.runners.AndroidJUnit4 instead.

AndroidJUnitRunner

An Instrumentation that runs JUnit3 and JUnit4 tests against an Android package (application).

AndroidSQLiteDriver

A SQLiteDriver implemented by android.database and that uses the Android's SDK SQLite APIs.

AndroidViewModel

Application context aware ViewModel.

AndroidViewModelKt
AndroidXConsumerKt
Angle

A utility for working with a signed angle.

AngleDegreesFloat

A signed angle in degrees.

AngleRadiansFloat

A signed angle in radians.

AnimBuilder

DSL for setting custom Animation or Animator resources on a NavOptionsBuilder

AnimRes

Denotes that an integer parameter, field or method return value is expected to be an anim resource reference (e.g. android.R.anim.fade_in).

Animatable

A helper interface allowing MotionLayout to directly drive custom views

Animatable2Compat

Interface that drawables supporting animations and callbacks should extend in support lib.

Animatable2Compat.AnimationCallback

Abstract class for animation callback.

AnimatedStateListDrawableCompat

A Drawable providing animated transitions between states.

AnimatedVectorDrawableCompat

For API 24 and above, this class is delegating to the framework's .

AnimationHandler

This custom handler handles the timing pulse that is shared by all active ValueAnimators.

AnimationParameterBuilders

Builders for parameters that can be used to customize an animation.

AnimationParameterBuilders.AnimationParameters

Animation specs of duration, easing and repeat delay.

AnimationParameterBuilders.AnimationParameters.Builder

Builder for AnimationParameters

AnimationParameterBuilders.AnimationSpec

Animation parameters that can be added to any animatable node.

AnimationParameterBuilders.AnimationSpec.Builder

Builder for AnimationSpec