Share via


SKPaymentTransactionObserver.ShouldAddStorePayment Method

Definition

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

[Foundation.Export("paymentQueue:shouldAddStorePayment:forProduct:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldAddStorePayment(StoreKit.SKPaymentQueue queue, StoreKit.SKPayment payment, StoreKit.SKProduct product);
[<Foundation.Export("paymentQueue:shouldAddStorePayment:forProduct:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldAddStorePayment : StoreKit.SKPaymentQueue * StoreKit.SKPayment * StoreKit.SKProduct -> bool
override this.ShouldAddStorePayment : 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

Implements

Attributes

Applies to