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

BarrierFactory

interface BarrierFactory

The BarrierFactory is responsible for creating new ConfigurableBarrier instances.

Properties

id
Link copied to clipboard
abstract val id: String

The unique identifier of this barrier. This String will be used to match up barriers scoped in the configuration JSON.

Functions

create
Link copied to clipboard
abstract fun create(context: TealiumContext, configuration: DataObject): ConfigurableBarrier

Creates a ConfigurableBarrier instance using the given context and configuration.

defaultScopes
Link copied to clipboard
open fun defaultScopes(): Set<BarrierScope>

An optional set of default BarrierScopes to use in the event that these are not configured in any settings sources.

getEnforcedSettings
Link copied to clipboard
open fun getEnforcedSettings(): DataObject

Returns some optional settings for this barrier that override any other Local or Remote settings fields.

Generated by Dokka
(c) Tealium 2026