RemoteInteraction
  public
  
  
  
  interface
  RemoteInteraction
  
  
  
| android.support.test.espresso.remote.RemoteInteraction | 
|  Known Indirect Subclasses | 
Facilitates communication between other Espresso instance that may be running in different processes.
Summary
| Constants | |
|---|---|
| String | BUNDLE_EXECUTION_STATUS
 | 
| Public methods | |
|---|---|
| 
        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. | 
| 
        abstract
        
        
        
        
        boolean | 
      isRemoteProcess()
       | 
Constants
Public methods
createRemoteCheckCallable
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.
| Parameters | |
|---|---|
| rootMatcher | Matcher: the root matcher to use. | 
| viewMatcher | Matcher: the view matcher to use. | 
| iBinders | Map: a list of binders to pass along to the remote process instance | 
| viewAssert | ViewAssertion: the assertion to check. | 
| Returns | |
|---|---|
| Callable<Void> | a Callablethat will perform the check pending completion of the task. | 
createRemotePerformCallable
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.
| Parameters | |
|---|---|
| rootMatcher | Matcher: the root matcher to use. | 
| viewMatcher | Matcher: the view matcher to use. | 
| iBinders | Map: a list of binders to pass along to the remote process instance | 
| viewActions | ViewAction: one or more actions to execute. | 
| Returns | |
|---|---|
| Callable<Void> | a Callablethat performs the action. | 
isRemoteProcess
boolean isRemoteProcess ()
| Returns | |
|---|---|
| boolean | trueif the current Espresso instance running in a remote process. | 
- Interfaces
- Classes- ConstructorInvocation
- EspressoRemote
- FieldDescriptor
- GenericRemoteMessage
- InteractionRequest
- InteractionRequest.Builder
- InteractionResponse
- InteractionResponse.Builder
- InteractionResponse.RemoteError
- NoopRemoteInteraction
- ProtoUtils
- RemoteDescriptor
- RemoteDescriptor.Builder
- RemoteDescriptorRegistry
- RemoteInteractionRegistry
- TypeProtoConverters
 
- Enums
- Exceptions
