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

ModuleManager

interface ModuleManager

The ModuleManager is responsible for managing Module implementations throughout the Tealium instance lifecycle.

This class provides properties for interacting with other Module implementations, either by fetching a specific Module implementation of by observing one of its properties.

Properties

modules
Link copied to clipboard
abstract val modules: ObservableState<List<Module>>

Observable stream of all Module implementations in the system.

Functions

getModuleOfType
Link copied to clipboard
abstract fun <T : Module> getModuleOfType(clazz: Class<T>): T?
abstract fun <T : Module> getModuleOfType(clazz: Class<T>, callback: Callback<T?>)

Returns the first Module implementation that implements or extends the given clazz.

observeModule
Link copied to clipboard
abstract fun <T : Module> observeModule(clazz: Class<T>): Observable<T?>
abstract fun <T : Module, R> observeModule(clazz: Class<T>, transform: (T) -> Observable<R>): Observable<R>

Observe an observable of the Module regardless of if the Module is currently enabled or not.

Generated by Dokka
(c) Tealium 2026