FeaturePreconditionConstraint
public enum FeaturePreconditionConstraint : Hashable, CustomStringConvertible
Defines the list of possible feature preconditions
-
Indicates that the feature supports User Toggling and its default value for when there is no setting in the user’s preferences yet. If the user toggle is
false
the feature will not be available.See
seeUserFeatureToggles
Declaration
Swift
case userToggled(defaultValue: Bool)
-
Indicates that the feature is subject to runtime evaluation, and the property
isEnabled
will be checked on the Feature to test availability. If it is nottrue
, the feature is not available.Declaration
Swift
case runtimeEnabled
-
Indicates that the feature has a purchase requirement. Unless that requirement is fulfilled, the feature will not be available.
Declaration
Swift
case purchase(requirement: PurchaseRequirement)
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public var name: String { get }
-
Declaration
Swift
public var parametersDescription: String { get }