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.