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

Class Index

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

A  D  G  P  S  U  

A

ActivityTestRule

This class is deprecated.

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

AtraceLogger

This class is deprecated.

unsupported.

D

DisableOnAndroidDebug

The DisableOnAndroidDebug Rule allows you to label certain rules to be disabled when debugging.

G

GrantPermissionRule

The GrantPermissionRule Rule allows granting of runtime permissions on Android M (API 23) and above.

P

ProviderTestRule

This class is deprecated.

relies on deprecated android.test.mock.

ProviderTestRule.Builder

This class is deprecated.

Consider using a real provider, or implementing a fake ContentProvider specific to your use case.

S

ServiceTestRule

A JUnit rule that provides a simplified mechanism to start and shutdown your service before and after the duration of your test.

U

UiThreadTest

Classes and methods annotated with this annotation will be executed on the application's UI thread (or main thread).

UiThreadTestRule

This class is deprecated.

use UiThreadTest directly without this rule.