FrontendCoordinator

@IviExperimental(reasons = [])
class FrontendCoordinator<PR : PanelRegistry>(frontendCoordinatorContext: FrontendCoordinatorContext<PR>)

Coordinates the Frontends within the IVI system. It manages the lifecycle of frontends, determines which of the frontend's panels should be shown in the UI, and enables the business logic rules between them.

Parameters

frontendCoordinatorContext

The context used to create the coordinator.

Constructors

Link copied to clipboard
constructor(lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider, frontendMetadata: Collection<FrontendMetadata>, frontendContextFactory: FrontendContextFactory, panelRegistryFactory: PanelRegistryFactory<PR>, frontendCoordinationRulesFactory: FrontendCoordinationRulesFactory<PR>)
constructor(frontendCoordinatorContext: FrontendCoordinatorContext<PR>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether all frontends with the FrontendCreationPolicy.CREATE_FRONTEND_AT_STARTUP frontend creation policy are ready.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

A callback to be called when the system UI is presented.

Link copied to clipboard
open override fun toString(): String