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

Barriers

object Barriers

Utility object for getting built-in BarrierFactory objects when configuring the Tealium instance.

Some barriers are added to the system by default, but remain accessible here to allow users to override the "scopes" that they apply to.

See also

Barrier
BarrierScope

Functions

batching
Link copied to clipboard
@JvmOverloads
fun batching(enforcedSettings: (BatchingBarrierSettingsBuilder) -> BatchingBarrierSettingsBuilder? = { it }): BarrierFactory

Returns the BarrierFactory for creating the "BatchingBarrier". Use this barrier to only dispatch events when a certain number of queued events has been reached for any of the Dispatcher in scope.

connectivity
Link copied to clipboard
@JvmOverloads
fun connectivity(enforcedSettings: (ConnectivityBarrierSettingsBuilder) -> ConnectivityBarrierSettingsBuilder? = { it }): BarrierFactory

Returns the BarrierFactory for creating the "ConnectivityBarrier". Use this barrier to only dispatch events when connectivity is required.

Generated by Dokka
(c) Tealium 2026