Enumerations

The following enumerations are available globally.

  • Enum of supported attribution networks

    See more

    Declaration

    Objective-C

    enum RCAttributionNetwork : NSInteger {}
  • Enum of supported stores

    See more

    Declaration

    Objective-C

    enum RCStore : NSInteger {}
  • Enum of supported period types for an entitlement.

    See more

    Declaration

    Objective-C

    enum RCPeriodType : NSInteger {}
  • @typedef RCIntroEligibilityStatus @brief Enum of different possible states for intro price eligibility status. @constant RCIntroEligibilityStatusUnknown RevenueCat doesn’t have enough information to determine eligibility. @constant RCIntroEligibilityStatusIneligible The user is not eligible for a free trial or intro pricing for this product. @constant RCIntroEligibilityStatusEligible The user is eligible for a free trial or intro pricing for this product.

    See more

    Declaration

    Objective-C

    enum RCIntroEligibilityStatus : NSInteger {}
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, RCLogLevel) {
        RCLogLevelDebug = 0,
        RCLogLevelInfo = 1,
        RCLogLevelWarn = 2,
        RCLogLevelError = 3,
    }
  • Enumeration of all possible Package types.

    See more

    Declaration

    Objective-C

    enum RCPackageType : NSInteger {}
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, RCPurchaseOwnershipType) {
        /**
         The purchase was made directly by this user.
         */
        RCPurchaseOwnershipTypePurchased = 0,
        /**
         The purchase has been shared to this user by a family member.
         */
        RCPurchaseOwnershipTypeFamilyShared = 1,
    
        RCPurchaseOwnershipTypeUnknown = 2,
    }
  • Error codes used by the Purchases SDK

    See more

    Declaration

    Objective-C

    enum RCPurchasesErrorCode : NSInteger {}
  • Error codes sent by the RevenueCat backend. This only includes the errors that matter to the SDK

    See more

    Declaration

    Objective-C

    enum RCBackendErrorCode : NSInteger {}