InteractionResponse

public final class InteractionResponse
extends Object implements To<MessageLite>

java.lang.Object
   ↳ androidx.test.espresso.remote.InteractionResponse


Encapsulates a UiInteraction.InteractionResultProto request. Takes care of all the proto packing and unpacking.

Summary

Nested classes

class InteractionResponse.Builder

Builder for InteractionResponse  

class InteractionResponse.RemoteError

TODO(b/31122396): parse this from a proto Enum representing wire protocol error codes and their default description. 

enum InteractionResponse.Status

The status of this interaction response. 

Public methods

InteractionResponse.RemoteError getRemoteError()
InteractionResponse.Status getStatus()
boolean hasRemoteError()
MessageLite toProto()

Inherited methods

From class java.lang.Object
From interface androidx.test.espresso.remote.EspressoRemoteMessage.To

Public methods

hasRemoteError

boolean hasRemoteError ()

Returns
boolean true if a InteractionResponse.RemoteError has been set on this InteractionResponse

toProto

MessageLite toProto ()

Returns
MessageLite