Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference

lifecycle

The Lifecycle module provides application lifecycle event tracking. It can automatically track launch, wake and sleep events which coincide with the application starting, being put into the foreground and being put into the background.

Getting started

To set up Lifecycle event tracking, simply add the Lifecycle ModuleFactory to your TealiumConfig

// Kotlin
val config = TealiumConfig.Builder(/* ... */ modules = listOf(
Modules.lifecycle()
)).build()
Content copied to clipboard
// Java
TealiumConfig config = new TealiumConfig.Builder(/* ... */ Arrays.asList(
Lifecycle.configure()
)).build();
Content copied to clipboard

Configuration

TODO

Packages

com.tealium.prism.lifecycle
Link copied to clipboard
androidJvm

Root package and entry point for the Lifecycle module

Generated by Dokka
(c) Tealium 2026