RestrictionState
@objc(GFYRestrictionState)
public enum RestrictionState : Int
States governing when a concept is allowed to be shown to a shopper. Since: 4.0.0
-
Concepts cannot be shown in this state. This state persists until it is explicitly changed.
Declaration
Swift
case restricted = 0 -
Concepts can be shown in this state. This state persists until it is explicitly changed.
Declaration
Swift
case unrestricted = 1 -
Concepts are restricted on the current page and cannot be shown. On a page change (as indicated by
Granify.trackPageView(...)), this state will revert back to.unrestricted.Declaration
Swift
case pageRestricted = 2
RestrictionState Enumeration Reference