TransactionCallback

interface TransactionCallback : Callback

Types

Action
Link copied to clipboard
sealed class Action

Functions

onError
Link copied to clipboard
abstract fun onError(error: WebcomError)

Called when an error happens

onTransactionComplete
Link copied to clipboard
abstract fun onTransactionComplete(isSuccessful: Boolean, snapshot: DataSnapshot)
runTransaction
Link copied to clipboard
abstract fun runTransaction(currentValue: JSONValue): TransactionCallback.Action