Share via


SKPaymentTransactionObserver_Extensions.ShouldAddStorePayment Method

Definition

Called to indicate that the user has started an in-app App Store purchase.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool ShouldAddStorePayment(this StoreKit.ISKPaymentTransactionObserver This, StoreKit.SKPaymentQueue queue, StoreKit.SKPayment payment, StoreKit.SKProduct product);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ShouldAddStorePayment : StoreKit.ISKPaymentTransactionObserver * StoreKit.SKPaymentQueue * StoreKit.SKPayment * StoreKit.SKProduct -> bool

Parameters

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

Applies to