IviPanelRegistry

@IviExperimental(reasons = [])
class IviPanelRegistry(val homePanel: LiveData<HomePanel?>, val mainMenuPanel: LiveData<MainMenuPanel?>, val controlCenterPanels: LiveData<PanelList<ControlCenterPanel>>, val mainProcessPanel: LiveData<MainProcessPanel?>, val expandedProcessPanel: LiveData<ExpandedProcessPanel?>, val taskPanelStackData: LiveData<TaskPanelStackData>, val notificationPanelData: LiveData<NotificationPanelData>, val guidancePanel: LiveData<GuidancePanel?>, val settingsPanel: LiveData<SettingsPanel?>, val searchPanel: LiveData<SearchPanel?>, val debugPanel: LiveData<DebugPanel?>, val overlayPanels: LiveData<PanelList<OverlayPanel>>, val modalPanelStackData: LiveData<ModalPanelStackData>) : PanelRegistry

A class that indicates the currently active Panels.

This contains the Panels for TomTom Digital Cockpit's stock system UI. For system UIs that support different Panel types, another PanelRegistry may be created. If it should also support the default Panels, that custom PanelRegistry can contain an instance of this.

Constructors

Link copied to clipboard
fun IviPanelRegistry(homePanel: LiveData<HomePanel?>, mainMenuPanel: LiveData<MainMenuPanel?>, controlCenterPanels: LiveData<PanelList<ControlCenterPanel>>, mainProcessPanel: LiveData<MainProcessPanel?>, expandedProcessPanel: LiveData<ExpandedProcessPanel?>, taskPanelStackData: LiveData<TaskPanelStackData>, notificationPanelData: LiveData<NotificationPanelData>, guidancePanel: LiveData<GuidancePanel?>, settingsPanel: LiveData<SettingsPanel?>, searchPanel: LiveData<SearchPanel?>, debugPanel: LiveData<DebugPanel?>, overlayPanels: LiveData<PanelList<OverlayPanel>>, modalPanelStackData: LiveData<ModalPanelStackData>)

Types

Link copied to clipboard
class Builder(panels: LiveData<Collection<AnyPanel>>, lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider)

A builder that creates a IviPanelRegistry from panels using the default logic to determine which panels to show.

Link copied to clipboard
object Companion

Properties