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

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

Link copied to clipboard

A utility class to subscribe to application and activity status changes

Link copied to clipboard

A place to register additional barriers at runtime

Link copied to clipboard

The TealiumConfig used to initialize the Tealium SDK instance

Link copied to clipboard

The Android Context

Link copied to clipboard

An observable to subscribing to changes to the CoreSettings

Link copied to clipboard

The Logger used by this Tealium instance

Link copied to clipboard

A utility for fetching other module implementations

Link copied to clipboard

A utility class for easily making asynchronous network requests

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

A utility to allow subscribing to updates to the current Session

Link copied to clipboard

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

Link copied to clipboard

A Tracker to allow modules to track additional events

Link copied to clipboard

A place to register additional transformations at runtime

Link copied to clipboard

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