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

TealiumContext

class TealiumContext(val context: Context, val config: TealiumConfig, val logger: Logger, val visitorId: ObservableState<String>, val storageProvider: ModuleStoreProvider, val network: NetworkUtilities, val coreSettings: ObservableState<CoreSettings>, val tracker: Tracker, val schedulers: Schedulers, val activityManager: ActivityManager, val transformerRegistrar: TransformerRegistrar, val barrierRegistrar: BarrierRegistrar, val moduleManager: ModuleManager, val queueMetrics: QueueMetrics, val sessionRegistry: SessionRegistry)

Provides context and dependencies that might be required by Module implementations used in a specific Tealium instance

Constructors

TealiumContext
Link copied to clipboard
constructor(context: Context, config: TealiumConfig, logger: Logger, visitorId: ObservableState<String>, storageProvider: ModuleStoreProvider, network: NetworkUtilities, coreSettings: ObservableState<CoreSettings>, tracker: Tracker, schedulers: Schedulers, activityManager: ActivityManager, transformerRegistrar: TransformerRegistrar, barrierRegistrar: BarrierRegistrar, moduleManager: ModuleManager, queueMetrics: QueueMetrics, sessionRegistry: SessionRegistry)

Properties

activityManager
Link copied to clipboard
val activityManager: ActivityManager

A utility class to subscribe to application and activity status changes

barrierRegistrar
Link copied to clipboard
val barrierRegistrar: BarrierRegistrar

A place to register additional barriers at runtime

config
Link copied to clipboard
val config: TealiumConfig

The TealiumConfig used to initialize the Tealium SDK instance

context
Link copied to clipboard
val context: Context

The Android Context

coreSettings
Link copied to clipboard
val coreSettings: ObservableState<CoreSettings>

An observable to subscribing to changes to the CoreSettings

logger
Link copied to clipboard
val logger: Logger

The Logger used by this Tealium instance

moduleManager
Link copied to clipboard
val moduleManager: ModuleManager

A utility for fetching other module implementations

network
Link copied to clipboard
val network: NetworkUtilities

A utility class for easily making asynchronous network requests

queueMetrics
Link copied to clipboard
val queueMetrics: QueueMetrics

A utility to allow receiving notifications of changes to the number of queued events

schedulers
Link copied to clipboard
val schedulers: Schedulers

A set of common Scheduler implementations for consistent processing across the Tealium instance

sessionRegistry
Link copied to clipboard
val sessionRegistry: SessionRegistry

A utility to allow subscribing to updates to the current Session

storageProvider
Link copied to clipboard
val storageProvider: ModuleStoreProvider

A utility that can be used to fetch a Module's DataStore

tracker
Link copied to clipboard
val tracker: Tracker

A Tracker to allow modules to track additional events

transformerRegistrar
Link copied to clipboard
val transformerRegistrar: TransformerRegistrar

A place to register additional transformations at runtime

visitorId
Link copied to clipboard
val visitorId: ObservableState<String>

An observable with which to subscribe to changes in visitor id.

Generated by Dokka
(c) Tealium 2026