{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Class Index

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

A  B  F  H  I  M  P  S  T  U  

A

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.

ApplicationLifecycleCallback

Callback for monitoring application lifecycle events.

ApplicationLifecycleMonitor

Interface for tests to use when they need to be informed of the application lifecycle state.

ApplicationLifecycleMonitorRegistry

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

ApplicationStage

An enumeration of the lifecycle stages an application undergoes that can be monitored.

B

Beta

This annotation is deprecated.

Use ExperimentalTestApi instead.

F

FileTestStorage

A class that reads/writes the runner data using the raw file system.

H

HardwareRendererCompat

Helper class that provides HardwareRenderer#isDrawingEnabled() and functionality on emulator platforms that backported this functionality from a future android API.

I

InjectEventSecurityException

An checked Exception indicating that event injection failed with a SecurityException.

InstrumentationRegistry

This class is deprecated.

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

InstrumentationRegistry

An exposed registry instance that holds a reference to the instrumentation running in the process and its arguments.

IntentCallback

Callback for monitoring Intents captured by android.app.Instrumentation.

IntentMonitor

Interface for tests to use when they need to monitor intents used to start activities from the current Instrumentation.

IntentMonitorRegistry

Exposes an implementation of IntentMonitor to users.

IntentStubber

Interface to intercept activity launch for a given android.content.Intent and stub ActivityResult its response.

IntentStubberRegistry

Exposes an implementation of IntentStubber.

InterceptingActivityFactory

Implement this interface to provide custom implementation of Activity under test.

M

MonitoringInstrumentation

An instrumentation that enables several advanced features and makes some hard guarantees about the state of the application under instrumentation.

MonitoringInstrumentation.ActivityFinisher

Loops through all the activities that have not yet finished and explicitly calls finish on them.

P

PlatformTestStorage

An interface represents on-device I/O operations in an Android test.

PlatformTestStorageRegistry

An exposed registry instance that holds a reference to an PlatformTestStorage instance.

S

Stage

An enumeration of the lifecycle stages an activity undergoes.

T

TestFrameworkException

Marker interface for identifying an exception as coming from a test framework.

U

UiController

Provides base-level UI operations (such as injection of MotionEvents) that can be used to build user actions such as clicks, scrolls, swipes, etc.