RuleModuleSettingsBuilder Protocol Reference
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 theRulecorrespond to aLoadRuleID and will be used to lookup for thoseLoadRules as defined in theSDKSettingsand then apply them according to theRulespecified as the method’s parameter.Declaration
Swift
func setRules(_ rules: Rule<String>) -> SelfParameter Description rulesA
RuleofLoadRuleIDs, composed by AND, OR and NOT.
-
setRules(_:Default implementation) Default Implementation
Declaration
Swift
func setRules(_ rules: Rule<String>) -> Self