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

configure

@JvmStatic
@JvmOverloads
fun configure(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.

Generated by Dokka
(c) Tealium 2026