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

TealiumConfig

class TealiumConfig

The object used to configure Tealium instances with constant values and dependencies.

Parameters

application

The android Application object

accountName

The Tealium account name

profileName

The Tealium profile name

environment

The Tealium environment

modules

A list of unique ModuleFactory's each one for creating a specific Module

barriers

A list of unique BarrierFactorys each one for creating a specific ConfigurableBarrier

datasource

The datasource to identify the data coming from this SDK

settingsFile

The name of the file in the Assets folder that contains local JSON Settings. These settings will be deep merged with any Remote and Programmatic settings, which will take priority over Local settings

settingsUrl

The url to download Remote JSON Settings from. These settings will be deep merged with any Local and Programmatic settings. Remote settings will take priority over Local ones, and Programmatic settings will take priority over Remote settings

logHandler

The LogHandler to delegate logging events to; default will write to android.util.Log

existingVisitorId

A known existing visitor id to use on first launch instead of our anonymous id

cmpAdapter

An adapter that can convert CMP specific data to a ConsentDecision that the Tealium consent integration system can handle.

enforcedSdkSettings

A DataObject containing all the settings that were configured programmatically

Types

Builder
Link copied to clipboard
class Builder(val application: Application, val accountName: String, val profileName: String, val environment: String, modules: List<ModuleFactory>)

A builder class for configuring a Tealium instance.

Properties

accountName
Link copied to clipboard
val accountName: String
application
Link copied to clipboard
val application: Application
barriers
Link copied to clipboard
val barriers: List<BarrierFactory>
cmpAdapter
Link copied to clipboard
val cmpAdapter: CmpAdapter?
datasource
Link copied to clipboard
val datasource: String?
enforcedSdkSettings
Link copied to clipboard
val enforcedSdkSettings: DataObject
environment
Link copied to clipboard
val environment: String
existingVisitorId
Link copied to clipboard
val existingVisitorId: String?
key
Link copied to clipboard
val key: String

A key used to uniquely identify Tealium instances.

logHandler
Link copied to clipboard
val logHandler: LogHandler
modules
Link copied to clipboard
val modules: List<ModuleFactory>
profileName
Link copied to clipboard
val profileName: String
settingsFile
Link copied to clipboard
val settingsFile: String?
settingsUrl
Link copied to clipboard
val settingsUrl: String?
tealiumDirectory
Link copied to clipboard
val tealiumDirectory: File

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Generated by Dokka
(c) Tealium 2026