FrontendExtensionConfig

data class FrontendExtensionConfig(val frontendExtensionName: String, val implementationModule: ModuleReference, val subPackageName: String? = null, val dependencies: IviServiceDependencies = IviServiceDependencies())

Defines a reference to a frontend extension implementation.

Frontend extensions are independent pieces of functionality or information that can extend the functionality that a frontend implementation offers.

Constructors

Link copied to clipboard
fun FrontendExtensionConfig(frontendExtensionName: String, implementationModule: ModuleReference, subPackageName: String? = null, dependencies: IviServiceDependencies = IviServiceDependencies())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

IVI service dependencies of the frontend extension implementation.

Link copied to clipboard

The name of the property that holds the frontend extension instance.

Link copied to clipboard

The module that contains the property that is an instance of a class that implements the com.tomtom.ivi.platform.frontend.api.common.frontend.FrontendExtension interface. See frontendExtensionName for details.

Link copied to clipboard
val subPackageName: String? = null

Optional sub package. If not null, this value is appended to the ModuleReference.packageName of the implementationModule property with a period in between.

Functions

Link copied to clipboard
fun copyAndAdd(dependencies: IviServiceDependencies = IviServiceDependencies()): FrontendExtensionConfig

Copies this FrontendExtensionConfig, adds the given dependencies to the copied instance, and returns it.