A2uiUserAction


public sealed interface A2uiUserAction

Known direct subclasses
A2uiEventAction

Defines an event action triggered by a user interaction to be sent to the server.

A2uiFunctionCallAction

Defines a local component function execution action triggered by a user interaction.


Defines an A2UI component user interaction.

Summary

Public methods

abstract @NonNull String

unique identifier of the component that was interacted with

abstract @NonNull String

unique identifier of the surface where the action occurred

abstract long

timestamp of when the action occurred, represented as milliseconds since the epoch

Public methods

getComponentId

Added in 1.0.0-alpha01
abstract @NonNull String getComponentId()

unique identifier of the component that was interacted with

getSurfaceId

Added in 1.0.0-alpha01
abstract @NonNull String getSurfaceId()

unique identifier of the surface where the action occurred

getTimestamp

Added in 1.0.0-alpha01
abstract long getTimestamp()

timestamp of when the action occurred, represented as milliseconds since the epoch