HomePanel
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.
Parameters
An entry point for this Panel to communicate with the rest of the system.
Constructors
Properties
Inherited properties
Unique identifier of a GenericPanel. Each ID is an increment of the previously created panel's ID, allowing this value to be used for sorting purposes.
The PanelContext given when the panel is attached to the system UI.
Functions
Called as a result from pressing a hardware back button. This should only be called as a result of user interaction with a back button, and not to trigger behaviour that is assumed to result from a back press. For example, in order to go back in a task panel back stack, do not call this but close the panel directly using TaskPanel.dismiss instead.
Inherited functions
The fragment used when initially showing the panel. The fragment may be recreated by the system UI upon configuration changes.
Called when this panel is added to Frontend.panels, allowing it to be shown in the system UI.
Called when the panel is attached to the system UI. The panel may be detached and attached multiple times, for example on configuration changes. However, a panel will never be attached multiple times at once.
Called when the panel has been detached from the system UI. The panel may be attached again later, for example when the configuration changes.
Called when this panel is removed from Frontend.panels, preventing it from being shown in the system UI.