BarrierRegistrar

The BarrierRegistrar is responsible for registering and unregistering additional Barriers outside of those provided by the main SDK settings.

Note. Barriers registered using the BarrierRegistrar will not receive updated settings.

Functions

Link copied to clipboard
abstract fun registerScopedBarrier(barrier: Barrier, scopes: Set<BarrierScope>)

Registers or updates an additional Barrier with the applied scopes

Link copied to clipboard
abstract fun unregisterScopedBarrier(barrier: Barrier)

Unregisters the given barrier if it's currently registered.