Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
lifecycle/com.tealium.prism.lifecycle/lifecycle

lifecycle

fun Modules.lifecycle(): ModuleFactory

Returns a configured ModuleFactory for enabling the Lifecycle Module.


fun Modules.lifecycle(enforcedSettings: (LifecycleSettingsBuilder) -> LifecycleSettingsBuilder? = { it }): ModuleFactory

Returns a configured ModuleFactory for enabling Lifecycle.

The enforcedSettings will be set for the lifetime of Tealium instance that this ModuleFactory is loaded in, and these settings wll override any that come from other local/remote sources.

Parameters

enforcedSettings

Lifecycle settings that should override any from any other settings source. Pass null to initialize this module only when some Local or Remote settings are provided. Omitting this parameter will initialize the module with its default settings.


val Tealium.lifecycle: Lifecycle

Returns the Lifecycle instance for a given Tealium instance

Generated by Dokka
(c) Tealium 2026