A2uiServerToClientMessage
sealed interface A2uiServerToClientMessage
A2uiCreateSurfaceMessage |
Creates a new surface instance on the client. |
A2uiDeleteSurfaceMessage |
Destroys an existing surface and frees its associated resources. |
A2uiUpdateComponentsMessage |
Updates or replaces components in the surface's registry, which can include modifying static component properties (e.g., text, colors) or changing structural layout templates. |
A2uiUpdateDataModelMessage |
Updates the data model of a surface. |
The unified interface for all messages sent from the A2A server to the A2UI client.
Summary
Public properties
surfaceId
Added in 1.0.0-alpha01
val surfaceId: String
The unique identifier of the surface this message targets.