pub unsafe trait SKPaymentQueueDelegate: NSObjectProtocol {
// Provided methods
unsafe fn paymentQueue_shouldContinueTransaction_inStorefront(
&self,
payment_queue: &SKPaymentQueue,
transaction: &SKPaymentTransaction,
new_storefront: &SKStorefront,
) -> bool
where Self: Sized + Message { ... }
unsafe fn paymentQueueShouldShowPriceConsent(
&self,
payment_queue: &SKPaymentQueue,
) -> bool
where Self: Sized + Message { ... }
}👎Deprecated: No longer supported
Available on crate feature
SKPaymentQueue only.Expand description
Provided Methods§
unsafe fn paymentQueue_shouldContinueTransaction_inStorefront( &self, payment_queue: &SKPaymentQueue, transaction: &SKPaymentTransaction, new_storefront: &SKStorefront, ) -> bool
👎Deprecated: Pass Product.PurchaseOption.onStorefrontChange(shouldContinuePurchase:) to product.purchase(options:)
Available on crate features
SKPaymentTransaction and SKStorefront only.unsafe fn paymentQueueShouldShowPriceConsent( &self, payment_queue: &SKPaymentQueue, ) -> bool
👎Deprecated: Use Message.messages and Message.display(in:)