編輯

共用方式為


ISKPaymentTransactionObserver Interface

Definition

Interface representing the required methods (if any) of the protocol SKPaymentTransactionObserver.

[Foundation.Protocol(Name="SKPaymentTransactionObserver", WrapperType=typeof(StoreKit.SKPaymentTransactionObserverWrapper))]
public interface ISKPaymentTransactionObserver : IDisposable, ObjCRuntime.INativeObject
type ISKPaymentTransactionObserver = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by SKPaymentTransactionObserver.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the SKPaymentTransactionObserver protocol.

Optional methods (if any) are provided by the SKPaymentTransactionObserver_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

UpdatedTransactions(SKPaymentQueue, SKPaymentTransaction[])

Extension Methods

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