A2uiCreateSurfaceMessage


public final class A2uiCreateSurfaceMessage implements A2uiServerToClientMessage


Creates a new surface instance on the client.

Summary

Public constructors

A2uiCreateSurfaceMessage(
    @NonNull String surfaceId,
    @NonNull String catalogId,
    @NonNull Map<@NonNull StringObject> theme,
    boolean shouldSendDataModel
)

Public methods

boolean
equals(Object other)
final @NonNull String

The ID of the component catalog to use for this surface.

@NonNull String

The unique ID to assign to the new surface.

final @NonNull Map<@NonNull StringObject>

An optional map of theme-specific property overrides (e.g., colors, spacing).

int
final boolean

If true, the client will append its active UI data model state tree as metadata to subsequent outgoing messages.

@NonNull String

Public constructors

A2uiCreateSurfaceMessage

public A2uiCreateSurfaceMessage(
    @NonNull String surfaceId,
    @NonNull String catalogId,
    @NonNull Map<@NonNull StringObject> theme,
    boolean shouldSendDataModel
)

Public methods

equals

public boolean equals(Object other)

getCatalogId

Added in 1.0.0-alpha01
public final @NonNull String getCatalogId()

The ID of the component catalog to use for this surface.

getSurfaceId

public @NonNull String getSurfaceId()

The unique ID to assign to the new surface.

getTheme

Added in 1.0.0-alpha01
public final @NonNull Map<@NonNull StringObjectgetTheme()

An optional map of theme-specific property overrides (e.g., colors, spacing).

hashCode

public int hashCode()

shouldSendDataModel

Added in 1.0.0-alpha01
public final boolean shouldSendDataModel()

If true, the client will append its active UI data model state tree as metadata to subsequent outgoing messages. Defaults to false.

toString

public @NonNull String toString()