DefaultFeatureConstraintsEvaluator
public class DefaultFeatureConstraintsEvaluator : ConstraintsEvaluator
This is the implementation of the constraints evaluator.
It is threadsafe in that you may call this from any thread.
-
Undocumented
Declaration
Swift
public init(permissionChecker: SystemPermissionChecker, purchaseTracker: PurchaseTracker?, userToggles: UserFeatureToggles?)
-
Declaration
Swift
public func description(for feature: ConditionalFeatureDefinition.Type) -> String
-
Declaration
Swift
public func canCacheResult(for feature: ConditionalFeatureDefinition.Type) -> Bool
-
Declaration
Swift
public func set(constraints: DeclaredFeatureConstraints, for feature: ConditionalFeatureDefinition.Type)
-
Declaration
Swift
public func evaluate(for feature: ConditionalFeatureDefinition.Type) -> FeatureConstraintsEvaluation