Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api/TealiumConfig/Builder/addModule

addModule

fun addModule(module: ModuleFactory): TealiumConfig.Builder

Adds a ModuleFactory to the list of modules that need to be instantiated by the SDK.

You can add a ModuleFactory for a specific Module only once. Adding two of them will result in all but the first to be discarded. Some specific ModuleFactory, like Modules.collect can potentially instantiate more than one Collect module, if they are provided with multiple settings and different Module ID's, but the factory still only needs to be added once.

Parameters

module

The unique ModuleFactory used to create a specific type of Module.

Generated by Dokka
(c) Tealium 2026