DocumentSnapshot
The data of a document read from Firestore, mirroring com.google.firebase.firestore.DocumentSnapshot from the Firebase Android SDK. Field values are the Firestore types: Boolean, Long, Double, String, Timestamp, GeoPoint, Blob, DocumentReference, VectorValue, List and Map, and the BSON types BsonObjectId, BsonTimestamp, Decimal128Value, Int32Value, MaxKey, MinKey and RegexValue, as on Android; a document that does not exist has no data.
Not mirrored: the reflective mapping to custom classes (toObject, get(field, Class)) and the Date accessors (see api/android-sdk/exclusions.txt); use the reified toObject and getField of the Kotlin extensions and getTimestamp instead.
Inheritors
The data of a document read from Firestore, mirroring com.google.firebase.firestore.DocumentSnapshot from the Firebase Android SDK. Field values are the Firestore types: Boolean, Long, Double, String, Timestamp, GeoPoint, Blob, DocumentReference, VectorValue, List and Map, and the BSON types BsonObjectId, BsonTimestamp, Decimal128Value, Int32Value, MaxKey, MinKey and RegexValue, as on Android; a document that does not exist has no data.
Not mirrored: the reflective mapping to custom classes (toObject, get(field, Class)) and the Date accessors (see api/android-sdk/exclusions.txt); use the reified toObject and getField of the Kotlin extensions and getTimestamp instead.
Inheritors
Types
How a server timestamp that has not been written to the backend yet is read.
How a server timestamp that has not been written to the backend yet is read.
How a server timestamp that has not been written to the backend yet is read.
How a server timestamp that has not been written to the backend yet is read.
How a server timestamp that has not been written to the backend yet is read.
Properties
The underlying Firebase JS SDK object.
The underlying Firebase JS SDK object.
Whether the snapshot is from the cache or has pending writes.
Whether the snapshot is from the cache or has pending writes.
Whether the snapshot is from the cache or has pending writes.
Whether the snapshot is from the cache or has pending writes.
Whether the snapshot is from the cache or has pending writes.
The reference of the document.
The reference of the document.
The reference of the document.
The reference of the document.
The reference of the document.
Functions
The JS SDK creates a new object per read, so snapshots are equal when they are of the same document and data.
The value of fieldPath, or null.
The value of field (a .-separated path), or null.
The value of fieldPath with server timestamps resolved per serverTimestampBehavior.
The value of field with server timestamps resolved per serverTimestampBehavior.
The value of fieldPath, or null.
The value of field (a .-separated path), or null.
The value of fieldPath with server timestamps resolved per serverTimestampBehavior.
The value of field with server timestamps resolved per serverTimestampBehavior.
The value of fieldPath, or null.
The value of field (a .-separated path), or null.
The value of fieldPath with server timestamps resolved per serverTimestampBehavior.
The value of field with server timestamps resolved per serverTimestampBehavior.
The value of fieldPath, or null.
The value of field (a .-separated path), or null.
The value of fieldPath with server timestamps resolved per serverTimestampBehavior.
The value of field with server timestamps resolved per serverTimestampBehavior.
The value of fieldPath, or null.
The value of field (a .-separated path), or null.
The value of fieldPath with server timestamps resolved per serverTimestampBehavior.
The value of field with server timestamps resolved per serverTimestampBehavior.
The BsonObjectId at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonObjectId at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonObjectId at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonObjectId at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonObjectId at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonTimestamp at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonTimestamp at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonTimestamp at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonTimestamp at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The BsonTimestamp at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The fields as a map with server timestamps resolved per serverTimestampBehavior, or null when the document does not exist.
The fields as a map with server timestamps resolved per serverTimestampBehavior, or null when the document does not exist.
The fields as a map with server timestamps resolved per serverTimestampBehavior, or null when the document does not exist.
The fields as a map with server timestamps resolved per serverTimestampBehavior, or null when the document does not exist.
The fields as a map with server timestamps resolved per serverTimestampBehavior, or null when the document does not exist.
The Decimal128Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The Decimal128Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The Decimal128Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The Decimal128Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The Decimal128Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The value of fieldPath as T; on Apple platforms and JS a cast of DocumentSnapshot.get.
The value of field as T; on Apple platforms and JS a cast of DocumentSnapshot.get.
The Int32Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The Int32Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The Int32Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The Int32Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The Int32Value at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The RegexValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The RegexValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The RegexValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The RegexValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The RegexValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The VectorValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The VectorValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The VectorValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The VectorValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The VectorValue at field, or null; throws a ClassCastException when the field holds another type, as on Android.
The document as T; on Apple platforms and JS a cast of DocumentSnapshot.data.
The document as T; on Apple platforms and JS a cast of DocumentSnapshot.getData.