public interface SKPaymentTransactionObserver
| Modifier and Type | Method and Description |
|---|---|
default void |
removedTransactions(SKPaymentQueue queue,
List<SKPaymentTransaction> transactions)
It is used when one or more transactions have been removed from the
queue.
|
default void |
restoreCompletedTransactionsFailedWithError(SKPaymentQueue queue,
NSError error)
It is used when during transaction an error occurs.
|
default void |
restoreCompletedTransactionsFinished(SKPaymentQueue queue)
It is used when the queue completed the sending restored transactions.
|
void |
updatedTransactions(SKPaymentQueue queue,
List<SKPaymentTransaction> transactions)
It is used when one or more transactions of the queue have been updated.
|
void updatedTransactions(SKPaymentQueue queue, List<SKPaymentTransaction> transactions)
queue - The queue of the updated transactions.transactions - The list of the updated transactions.default void removedTransactions(SKPaymentQueue queue, List<SKPaymentTransaction> transactions)
queue - The queue of the transactions that have been removed.transactions - The list of the removed transactions.default void restoreCompletedTransactionsFailedWithError(SKPaymentQueue queue, NSError error)
queue - The queue that is involved in the transaction.error - The error that occurred.default void restoreCompletedTransactionsFinished(SKPaymentQueue queue)
queue - The queue that sent restored transactions.Copyright © 2020. All rights reserved.