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

Package-level declarations

Root package and entry point for the Lifecycle module

Types

InvalidEventOrderException
Link copied to clipboard
class InvalidEventOrderException(message: String? = null, cause: Throwable? = null) : TealiumException

Exception class thrown when a lifecycle event was not tracked in an appropriate order. e.g. multiple launch events consecutively

Lifecycle
Link copied to clipboard
interface Lifecycle

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

LifecycleDataTarget
Link copied to clipboard
enum LifecycleDataTarget : Enum<LifecycleDataTarget> , DataItemConvertible

LifecycleData target defines what targets the lifecycle event data is added to. LifecycleDataTarget.LifecycleEventsOnly is selected by default, and will only add related data to lifecycle events.

LifecycleEvent
Link copied to clipboard
enum LifecycleEvent : Enum<LifecycleEvent> , DataItemConvertible

LifecycleEvent defines trackable events related to the application lifecycle.

LifecycleSettingsBuilder
Link copied to clipboard
class LifecycleSettingsBuilder : CollectorSettingsBuilder<LifecycleSettingsBuilder>

Enables the configuration, at runtime, of Lifecycle Settings.

ManualTrackingException
Link copied to clipboard
class ManualTrackingException(message: String? = null, cause: Throwable? = null) : TealiumException

Exception class thrown when a lifecycle event was tracked manually, but autotracking is enabled.

Properties

DEFAULT_FACTORY
Link copied to clipboard
@JvmField
val DEFAULT_FACTORY: ModuleFactory

Returns the default ModuleFactory implementation that will not create any instances unless there are settings provided from Local or Remote sources.

LIFECYCLE
Link copied to clipboard
val Modules.Types.LIFECYCLE: String

The Module.id of the Lifecycle module.

lifecycle
Link copied to clipboard
val Tealium.lifecycle: Lifecycle

Returns the Lifecycle instance for a given Tealium instance

Functions

lifecycle
Link copied to clipboard
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.

Generated by Dokka
(c) Tealium 2026