lifecycle
Returns a configured ModuleFactory for enabling the Lifecycle Module.
fun Modules.lifecycle(enforcedSettings: (LifecycleSettingsBuilder) -> LifecycleSettingsBuilder? = { it }): ModuleFactory
Returns a configured ModuleFactory for enabling Lifecycle.
The enforcedSettings will be set for the lifetime of Tealium instance that this ModuleFactory is loaded in, and these settings wll override any that come from other local/remote sources.
Parameters
enforcedSettings
Lifecycle settings that should override any from any other settings source. Pass null to initialize this module only when some Local or Remote settings are provided. Omitting this parameter will initialize the module with its default settings.
Returns the Lifecycle instance for a given Tealium instance