# NoopRemoteInteraction

Artifact: [androidx.test.espresso:espresso-core](https://developer.android.com/jetpack/androidx/releases/test-espresso) [View Source](https://cs.android.com/search?q=file:androidx/test/espresso/remote/NoopRemoteInteraction.java+class:androidx.test.espresso.remote.NoopRemoteInteraction)

*** ** * ** ***


```
public class NoopRemoteInteraction implements RemoteInteraction
```

<br />

*** ** * ** ***

Noop RemoteInteraction object

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/test/espresso/remote/NoopRemoteInteraction#NoopRemoteInteraction()()` |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/java/util/concurrent/Callable.html<https://developer.android.com/reference/java/lang/Void.html>` | `https://developer.android.com/reference/androidx/test/espresso/remote/NoopRemoteInteraction#createRemoteCheckCallable(org.hamcrest.Matcher<androidx.test.espresso.Root>,org.hamcrest.Matcher<android.view.View>,java.util.Map<java.lang.String,android.os.IBinder>,androidx.test.espresso.ViewAssertion)( https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/androidx/test/espresso/Root> rootMatcher, https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/android/view/View.html> viewMatcher, https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/android/os/IBinder.html> iBinders, https://developer.android.com/reference/androidx/test/espresso/ViewAssertion viewAssertion )` Creates a callable to run Espresso check interaction on remote processes |
| `https://developer.android.com/reference/java/util/concurrent/Callable.html<https://developer.android.com/reference/java/lang/Void.html>` | `https://developer.android.com/reference/androidx/test/espresso/remote/NoopRemoteInteraction#createRemotePerformCallable(org.hamcrest.Matcher<androidx.test.espresso.Root>,org.hamcrest.Matcher<android.view.View>,java.util.Map<java.lang.String,android.os.IBinder>,androidx.test.espresso.ViewAction...)( https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/androidx/test/espresso/Root> rootMatcher, https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/android/view/View.html> viewMatcher, https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/android/os/IBinder.html> iBinders, ViewAction[] viewActions )` Creates a callable to run Espresso perform interaction on remote processes |
| `boolean` | `https://developer.android.com/reference/androidx/test/espresso/remote/NoopRemoteInteraction#isRemoteProcess()()` Returns `true` if the current Espresso instance running in a remote process. |

| ### Inherited Constants |
|---|
| From [androidx.test.espresso.remote.RemoteInteraction](https://developer.android.com/reference/androidx/test/espresso/remote/RemoteInteraction) |---|---| | `static final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/test/espresso/remote/RemoteInteraction#BUNDLE_EXECUTION_STATUS() = "executionStatus"` | |

| ### Inherited methods |
|---|
| From [androidx.test.espresso.remote.RemoteInteraction](https://developer.android.com/reference/androidx/test/espresso/remote/RemoteInteraction) |---|---| | `boolean` | `https://developer.android.com/reference/androidx/test/espresso/remote/RemoteInteraction#isRemoteClient()()` Returns {code true} if the current Espresso instance is communicating with another Espresso instance in a remote process. | |

## Public constructors

### NoopRemoteInteraction

```
public NoopRemoteInteraction()
```

## Public methods

### createRemoteCheckCallable

```
public Callable<Void> createRemoteCheckCallable(
    Matcher<Root> rootMatcher,
    Matcher<View> viewMatcher,
    Map<String, IBinder> iBinders,
    ViewAssertion viewAssertion
)
```

Creates a callable to run Espresso check interaction on remote processes

| Parameters |
|---|---|
| `https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/androidx/test/espresso/Root> rootMatcher` | the root matcher to use. |
| `https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/android/view/View.html> viewMatcher` | the view matcher to use. |
| `https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/android/os/IBinder.html> iBinders` | a list of binders to pass along to the remote process instance |
| `https://developer.android.com/reference/androidx/test/espresso/ViewAssertion viewAssertion` | the view assertion to use. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/concurrent/Callable.html<https://developer.android.com/reference/java/lang/Void.html>` | the created Callable |

### createRemotePerformCallable

```
public Callable<Void> createRemotePerformCallable(
    Matcher<Root> rootMatcher,
    Matcher<View> viewMatcher,
    Map<String, IBinder> iBinders,
    ViewAction[] viewActions
)
```

Creates a callable to run Espresso perform interaction on remote processes

| Parameters |
|---|---|
| `https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/androidx/test/espresso/Root> rootMatcher` | the root matcher to use. |
| `https://junit.org/junit4/javadoc/latest/org/hamcrest/Matcher.html<https://developer.android.com/reference/android/view/View.html> viewMatcher` | the view matcher to use. |
| `https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/android/os/IBinder.html> iBinders` | a list of binders to pass along to the remote process instance |
| `ViewAction[] viewActions` | one or more actions to execute. |

| Returns |
|---|---|
| `https://developer.android.com/reference/java/util/concurrent/Callable.html<https://developer.android.com/reference/java/lang/Void.html>` |   |

### isRemoteProcess

```
public boolean isRemoteProcess()
```

Returns `true` if the current Espresso instance running in a remote process.