A panel that can be dismissed, either through user interaction or other events. Dismissing a panel triggers the end of its life; it will be removed from the frontend, preventing it from being shown again.
A panel to visually represent a Frontend. Panels are intended to be presented to the user by the system UI, which does this by attaching the IviFragment returned by createInitialFragment to its layout. The created fragment will internally instantiate a ViewModel (FrontendViewModel) with a reference to this panel.
The main panel seen by the user in the system UI's 'home' state, i.e., where the user will be after pressing a home button. Will typically contain a map view, but might have different contents depending on the vehicle's configuration.
Describes a panel in descriptor, while navigateToPanel is the function that should be invoked when the described panel should be navigated to. Navigating to the panel can for example happen when a user presses the breadcrumb.
A panel which overlays the system UI's main content area to show a temporary visual effect. This can be used, for example, to visualize the state of a currently active VPA or provide large and noticeable navigation instructions.
data class SafeArea(val leftMarginPx: Int, val topMarginPx: Int, val rightMarginPx: Int, val bottomMarginPx: Int, val paddingPx: Int)
Content copied to clipboard
The safe area specifies where information, that is important to the user, should be displayed. It's defined through margins from each side which should not be used for displaying important information, as it may not be visible to the user. The panel is still expected to draw in these margins, though.
A panel that offers the end-user quick access to search functionality. This panel is meant to provide a visual context for location based search, such as searching for a driving destination, parking spots or charging stations. It is not meant for searching content within a TaskPanel, like songs within a media frontend.