IndoorState

data class IndoorState(val levelNames: List<String> = emptyList(), val activeLevelIndex: Int? = null)

UI state representing the current indoor levels control state.

Constructors

Link copied to clipboard
constructor(levelNames: List<String> = emptyList(), activeLevelIndex: Int? = null)

Properties

Link copied to clipboard
val activeLevelIndex: Int? = null

The index of the currently active level in levelNames, or null if the roof is selected (no floor is active).

Link copied to clipboard

List of level names to display. Empty list means the control is hidden.