A2uiServerToClientMessage


public sealed interface A2uiServerToClientMessage

Known direct subclasses
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 methods

abstract @NonNull String

The unique identifier of the surface this message targets.

Public methods

getSurfaceId

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

The unique identifier of the surface this message targets.