BarrierSettingsBuilder

open class BarrierSettingsBuilder

A builder class for configuring barrier settings.

  • A custom dictionary that holds the configuration for this barrier. Do not use this one directly unless you are subclassing this class.

    Declaration

    Swift

    public var _configurationObject: DataObject
  • Creates a new barrier settings builder.

    Declaration

    Swift

    public init()
  • Set the scopes where this barrier should be applied.

    Declaration

    Swift

    public func setScopes(_ scopes: [BarrierScope]) -> Self

    Parameters

    scopes

    An array of BarrierScope values defining where the barrier applies.

    Return Value

    The builder instance for method chaining.

  • Declaration

    Swift

    public func build() -> DataObject

    Return Value

    the DataObject representing the BarrierSettings object.