Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.modules/ModuleFactory/create

create

abstract fun create(moduleId: String, context: TealiumContext, configuration: DataObject): Module?

Called when a new instance of the Module is required to be created.

Return

The new Module instance; or null if the Module is either disabled, missing required properties in the configuration object, or missing required dependencies.

Parameters

moduleId

The id of the Module instance to be created

context

The TealiumContext containing access to many shared dependencies that may be required by the Module implementation being created.

configuration

The current configuration for this module; this could be from a local, cached or even remote source.

Generated by Dokka
(c) Tealium 2026