TransactionListener

interface TransactionListener

Implement TransactionListener to be notified when a transaction ends. TransactionListener will notify you about the success, error or cancel state of the processed transaction.

Functions

onTransactionCancel
Link copied to clipboard
open fun onTransactionCancel(mobileToken: String)
This is called after a transaction has been cancelled.
onTransactionError
Link copied to clipboard
abstract fun onTransactionError(exception: TransactionException)
This is called after a transaction fails or encounters an error.
onTransactionSuccess
Link copied to clipboard
abstract fun onTransactionSuccess(result: TransactionSuccess)
This is called after a transaction has been successfully completed.