BarrierSettingsBuilder Class Reference
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]) -> SelfParameter Description scopesAn array of
BarrierScopevalues defining where the barrier applies.Return Value
The builder instance for method chaining.
-
Declaration
Swift
public func build() -> DataObjectReturn Value
the
DataObjectrepresenting theBarrierSettingsobject.