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

Barrier

interface Barrier

Defines a utility that can influence whether or not it is safe to continue processing events for any Dispatcher implementations that may rely on this Barrier.

A typical example could be for Dispatchers that may require connectivity, which might use a Connectivity Barrier to control whether or not it should continue processing events.

Updates to the barrier state should be emitted via the onState observable.

Inheritors

ConfigurableBarrier

Properties

isFlushable
Link copied to clipboard
open val isFlushable: Observable<Boolean>

States whether or not this Barrier can be bypassed for "flush" events.

Functions

onState
Link copied to clipboard
abstract fun onState(dispatcherId: String): Observable<BarrierState>

The flow of this barrier's current state.

Generated by Dokka
(c) Tealium 2026