A2uiUpdateComponentsMessage


public final class A2uiUpdateComponentsMessage implements A2uiServerToClientMessage


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.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull List<@NonNull A2uiComponentPayload>

A list of component payloads to insert or replace in the registry.

@NonNull String

The ID of the surface to update.

int
@NonNull String

Public constructors

A2uiUpdateComponentsMessage

Added in 1.0.0-alpha01
public A2uiUpdateComponentsMessage(
    @NonNull String surfaceId,
    @NonNull List<@NonNull A2uiComponentPayload> components
)

Public methods

equals

public boolean equals(Object other)

getComponents

Added in 1.0.0-alpha01
public final @NonNull List<@NonNull A2uiComponentPayloadgetComponents()

A list of component payloads to insert or replace in the registry.

getSurfaceId

public @NonNull String getSurfaceId()

The ID of the surface to update.

hashCode

public int hashCode()

toString

public @NonNull String toString()