# InteractionResponse.Status

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

*** ** * ** ***


```
public enum InteractionResponse.Status
```

<br />

*** ** * ** ***

The status of this interaction response. Can either be `https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.Status#Ok` or `https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.Status#Error`

## Summary

| ### Enum Values |
|---|---|
| `https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.Status#Error` |   |
| `https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.Status#Ok` |   |

| ### Public methods |
|---|---|
| `static https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.Status` | `https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.Status#valueOf(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` Returns the enum constant of this type with the specified name. |
| `static InteractionResponse.Status[]` | `https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.Status#values()()` Returns an array containing the constants of this enum type, in the order they're declared. |

## Enum Values

### Error

```
InteractionResponse.Status InteractionResponse.Status.Error
```

### Ok

```
InteractionResponse.Status InteractionResponse.Status.Ok
```

## Public methods

### valueOf

```
public static InteractionResponse.Status valueOf(String name)
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

| Returns |
|---|---|
| `https://developer.android.com/reference/androidx/test/espresso/remote/InteractionResponse.Status` | the enum constant with the specified name |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalArgumentException.html` | if this enum type has no constant with the specified name |

### values

```
public static InteractionResponse.Status[] values()
```

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

| Returns |
|---|---|
| `InteractionResponse.Status[]` | an array containing the constants of this enum type, in the order they're declared |