Packagecom.myflashlab.air.extensions.firebase.db
Classpublic class DBDataSnapshot
InheritanceDBDataSnapshot Inheritance 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)).



Public Properties
 PropertyDefined 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
Property Detail
existsproperty
exists:Boolean  [read-only]

Returns true if the snapshot contains a non-null value.


Implementation
    public function get exists():Boolean
keyproperty 
key:String  [read-only]

the key name for the source location of this snapshot


Implementation
    public function get key():String
priorityproperty 
priority:String  [read-only]

Returns the priority of the data contained in this snapshot


Implementation
    public function get priority():String
valueproperty 
value:*  [read-only]

returns the data contained in this instance as native types. The possible types returned are:


Implementation
    public function get value():*