{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
interface EspressoRemoteMessage.From<T, M>
Transforms a proto message of type M into a class of type T. M should either extend
| Parameters | |
|---|---|
<T> |
Type parameter T represent the return type of the transformation, typically a ViewMatcher, ViewAction or ViewAssertion. |
<M> |
Type parameter M should either extend com.google.protobuf.MessageLite or enum message |
Public methods |
|
|---|---|
abstract T |
fromProto(M message) |