create

abstract fun create(configuration: UIConfiguration): UIClient

Creates or retrieves a UIClient for the given configuration.

If a UIClient already exists with the same configuration, the existing instance is returned. Otherwise, a new instance is created and stored as the singleton.

Return

The UIClient instance for the given configuration.

Parameters

configuration

The UIConfiguration specifying connection details and UI settings.