TransactionDataObserver

interface TransactionDataObserver

Observer to monitor Receipt Upload Transactions that occur inside of the Sensibill SDK

To monitor transactions, add an implementation of TransactionDataObserver to the Sensibill SDK

SensibillSDK.addTransactionDataObserver(object : TransactionDataObserver {
override fun notify(transaction: Transaction) {
// Observer upload transaction
}
})

Types

Companion
Link copied to clipboard
object Companion

Functions

notify
Link copied to clipboard
abstract fun notify(transaction: Transaction)
Called when state of an receipt upload has changed