No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnityEarlyTransactionObserver.h 667B

1234567891011121314151617181920212223242526
  1. #if !MAC_APPSTORE
  2. #import <StoreKit/StoreKit.h>
  3. #import "LifeCycleListener.h"
  4. @protocol UnityEarlyTransactionObserverDelegate<NSObject>
  5. - (void)promotionalPurchaseAttempted:(SKPayment *)payment;
  6. @end
  7. @interface UnityEarlyTransactionObserver : NSObject<SKPaymentTransactionObserver, LifeCycleListener>
  8. {
  9. NSMutableSet *m_QueuedPayments;
  10. }
  11. @property BOOL readyToReceiveTransactionUpdates;
  12. // The delegate exists so that the observer can notify it of attempted promotional purchases.
  13. @property(nonatomic, weak) id<UnityEarlyTransactionObserverDelegate> delegate;
  14. + (UnityEarlyTransactionObserver*)defaultObserver;
  15. - (void)initiateQueuedPayments;
  16. @end
  17. #endif