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

InteractionResponse

public final class InteractionResponse implements EspressoRemoteMessage.To


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

Summary

Nested types

InteractionResponse.Builder

Builder for InteractionResponse

InteractionResponse.RemoteError

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

InteractionResponse.Status

The status of this interaction response.

Public fields

final @Nullable InteractionResponse.RemoteError
final InteractionResponse.Status

Public constructors

Public methods

InteractionResponse.RemoteError
InteractionResponse.Status
boolean
MessageLite

Public fields

remoteError

public final @Nullable InteractionResponse.RemoteError remoteError

status

public final InteractionResponse.Status status

Public constructors

InteractionResponse

public final InteractionResponse()

Public methods

getRemoteError

public InteractionResponse.RemoteError getRemoteError()
Returns
InteractionResponse.RemoteError

the Error of this InteractionResponse

getStatus

public InteractionResponse.Status getStatus()
Returns
InteractionResponse.Status

the Status of this InteractionResponse

hasRemoteError

public boolean hasRemoteError()
Returns
boolean

true if a RemoteError has been set on this InteractionResponse

toProto

public MessageLite toProto()