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

BarrierScope

sealed class BarrierScope : DataItemConvertible

The BarrierScope defines the available scopes that can be assigned to a Barrier via a BarrierSettings

There are only two available scopes that a Barrier can impact:

  • All

  • Dispatcher

A Barrier scoped to All will be checked for its state for every Dispatcher before dispatching events to it. A Barrier scoped to Dispatcher will only be checked for its state for the specific Dispatcher as identified by the given Dispatcher name.

Inheritors

All
Dispatcher

Types

All
Link copied to clipboard
object All : BarrierScope

This BarrierScope will affect all Dispatcher implementations.

Dispatcher
Link copied to clipboard
data class Dispatcher(val dispatcher: String) : BarrierScope

This BarrierScope will affect only the Dispatcher implementation identified by the provided dispatcher.

Properties

value
Link copied to clipboard
val value: String

Functions

asDataItem
Link copied to clipboard
open override fun asDataItem(): DataItem

Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be:

Generated by Dokka
(c) Tealium 2026