{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
interface RemoteInteraction
EspressoRemote |
A singleton class that facilitates communication between other Espresso instance that may be running in different processes. |
NoopRemoteInteraction |
Noop RemoteInteraction object |
Facilitates communication between other Espresso instance that may be running in different processes.
Constants |
|
|---|---|
default static final String |
|
Public methods |
|
|---|---|
abstract Callable<Void> |
createRemoteCheckCallable(Creates a callable to run Espresso check interaction on remote processes |
abstract Callable<Void> |
createRemotePerformCallable(Creates a callable to run a perform interaction on remote processes. |
abstract boolean |
|
abstract Callable<Void> createRemoteCheckCallable(
Matcher<Root> rootMatcher,
Matcher<View> viewMatcher,
Map<String, IBinder> iBinders,
ViewAssertion viewAssert
)
Creates a callable to run Espresso check interaction on remote processes
The caller is expected to schedule the task to run.
abstract Callable<Void> createRemotePerformCallable(
Matcher<Root> rootMatcher,
Matcher<View> viewMatcher,
Map<String, IBinder> iBinders,
ViewAction[] viewActions
)
Creates a callable to run a perform interaction on remote processes.
If there no remote Espresso currently running in a timely manner the interaction will not be executed and a NoRemoteEspressoInstanceException will be thrown.
abstract boolean isRemoteProcess()
| Returns | |
|---|---|
boolean |
|