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.
Properties
A callback to register for back presses in the system UI.
A dispatcher that dispatches back presses to callbacks. Components that need to react to back presses must add their callbacks to this dispatcher. The last added callback that is currently enabled receives the back press.
Inherited properties
Unique identifier of a GenericPanel. Each ID is an increment of the previously created panel's ID
true
if the panel is currently attached.
Whether a panel wants to be removed from its frontend.
A destination that the information contained by this panel transitions to when this panel closes. By default it is null
, indicating the information does not transition anywhere.
The source of the information contained by this panel when the information transitions from another panel to this one. By default it is null
, indicating the information does not transition from any other particular panel.
Inherited functions
The fragment used when initially showing the panel. The fragment may be recreated by the system UI upon configuration changes.
The PanelContext of an IviFragment identified by iviFragmentId.
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.
Called when the panel has been detached from the system UI.
Called when a panel is removed from a panel and can not be reused again, preventing it from being shown in the system UI.