A2uiCoreSurfaceGroupModel


public final class A2uiCoreSurfaceGroupModel


The central manager for all active surfaces on the client.

It exposes an observable list of active A2uiCoreSurfaceModels and acts as a registry to resolve active surfaces by their unique ID.

Concurrency design: This class is thread-safe for concurrent operations across different surface IDs (e.g., adding or deleting different surfaces in parallel). It relies on external sequentialization (such as sequential actors or single-threaded queues) to ensure that operations targeting the same surface ID are executed sequentially.

Summary

Public methods

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

Exposes the currently active surfaces to the host UI framework.

int
@NonNull String

Public methods

equals

public boolean equals(Object other)

getActiveSurfaces

Added in 1.0.0-alpha01
public final @NonNull StateFlow<@NonNull List<@NonNull A2uiCoreSurfaceModel>> getActiveSurfaces()

Exposes the currently active surfaces to the host UI framework.

hashCode

public int hashCode()

toString

public @NonNull String toString()