public final class EspressoDevice


Entry point for device centric operations

Summary

Public methods

static final @NonNull DeviceInteraction

Starts a {@link DeviceInteraction} fluent API call.

Public methods

onDevice

public static final @NonNull DeviceInteraction onDevice()

Starts a {@link DeviceInteraction} fluent API call. This method is used to invoke operations that are device-centric in scope. This method should not be called on the main thread.

Throws
kotlin.IllegalStateException

when being invoked on the main thread.