A2uiEventAction


class A2uiEventAction : A2uiUserAction


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

Summary

Public constructors

A2uiEventAction(
    surfaceId: String,
    componentId: String,
    timestamp: Long,
    eventName: String,
    context: Map<StringAny?>
)

Public functions

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

Public properties

open String

unique identifier of the component that was interacted with

Map<StringAny?>

map containing custom properties and metadata associated with this action

String

name of the event

open String

unique identifier of the surface where the action occurred

open Long

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

Public constructors

A2uiEventAction

A2uiEventAction(
    surfaceId: String,
    componentId: String,
    timestamp: Long,
    eventName: String,
    context: Map<StringAny?>
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

componentId

open val componentIdString

unique identifier of the component that was interacted with

context

Added in 1.0.0-alpha01
val contextMap<StringAny?>

map containing custom properties and metadata associated with this action

eventName

Added in 1.0.0-alpha01
val eventNameString

name of the event

surfaceId

open val surfaceIdString

unique identifier of the surface where the action occurred

timestamp

open val timestampLong

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