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
Functions
Link copied to clipboard
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.
Link copied to clipboard
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.