A2uiFunctionCallAction


class A2uiFunctionCallAction : A2uiUserAction


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

Summary

Public constructors

A2uiFunctionCallAction(
    surfaceId: String,
    componentId: String,
    timestamp: Long,
    functionName: String,
    args: Map<StringAny?>
)

Public functions

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

Public properties

Map<StringAny?>

map containing arguments to pass to the function

open String

unique identifier of the component that was interacted with

String

name of the function to execute

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

A2uiFunctionCallAction

A2uiFunctionCallAction(
    surfaceId: String,
    componentId: String,
    timestamp: Long,
    functionName: String,
    args: Map<StringAny?>
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

args

Added in 1.0.0-alpha01
val argsMap<StringAny?>

map containing arguments to pass to the function

componentId

open val componentIdString

unique identifier of the component that was interacted with

functionName

Added in 1.0.0-alpha01
val functionNameString

name of the function to execute

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