Type Definitions
The following type definitions are available globally.
-
Completion block for calls that send back a
PurchaserInfo
Declaration
Objective-C
typedef void (^RCReceivePurchaserInfoBlock)(RCPurchaserInfo *_Nullable, NSError *_Nullable)
-
Completion block for
-[RCPurchases checkTrialOrIntroductoryPriceEligibility:completionBlock:]
Declaration
Objective-C
typedef void (^RCReceiveIntroEligibilityBlock)( NSDictionary<NSString *, RCIntroEligibility *> *_Nonnull)
-
Completion block for
-[RCPurchases offeringsWithCompletionBlock:]
Declaration
Objective-C
typedef void (^RCReceiveOfferingsBlock)(RCOfferings *_Nullable, NSError *_Nullable)
-
Completion block for
-[RCPurchases productsWithIdentifiers:completionBlock:]
Declaration
Objective-C
typedef void (^RCReceiveProductsBlock)(NSArray<SKProduct *> *_Nonnull)
-
Completion block for
-[RCPurchases purchaseProduct:withCompletionBlock:]
Declaration
Objective-C
typedef void (^RCPurchaseCompletedBlock)(SKPaymentTransaction *_Nullable, RCPurchaserInfo *_Nullable, NSError *_Nullable, BOOL)
-
Deferred block for
purchases:shouldPurchasePromoProduct:defermentBlock:
Declaration
Objective-C
typedef void (^RCDeferredPromotionalPurchaseBlock)( RCPurchaseCompletedBlock _Nonnull)
-
Undocumented
Declaration
Objective-C
API_AVAILABLE(ios(12.2), macos(10.14.4), watchos(6.2), macCatalyst(13.0), tvos(12.2)) typedef void (^RCPaymentDiscountBlock)(SKPaymentDiscount * _Nullable, NSError * _Nullable)