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

observeModule

abstract fun <T : Module> observeModule(clazz: Class<T>): Observable<T?>

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

Return

An Observable for monitoring status changes of a specific Module.

Parameters

clazz

The Class to use to match the specific Module


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.

Return

A Observable for the inner Observable.

Parameters

clazz

The Class to use to match the specific Module

transform

: The transformation that maps the Module to one of it's Observables.

Generated by Dokka
(c) Tealium 2026