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

sleep

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.

Parameters

dataObject

Optional data to be sent with sleep event.


abstract fun sleep(): 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.

Generated by Dokka
(c) Tealium 2026