{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

EspressoRemoteMessage.From

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

Summary

Public functions

T!
fromProto(message: M!)

Public functions

fromProto

fun fromProto(message: M!): T!