State

sealed interface State

The 3 states a screen can be in — mirrors the server-authored ScreenTileSchema.State the ChangeScreenState event's own state parameter targets.

Inheritors

Types

Link copied to clipboard

The screen failed to load — renders whatever failureTiles/failureEvents the screen's entry{} declared.

Link copied to clipboard

The screen is loading — renders whatever initialTiles/initialEvents the screen's entry{} declared. The state every screen starts in.

Link copied to clipboard
data class Success(val screenModel: ScreenModel) : ScreenBehaviorsHolder.State

The screen successfully has content to show. @property screenModel the tiles/events/ navigation-drawer content to install.