Enumerations

The following enumerations are available globally.

  • Errors concerning the initialization of the sdk using Granify.activateGranify(...)

    See more

    Declaration

    Swift

    public enum SDKActivationError : Error
  • Errors concerning the general method calls

    See more

    Declaration

    Swift

    public enum MethodError : Error
  • Not intended for public use; this enum and its methods are exposed due to technical requirements but are not intended to be used externally. Do not interact with this enum or its constituents.

    See more

    Declaration

    Swift

    @objc(GFYLogLevel)
    public enum LogLevel : Int, Comparable, Codable, CustomStringConvertible, CaseIterable
  • Not intended for public use; this enum and its methods are exposed due to technical requirements but are not intended to be used externally. Do not interact with this enum or its constituents.

    See more

    Declaration

    Swift

    @objc(GFYLogSource)
    public enum LogSource : Int
  • Identifies a particular type of currency

    Currently only USD is supported in this SDK. Talk to your Account Manager if you require further currency options.

    See more

    Declaration

    Swift

    @objc(GFYCurrency)
    public enum Currency : Int
    extension Currency: CustomStringConvertible
    extension Currency: Encodable
  • Defines valid display status values that may be reported when the engine decides to show a message to a shopper

    See more

    Declaration

    Swift

    @objc(GFYDisplayStatus)
    public enum DisplayStatus : Int
    extension DisplayStatus: CustomStringConvertible
  • Matching groups that a shopper may be assigned to.

    Note that Granify configures each site to allow only certain matching groups to be used. Contact your account manager if you are uncertain which values are valid in your case.

    See more

    Declaration

    Swift

    @objc(GFYMatchingGroup)
    public enum MatchingGroup : Int, Codable, CaseIterable
    extension MatchingGroup: CustomStringConvertible
  • Page types that may be present in an application

    See more

    Declaration

    Swift

    @objc(GFYPageType)
    public enum PageType : Int, Encodable
    extension PageType: CustomStringConvertible
  • States governing when a concept is allowed to be shown to a shopper. Since: 4.0.0

    See more

    Declaration

    Swift

    @objc(GFYRestrictionState)
    public enum RestrictionState : Int