com.google.firebase.database.DatabaseReference.CompletionListener |
This interface is used as a method of being notified when an operation has been acknowledged by the Database servers and can be considered complete
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method will be triggered when the operation has either succeeded or failed.
|
This method will be triggered when the operation has either succeeded or failed. If it has failed, an error will be given. If it has succeeded, the error will be null
Parameters | |
---|---|
error |
DatabaseError :
A description of any errors that occurred or null on success |
ref |
DatabaseReference :
A reference to the specified Firebase Database location
|