Modules
An object used for configuring available modules and retrieving them as a ModuleFactory to be passed into the TealiumConfig.
This object will by default have accessors for all ModuleFactory implementations provided by the Tealium Core SDK. External modules are expected to register extension functions on the Modules object for creating/configuring them. For Java users, non-core modules will have their own documented entry points.
Any methods that accept code blocks for configuration will supply the relevant configuration builder which must be returned at the end of the block, with no further updates after the fact. It should also be noted that configuration set using these methods will override any that come from local or remote settings sources.
Example usage:
val config = TealiumConfig.Builder(app, ..., modules = listOf(
Modules.collect(),
// other optional modules
)
).build()Types
Object to hold the ModuleFactory.moduleType constants.
Properties
A list of all ModuleFactory's that are eligible for automatic registration.
Functions
Adds additional ModuleFactorys to the list of default factories that are added to each Tealium instance.
Collects data related to the app package.
Returns a configured ModuleFactory for enabling the Collect Module.
Collects data related to the current connectivity type of the device.
Collects data that has been persisted into the Tealium data layer
Returns a configured ModuleFactory for enabling the DeepLink Module.
Collects data related to the user's device.
Collects the Tealium required data (Account, profile etc)
Returns a factory for creating the TimeData module, used to add a variety of additional time-based data to each Dispatch
Collects the Trace Id to support Tealium Trace