# EspressoRemoteMessage

# EspressoRemoteMessage

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/EspressoRemoteMessage.java+class:androidx.test.espresso.remote.EspressoRemoteMessage)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/test/espresso/remote/EspressoRemoteMessage "View this page in Java")

<br />

```
interface EspressoRemoteMessage
```

<br />

*** ** * ** ***

Transforms an Espresso remote message from and to a proto message. TODO: Once this API is stable document on how and when these IFs need to be implemented

## Summary

|                                                                                                    ### Nested types                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `interface `[EspressoRemoteMessage.From](https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/EspressoRemoteMessage.From)`<T, M>` Transforms a proto message of type M into a class of type T. |
| `interface `[EspressoRemoteMessage.To](https://developer.android.com/reference/kotlin/androidx/test/espresso/remote/EspressoRemoteMessage.To)`<M>` Transforms a class implementing this interface to a proto message.  |