FrontendCoordinatorContext
The entry point for a single FrontendCoordinator to communicate with the rest of the system. The FrontendCoordinatorContext should only be created by a system UI host through the LifecycleViewModel.createDefaultFrontendCoordinatorContext
or LifecycleViewModel.createFrontendCoordinatorContext
extension functions and can be modified afterwards using the copy method.
Parameters
The type of the PanelRegistry that the FrontendCoordinator should use.
Constructors
Properties
A Flow containing the timeout within which the creation of the frontends with FrontendCreationPolicy.CREATE_FRONTEND_AFTER_STARTUP should begin. If this timeout expires a RuntimeException is thrown.
Indicates whether frontends adhering to FrontendCreationPolicy.CREATE_FRONTEND_AFTER_STARTUP should be created.
The factory used to create FrontendContexts when creating Frontends.
A factory for the coordinator to create and activate a set of FrontendCoordinationRules.
The metadata about the frontends that this instance should coordinate.
The service provider to use communicate with various services, such as the main menu and notification display services.
The lifecycle during which the coordinator is active.
A factory for the coordinator to create a PanelRegistry.