Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
momentsapi/com.tealium.prism.momentsapi/momentsApi

momentsApi

@JvmOverloads
fun Modules.momentsApi(enforcedSettings: (MomentsApiSettingsBuilder) -> MomentsApiSettingsBuilder? = { it }): ModuleFactory

Returns a configured ModuleFactory for enabling the MomentsApi Module.

The enforcedSettings will be set for the lifetime of Tealium instance that this ModuleFactory is loaded in, and these settings will override any that come from other local/remote sources.

Parameters

enforcedSettings

MomentsApi 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.


val Tealium.momentsApi: MomentsApi

Returns the MomentsApi instance for a given Tealium instance

Generated by Dokka
(c) Tealium 2026