{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
These are all the API classes. See all API packages.
ActiveRootLister |
Provides access to all root views in an application. |
ActivityLifecycles |
Helper methods to understand ActivityLifecycle of the app. |
AdapterDataLoaderAction |
Forces an AdapterView to ensure that the data matching a provided data matcher is loaded into the current view hierarchy. |
AdapterViewProtocol |
A sadly necessary layer of indirection to interact with AdapterViews. |
AdapterViewProtocol.AdaptedData |
A holder that associates a data object from an AdapterView with a token the AdapterViewProtocol can use to force that data object to be rendered as a child or deeper descendant of the adapter view. |
AdapterViewProtocol.AdaptedData.Builder |
|
AdapterViewProtocol.DataFunction |
A custom function that is applied when |
AdapterViewProtocols |
Implementations of |
AmbiguousViewMatcherException |
An exception which indicates that a |
AmbiguousViewMatcherException.Builder |
Builder for |
AppNotIdleException |
An exception which indicates that the App has not become idle even after the specified duration. |
Bindable |
Interface that can be implemented by classes that provide an |
BoundedDiagnosingMatcher |
A matcher that allows for a quick creation of a matcher that applies to a given type but only processes items of a specific subtype of that matcher. |
BoundedMatcher |
Some matcher sugar that lets you create a matcher for a given type but only process items of a specific subtype of that matcher. |
CloseKeyboardAction |
Closes soft keyboard. |
ConstructorInvocation |
Reflectively invokes the constructor of a declared class. |
Converter |
Converts input to output. |
CoordinatesProvider |
Interface to implement calculation of Coordinates. |
CursorMatchers |
A collection of Hamcrest matchers that matches a data row in a |
CursorMatchers.CursorMatcher |
A |
DataInteraction |
An interface to interact with data displayed in AdapterViews. |
DataInteraction.DisplayDataMatcher |
Internal matcher that is required for |
Default |
Annotates a default provider. |
DefaultFailureHandler |
Espresso's default |
EditorAction |
Performs whatever editor (IME) action is available on a view. |
Espresso |
Entry point to the Espresso framework. |
EspressoException |
Used for identifying an exception as coming from the |
EspressoKey |
Class that wraps the key code and meta state of the desired key press. |
EspressoKey.Builder |
Builder for the EspressoKey class. |
EspressoOptional |
This class is a wrapper around |
EspressoRemote |
A singleton class that facilitates communication between other Espresso instance that may be running in different processes. |
EspressoRemoteMessage |
Transforms an Espresso remote message from and to a proto message. |
EspressoRemoteMessage.From |
Transforms a proto message of type M into a class of type T. |
EspressoRemoteMessage.To |
Transforms a class implementing this interface to a proto message. |
FailureHandler |
Handles failures that happen during test execution. |
FieldDescriptor |
Provides additional meta data about a |
GeneralClickAction |
Enables clicking on views. |
GeneralLocation |
Calculates coordinate position for general locations. |
GeneralSwipeAction |
Enables swiping across a view. |
GenericRemoteMessage |
Generic implementation of the |
HasBackgroundMatcher |
Matcher to match |
HumanReadables |
Text converters for various Android objects. |
IdlingPolicies |
Allows users fine grain control over idling policies. |
IdlingPolicy |
Allows users to control idling idleTimeouts in Espresso. |
IdlingResourceRegistry |
Keeps track of user-registered |
IdlingResourceTimeoutException |
Indicates that an |
IdlingUiController |
Similar to |
InjectEventSecurityException |
An checked |
InteractionRequest |
Encapsulates an InteractionRequestProto request. |
InteractionRequest.Builder |
Creates an instance of |
InteractionResponse |
Encapsulates a InteractionResultProto request. |
InteractionResponse.Builder |
Builder for |
InteractionResponse.RemoteError |
TODO(b/31122396): parse this from a proto Enum representing wire protocol error codes and their default description. |
InteractionResponse.Status |
The status of this interaction response. |
InterruptableUiController |
Similar to |
KeyEventAction |
Enables pressing KeyEvents on views. |
LayoutAssertions |
A collection of layout |
LayoutMatchers |
A collection of hamcrest matches to detect typical layout issues. |
MainThread |
Annotates an Executor that executes tasks on the main thread |
MotionEvents |
Facilitates sending of motion events to a |
MotionEvents.DownResultHolder |
Holds the result of a down motion. |
NoActivityResumedException |
An exception which indicates that there are no activities in stage RESUMED. |
NoMatchingRootException |
Indicates that a given matcher did not match any |
NoMatchingViewException |
Indicates that a given matcher did not match any elements in the view hierarchy. |
NoMatchingViewException.Builder |
Builder for |
NoRemoteEspressoInstanceException |
An |
NoopRemoteInteraction |
Noop RemoteInteraction object |
OpenLinkAction |
Invokes onClick of a link within a TextView (made with Linkify or via another method). |
PerformException |
Indicates that an exception occurred while performing a ViewAction on the UI thread. |
PerformException.Builder |
Builder for |
PlatformTestStorageModule |
Dagger module for creating |
PositionAssertions |
A collection of |
PrecisionDescriber |
Interface to implement size of click area. |
PreferenceMatchers |
A collection of hamcrest matchers that match |
Press |
Returns different touch target sizes. |
PressBackAction |
Performs an Android press back action |
ProtoUtils |
Contains various utility methods to ease use of protos and increased readability in code. |
RemoteDescriptor |
Descriptor object containing all the required information to serialize and deserialize a type to and from a proto. |
RemoteDescriptor.Builder |
Builder for |
RemoteDescriptorRegistry |
A registry for registering remote descriptors. |
RemoteEspressoException |
Espresso exception representing any runtime related errors in a multi-process environment |
RemoteInteraction |
Facilitates communication between other Espresso instance that may be running in different processes. |
RemoteInteractionRegistry |
An exposed registry instance to make it easy for callers to get a hold of Remote Interaction |
RemoteProtocolException |
Espresso exception representing any protocol related errors in a multi-process environment |
RepeatActionUntilViewState |
Enables performing a given action on a view until it reaches desired state matched by given View matcher. |
ReplaceTextAction |
Replaces view text by setting |
Root |
Represents a root view in the application and optionally the layout params of the window holding it. |
Root.Builder |
|
RootMatchers |
A collection of matchers for |
RootViewException |
An |
RootViewPicker |
Provides the root View of the top-most Window, with which the user can interact. |
RootViewPickerScope |
Scope for components that use |
ScrollToAction |
Enables scrolling to the given view. |
Swipe |
Executes different swipe types to given positions. |
Swiper |
Interface to implement different swipe types. |
Swiper.Status |
The result of the swipe. |
Tap |
Executes different click types to given position. |
Tapper |
Interface to implement different click types. |
Tapper.Status |
The result of the tap. |
TreeIterables |
Utility methods for iterating over tree structured items. |
TreeIterables.ViewAndDistance |
Represents the distance a given view is from the root view. |
TypeProtoConverters |
Converters from Any proto messages to their unwrapped target types. |
TypeTextAction |
Enables typing text on views. |
UiController |
Provides base-level UI operations (such as injection of |
ViewAction |
Responsible for performing an interaction on the given View element. |
ViewActions |
A collection of common |
ViewAssertion |
Responsible for performing assertions on a View element. |
ViewAssertions |
Collection of common |
ViewFinder |
Uses matchers to locate particular views within the view hierarchy. |
ViewFinderImpl |
Implementation of |
ViewInteraction |
Provides the primary interface for test authors to perform actions or asserts on views. |
ViewInteractionCapture |
|
ViewInteractionComponent |
Dagger component for view interaction classes. |
ViewMatchers |
A collection of hamcrest matchers that match |
ViewMatchers.Visibility |
Enumerates the possible list of values for |