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

InteractionRequest

class InteractionRequest : EspressoRemoteMessage.To


Encapsulates an InteractionRequestProto request. Takes care of all the proto packing and unpacking.

Summary

Nested types

InteractionRequest.Builder

Creates an instance of InteractionRequest from a View matcher and action.

Public constructors

Public functions

MessageLite!

Public properties

Matcher<Root!>?
ViewAction?
ViewAssertion?
Matcher<View!>?

Public constructors

InteractionRequest

InteractionRequest()

Public functions

toProto

fun toProto(): MessageLite!

Public properties

rootMatcher

val rootMatcherMatcher<Root!>?

viewAction

val viewActionViewAction?

viewAssertion

val viewAssertionViewAssertion?

viewMatcher

val viewMatcherMatcher<View!>?