RuleModuleSettingsBuilder

public protocol RuleModuleSettingsBuilder

A settings builder that can be updated with a specific Rule<String>.

  • Set the rules that this module needs to match to collect or dispatch an event.

    The Strings contained in the Rule correspond to a LoadRule ID and will be used to lookup for those LoadRules as defined in the SDKSettings and then apply them according to the Rule specified as the method’s parameter.

    Declaration

    Swift

    func setRules(_ rules: Rule<String>) -> Self

    Parameters

    rules

    A Rule of LoadRule IDs, composed by AND, OR and NOT.

Available where Self: ModuleSettingsBuilder

  • setRules(_:) Default implementation

    Default Implementation

    Declaration

    Swift

    func setRules(_ rules: Rule<String>) -> Self