Upravit

Sdílet prostřednictvím


SKPaymentTransactionObserver_Extensions Class

Definition

Extension methods to the ISKPaymentTransactionObserver interface to support all the methods from the SKPaymentTransactionObserver protocol.

public static class SKPaymentTransactionObserver_Extensions
type SKPaymentTransactionObserver_Extensions = class
Inheritance
SKPaymentTransactionObserver_Extensions

Remarks

The extension methods for ISKPaymentTransactionObserver allow developers to treat instances of the interface as having all the optional methods of the original SKPaymentTransactionObserver protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

PaymentQueueRestoreCompletedTransactionsFinished(ISKPaymentTransactionObserver, SKPaymentQueue)
Obsolete.

Method that is called when the payment queue is done sending restored transactions.

RemovedTransactions(ISKPaymentTransactionObserver, SKPaymentQueue, SKPaymentTransaction[])

Method that is called after transactions have been removed from the queue.

RestoreCompletedTransactionsFailedWithError(ISKPaymentTransactionObserver, SKPaymentQueue, NSError)

Method that is called when an error occurs while restoring transactions.

RestoreCompletedTransactionsFinished(ISKPaymentTransactionObserver, SKPaymentQueue)

Method that is called after transactions have been restored.

ShouldAddStorePayment(ISKPaymentTransactionObserver, SKPaymentQueue, SKPayment, SKProduct)

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

UpdatedDownloads(ISKPaymentTransactionObserver, SKPaymentQueue, SKDownload[])

Method that is called when one or more downloads has been updated by the queue.

Applies to