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

Public methods

hasRemoteError

public boolean hasRemoteError ()

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

toProto

public MessageLite toProto ()

Returns
MessageLite