Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.misc/ActivityManager/activities

activities

abstract val activities: Observable<ActivityManager.ActivityStatus>

An Observable of all activity updates - this property will buffer the ActivityStatus updates for a while to ensure all Activities are captured (required to maintain correct foregrounding/backgrounding calculation) but also for possible AutoTracking that will need a reference to actual Activity instance.

Note. On Android it's not best practice to hold references to Activity in a static context, therefore, the buffer will be reduced to only the latest update after a short timeout. This will allow for late loaded Tealium instances to still receive any initial backlog of events.

Generated by Dokka
(c) Tealium 2026