A2uiCoreSurfaceGroupModel


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 functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

StateFlow<List<A2uiCoreSurfaceModel>>

Exposes the currently active surfaces to the host UI framework.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

activeSurfaces

Added in 1.0.0-alpha01
val activeSurfacesStateFlow<List<A2uiCoreSurfaceModel>>

Exposes the currently active surfaces to the host UI framework.