DataSnapshot
A DataSnapshot instance contains data from a Firebase Database location. Any time you read Database data, you receive the data as a DataSnapshot.
They are efficiently-generated immutable copies of the data at a Firebase Database location. They can't be modified and will never change. To modify data at a location, use a
DatabaseReference reference (e.g. with DatabaseReference.setValue).
Properties
The underlying Firebase Android SDK object.
Gives access to all of the immediate children of this snapshot. Can be used in native for loops:
The Android-SDK-shaped com.google.firebase.database.DataSnapshot this wraps.
The underlying Firebase JS SDK database.
The underlying Firebase JS SDK database.
Indicates whether this snapshot has any children
The underlying Firebase iOS SDK object.
The underlying Firebase JS SDK object.
The underlying Firebase JS SDK object.
Used to obtain a reference to the source location for this snapshot.