Factory

class Factory(    iviServiceProvider: IviInstanceBoundIviServiceProvider,     staticConfigurationProvider: StaticConfigurationProvider,     panelTypesSupportedBySystemUi: PanelTypeSet) : FrontendContextFactory

A default factory that creates a IviFrontendContexts for a given FrontendMetadata.

Parameters

iviServiceProvider

Provides Frontends with access to services.

staticConfigurationProvider

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

panelTypesSupportedBySystemUi

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

Constructors

Link copied to clipboard
fun Factory(    iviServiceProvider: IviInstanceBoundIviServiceProvider,     staticConfigurationProvider: StaticConfigurationProvider,     panelTypesSupportedBySystemUi: PanelTypeSet)

Functions

Link copied to clipboard
open override fun createFrontendContext(frontendMetadata: FrontendMetadata): FrontendContext

Creates the FrontendContext to provide when creating a Frontend instance for the given frontendMetadata.