DefaultFrontendCoordinationRules
Provides the default FrontendCoordinationRules used by TomTom Digital Cockpit's system UI. These include menu item management, syncing notification information with the system, and closing TaskPanels and ModalPanels when needed.
System UIs that present panels similarly likely benefit from these rules as well. If most rules but not all rules are applicable, removeRule can be used on the results of create to trim the rules before activating them or passing them to FrontendCoordinator.
Functions
Link copied to clipboard
fun create(frontendRegistry: FrontendRegistry, panelRegistry: IviPanelRegistry): Collection<FrontendCoordinationRule>
Content copied to clipboard
Creates the default set of FrontendCoordinationRules.
Link copied to clipboard
inline fun <R : FrontendCoordinationRule> Collection<FrontendCoordinationRule>.removeRule(): Collection<FrontendCoordinationRule>
Content copied to clipboard
Removes any FrontendCoordinationRule of type R from this
. Useful to remove or replace rules from the default set if they're not applicable to a certain system UI implementation.