SKPaymentTransactionObserver_Extensions.ShouldAddStorePayment Method

Definition

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

This
ISKPaymentTransactionObserver

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

Boolean
Attributes

Applies to