public static class

Transaction.Result

extends Object
java.lang.Object
   ↳ com.google.firebase.database.Transaction.Result

Class Overview

Instances of this class represent the desired outcome of a single run of a Transaction.Handler's doTransaction method. The options are:

  • Set the data to the new value (success)
  • abort the transaction
Instances are created using success(MutableData) or abort().

Summary

Public Methods
boolean isSuccess()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean isSuccess ()

Returns
boolean Whether or not this result is a success