Type Definitions

The following type definitions are available globally.

  • Deferred block for shouldPurchasePromoProduct:defermentBlock

    Declaration

    Objective-C

    typedef void (^RCDeferredPromotionalPurchaseBlock)(void)

    Swift

    typealias RCDeferredPromotionalPurchaseBlock = () -> Void
  • Completion block for checkTrialOrIntroductoryPriceEligibility:completion

    Declaration

    Objective-C

    typedef void (^RCReceiveIntroEligibilityBlock)(
        NSDictionary<NSString *, RCIntroEligibility *> *_Nonnull)

    Swift

    typealias RCReceiveIntroEligibilityBlock = ([String : RCIntroEligibility]) -> Void