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

Lifecycle

interface Lifecycle

The Lifecycle Module sends events related to application lifecycle - launch, wake, and sleep.

Types

Companion
Link copied to clipboard
object Companion

Functions

launch
Link copied to clipboard
abstract fun launch(): Single<TealiumResult<Unit>>
abstract fun launch(dataObject: DataObject): Single<TealiumResult<Unit>>

Sends a launch event and gathers all lifecycle data at the time the event is triggered. Only use if lifecycle auto-tracking is disabled.

sleep
Link copied to clipboard
abstract fun sleep(): Single<TealiumResult<Unit>>
abstract fun sleep(dataObject: DataObject): Single<TealiumResult<Unit>>

Sends a sleep event and gathers all lifecycle data at the time the event is triggered. Only use if lifecycle auto-tracking is disabled.

wake
Link copied to clipboard
abstract fun wake(): Single<TealiumResult<Unit>>
abstract fun wake(dataObject: DataObject): Single<TealiumResult<Unit>>

Sends a wake event and gathers all lifecycle data at the time the event is triggered. Only use if lifecycle auto-tracking is disabled.

Generated by Dokka
(c) Tealium 2026