SKTransactionObserverWrapper class abstract

Callback handlers for transaction status changes.

Must be subclassed. Must be instantiated and added to the SKPaymentQueueWrapper via SKPaymentQueueWrapper.setTransactionObserver at app launch.

This class is a Dart wrapper around SKTransactionObserver.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paymentQueueRestoreCompletedTransactionsFinished() → void
Triggered when payment queue has finished sending restored transactions.
removedTransactions({required List<SKPaymentTransactionWrapper> transactions}) → void
Triggered when any transactions are removed from the payment queue.
restoreCompletedTransactionsFailed({required SKError error}) → void
Triggered when there is an error while restoring transactions.
shouldAddStorePayment({required SKPaymentWrapper payment, required SKProductWrapper product}) bool
Triggered when a user initiates an in-app purchase from App Store.
toString() String
A string representation of this object.
inherited
updatedTransactions({required List<SKPaymentTransactionWrapper> transactions}) → void
Triggered when any transactions are updated.

Operators

operator ==(Object other) bool
The equality operator.
inherited