Package | com.myflashlab.air.extensions.firebase.db |
Class | public class DBDataSnapshot |
Inheritance | DBDataSnapshot Object |
A DataSnapshot instance contains data from a Firebase Database location. Any time you read Database data, you receive the data as a DataSnapshot.
DataSnapshots 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 DBReference reference (e.g. with setValue(Object)).
Property | Defined By | ||
---|---|---|---|
exists : Boolean [read-only]
Returns true if the snapshot contains a non-null value. | DBDataSnapshot | ||
key : String [read-only]
the key name for the source location of this snapshot
| DBDataSnapshot | ||
priority : String [read-only]
Returns the priority of the data contained in this snapshot
| DBDataSnapshot | ||
value : * [read-only]
returns the data contained in this instance as native types. | DBDataSnapshot |
exists | property |
exists:Boolean
[read-only] Returns true if the snapshot contains a non-null value.
public function get exists():Boolean
key | property |
key:String
[read-only] the key name for the source location of this snapshot
public function get key():String
priority | property |
priority:String
[read-only] Returns the priority of the data contained in this snapshot
public function get priority():String
value | property |
value:*
[read-only]
returns the data contained in this instance as native types. The possible types returned are:
public function get value():*