Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.modules/Trace

Trace

interface Trace

Trace is responsible for handling Tealium trace registration.

Joining a trace will add the trace id to each event for filtering server side. Users can leave the trace when finished.

Functions

forceEndOfVisit
Link copied to clipboard
abstract fun forceEndOfVisit(): Single<TealiumResult<TrackResult>>

Attempts to force end of visit for the current trace.

join
Link copied to clipboard
abstract fun join(id: String): Single<TealiumResult<Unit>>

Joins a Trace for the given id. The trace id will be added to all future events that are tracked until either leave is called, or the current session expires.

leave
Link copied to clipboard
abstract fun leave(): Single<TealiumResult<Unit>>

Leaves the current trace if one is has been joined.

Generated by Dokka
(c) Tealium 2026