class EspressoDevice


Entry point for device centric operations

Summary

Public companion functions

DeviceInteraction

Starts a {@link DeviceInteraction} fluent API call.

Public companion functions

onDevice

fun onDevice(): DeviceInteraction

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.