A2uiSlot

sealed interface A2uiSlot

What a renderer should draw for one carrier, decided by A2uiSurfaces.

Inheritors

Types

Link copied to clipboard
data class Pending(val payload: A2uiPayload) : A2uiSlot

Nothing to draw yet, or nothing drawable: show the state instead. Never A2uiPayload.Surfaces.

Link copied to clipboard
data class Shadowed(val by: A2uiCarrier) : A2uiSlot

Every surface this carrier holds is owned by by. Draw nothing: the surface is on screen once, where by is, and a second copy under the tool call would be the same surface twice.

Link copied to clipboard
data class Surfaces(val surfaceIds: List<String>) : A2uiSlot

Draw these surfaces; this carrier owns them.