Lifecycle

interface Lifecycle

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

Types

Link copied to clipboard
object Companion

Functions

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.

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.

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.