SKPaymentTransactionObserver_Extensions.ShouldAddStorePayment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to indicate that the user has started an in-app App Store purchase.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldAddStorePayment (this StoreKit.ISKPaymentTransactionObserver This, StoreKit.SKPaymentQueue queue, StoreKit.SKPayment payment, StoreKit.SKProduct product);
static member ShouldAddStorePayment : StoreKit.ISKPaymentTransactionObserver * StoreKit.SKPaymentQueue * StoreKit.SKPayment * StoreKit.SKProduct -> bool
Parameters
The instance on which this extension method operates.
- queue
- SKPaymentQueue
The payment queue on which the payment was made.
- payment
- SKPayment
The payment.
- product
- SKProduct
The product that was paid for.
Returns
- Attributes