Package-level declarations
Types
Link copied to clipboard
Default implementation of IndoorViewModel backed by IndoorControlModel.
Link copied to clipboard
Link copied to clipboard
object IndoorComposableDefaults
Link copied to clipboard
data class IndoorState(val levelNames: List<String> = emptyList(), val activeLevelIndex: Int? = null)
UI state representing the current indoor levels control state.
Link copied to clipboard
interface IndoorViewModel
ViewModel interface for the indoor levels control.
Functions
Link copied to clipboard
fun IndoorComposable(viewModel: IndoorViewModel, showRoof: Boolean = true, colors: IndoorComposableColors = IndoorComposableDefaults.colors())
A composable that displays floors of a building in a vertically oriented manner. Shows a maximum of 4 floors at a time when roof button is shown, or 5 when it is hidden. If there are more floors, scrolling is enabled.