| Package | com.tuarua.firebase.firestore |
| Class | public class DocumentSnapshot |
| Inheritance | DocumentSnapshot Object |
| Property | Defined By | ||
|---|---|---|---|
| data : * | DocumentSnapshot | ||
| exists : Boolean = false True if the document exists. | DocumentSnapshot | ||
| id : String The ID of the document for which this DocumentSnapshot contains data. | DocumentSnapshot | ||
| metadata : SnapshotMetadata Metadata about this snapshot concerning its source and if it has local modifications. | DocumentSnapshot | ||
| Method | Defined By | ||
|---|---|---|---|
DocumentSnapshot(id:String, data:*, exists:Boolean, metadata:SnapshotMetadata) | DocumentSnapshot | ||
| data | property |
public var data:*| exists | property |
public var exists:Boolean = falseTrue if the document exists.
| id | property |
public var id:String The ID of the document for which this DocumentSnapshot contains data.
| metadata | property |
public var metadata:SnapshotMetadataMetadata about this snapshot concerning its source and if it has local modifications.
| DocumentSnapshot | () | Constructor |
public function DocumentSnapshot(id:String, data:*, exists:Boolean, metadata:SnapshotMetadata)id:String | |
data:* | |
exists:Boolean | |
metadata:SnapshotMetadata |