SKPaymentQueueDelegate

Trait SKPaymentQueueDelegate 

Source
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§

Source

unsafe fn paymentQueue_shouldContinueTransaction_inStorefront( &self, payment_queue: &SKPaymentQueue, transaction: &SKPaymentTransaction, new_storefront: &SKStorefront, ) -> bool
where Self: Sized + Message,

👎Deprecated: Pass Product.PurchaseOption.onStorefrontChange(shouldContinuePurchase:) to product.purchase(options:)
Available on crate features SKPaymentTransaction and SKStorefront only.
Source

unsafe fn paymentQueueShouldShowPriceConsent( &self, payment_queue: &SKPaymentQueue, ) -> bool
where Self: Sized + Message,

👎Deprecated: Use Message.messages and Message.display(in:)

Trait Implementations§

Source§

impl ProtocolType for dyn SKPaymentQueueDelegate

Source§

const NAME: &'static str = "SKPaymentQueueDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn SKPaymentQueueDelegate

Implementations on Foreign Types§

Source§

impl<T> SKPaymentQueueDelegate for ProtocolObject<T>

Implementors§