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

InteractionResponse

class InteractionResponse : 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 constructors

Public functions

InteractionResponse.RemoteError!
InteractionResponse.Status!
Boolean
MessageLite!

Public constructors

InteractionResponse

InteractionResponse()

Public functions

getRemoteError

fun getRemoteError(): InteractionResponse.RemoteError!
Returns
InteractionResponse.RemoteError!

the Error of this InteractionResponse

getStatus

fun getStatus(): InteractionResponse.Status!
Returns
InteractionResponse.Status!

the Status of this InteractionResponse

hasRemoteError

fun hasRemoteError(): Boolean
Returns
Boolean

true if a RemoteError has been set on this InteractionResponse

toProto

fun toProto(): MessageLite!