{% 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

Boolean
MessageLite!

Public properties

InteractionResponse.RemoteError?
InteractionResponse.Status!

Public constructors

InteractionResponse

InteractionResponse()

Public functions

hasRemoteError

fun hasRemoteError(): Boolean
Returns
Boolean

true if a RemoteError has been set on this InteractionResponse

toProto

fun toProto(): MessageLite!

Public properties

remoteError

val remoteErrorInteractionResponse.RemoteError?

status

val statusInteractionResponse.Status!