Package-level declarations
Functions
Adds a new document with an automatically generated id and data, a map of field values or a @Serializable class mapped by the format (see CollectionReference.add).
The document data as T (see toObject) and every change to it as a Flow, as the Android SDK's dataObjects.
The value of field as T, as the Android SDK's reified getField, through the serializer of T with the Android SDK's rules (FirebaseFormat.Firestore, see firestoreFormat) on every platform; Any stands for the value as it is. It takes the place of the SDK's reflective get(String, Class) and of the SDK's own reified getField<T>() (com.google.firebase.firestore.getField), which is deprecated with an error.
Writes data, a map of field values or a @Serializable class, replacing the document (see DocumentReference.set). The data is mapped by the format with its static type, so a generic class maps too; an Any maps by its runtime type.
Writes data (see DocumentReference.setData) to documentRef in the transaction.
Writes data (see DocumentReference.setData) to documentRef in the batch.
Writes data (see DocumentReference.setData) to documentRef in the transaction according to options.
Writes data (see DocumentReference.setData) to documentRef in the batch according to options.
The document as T, as the Android SDK's reified toObject, through the serializer of T with the Android SDK's rules (FirebaseFormat.Firestore, see firestoreFormat) on every platform, @DocumentId and @ServerTimestamp included; null when the document does not exist. It takes the place of the SDK's reflective toObject(Class) and of the SDK's own reified toObject<T>() (com.google.firebase.firestore.toObject), which is deprecated with an error.
The document as T (see DocumentSnapshot.toObject); a query document always exists.
The document as T (see toObject), with the server timestamps resolved as serverTimestampBehavior says.
The document as T (see DocumentSnapshot.toObject), with the server timestamps resolved as serverTimestampBehavior says.
The documents as T (see DocumentSnapshot.toObject), as the Android SDK's reified toObjects.
The documents as T (see DocumentSnapshot.toObject), with the server timestamps resolved as serverTimestampBehavior says.
Updates the fields in data, each a field value or a @Serializable class mapped by the format (see DocumentReference.update).
Updates the fields in data (see DocumentReference.updateData) of documentRef in the transaction.
Updates the fields in data (see DocumentReference.updateData) of documentRef in the batch.