IviFrontendContext

fun IviFrontendContext(    iviServiceProvider: IviInstanceBoundIviServiceProvider,     staticConfigurationProvider: StaticConfigurationProvider,     panelTypesAvailableToFrontend: PanelTypeSet,     panelTypesSupportedBySystemUi: PanelTypeSet)

Parameters

iviServiceProvider

Provides Frontends with access to services.

staticConfigurationProvider

Allows retrieving the values of static configurations, given a configuration key.

panelTypesAvailableToFrontend

Which panels types the Frontend may add. Should be based on FrontendMetadata.availablePanelTypes. This information is used for isPanelTypeAvailableToFrontend.

panelTypesSupportedBySystemUi

Which panels types the system UI can present to the user when added to the Frontend. This information is used for isPanelTypeSupportedBySystemUi.