public interface ValueEventListener
Query.addValueEventListener(ValueEventListener)
.Modifier and Type | Method and Description |
---|---|
void |
onCancelled(FirebaseError error)
This method will be triggered in the event that this listener either failed at the server, or is removed as a
result of the security rules.
|
void |
onDataChange(DataSnapshot snapshot)
This method will be called with a snapshot of the data at this location.
|
void onDataChange(DataSnapshot snapshot)
snapshot
- The current data at the locationvoid onCancelled(FirebaseError error)
Copyright © 2013 Firebase. All Rights Reserved.