A2uiClientEventMessage


class A2uiClientEventMessage : A2uiClientToServerMessage


Represents a client event message to be sent to the server.

Summary

Public constructors

A2uiClientEventMessage(
    type: String,
    surfaceId: String,
    componentId: String,
    timestamp: Long,
    context: Map<StringAny?>,
    clientDataModel: A2uiClientDataModel?
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

A2uiClientDataModel?

An optional snapshot of active client data models to be synchronized with the server alongside this event.

String

The unique identifier of the component that was interacted with.

Map<StringAny?>

A map containing custom properties and metadata associated with this action.

String

The unique identifier of the surface where the action occurred.

Long

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

String

The type of the action performed (e.g., "click", "swipe").

Public constructors

A2uiClientEventMessage

A2uiClientEventMessage(
    type: String,
    surfaceId: String,
    componentId: String,
    timestamp: Long,
    context: Map<StringAny?> = emptyMap(),
    clientDataModel: A2uiClientDataModel? = null
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

clientDataModel

Added in 1.0.0-alpha01
val clientDataModelA2uiClientDataModel?

An optional snapshot of active client data models to be synchronized with the server alongside this event.

componentId

Added in 1.0.0-alpha01
val componentIdString

The unique identifier of the component that was interacted with.

context

Added in 1.0.0-alpha01
val contextMap<StringAny?>

A map containing custom properties and metadata associated with this action.

surfaceId

Added in 1.0.0-alpha01
val surfaceIdString

The unique identifier of the surface where the action occurred.

timestamp

Added in 1.0.0-alpha01
val timestampLong

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

type

Added in 1.0.0-alpha01
val typeString

The type of the action performed (e.g., "click", "swipe").