Package apple.storekit.protocol
Interface SKPaymentQueueDelegate
-
public interface SKPaymentQueueDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanpaymentQueueShouldContinueTransactionInStorefront(@NotNull SKPaymentQueue paymentQueue, @NotNull SKPaymentTransaction transaction, @NotNull SKStorefront newStorefront)Sent when the storefront changes while a payment is processing.default booleanpaymentQueueShouldShowPriceConsent(@NotNull SKPaymentQueue paymentQueue)Sent if there is a pending price consent confirmation from the App Store for the current user.
-
-
-
Method Detail
-
paymentQueueShouldContinueTransactionInStorefront
default boolean paymentQueueShouldContinueTransactionInStorefront(@NotNull @NotNull SKPaymentQueue paymentQueue, @NotNull @NotNull SKPaymentTransaction transaction, @NotNull @NotNull SKStorefront newStorefront)Sent when the storefront changes while a payment is processing. API-Since: 13.0
-
paymentQueueShouldShowPriceConsent
default boolean paymentQueueShouldShowPriceConsent(@NotNull @NotNull SKPaymentQueue paymentQueue)Sent if there is a pending price consent confirmation from the App Store for the current user. Return YES to immediately show the price consent UI. Return NO if you intend to show it at a later time. Defaults to YES. This may be called at any time that you have transaction observers on the payment queue, so make sure to set the delegate before adding any transaction observers if you intend to implement this method. API-Since: 13.4
-
-