IviPanelRegistry

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

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