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:)
Trait Implementations§
impl<T> ImplementedBy<T> for dyn SKPaymentQueueDelegate
Source§impl ProtocolType for dyn SKPaymentQueueDelegate
impl ProtocolType for dyn SKPaymentQueueDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".