aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Public
diff options
context:
space:
mode:
authorGravatar Sebastian Schmidt <mrschmidt@google.com>2017-12-12 07:11:39 +0800
committerGravatar Sebastian Schmidt <mrschmidt@google.com>2017-12-12 07:11:39 +0800
commit5b1ca51e7264b5ac581c7a0382beb44ed65bdf14 (patch)
tree8fc0ba38792944b8e6d599eaa11896d66b3801da /Firestore/Source/Public
parent64066c643d4e1fff7d00d656201d056f10fb2c36 (diff)
Addressing comments
Diffstat (limited to 'Firestore/Source/Public')
-rw-r--r--Firestore/Source/Public/FIRDocumentSnapshot.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Firestore/Source/Public/FIRDocumentSnapshot.h b/Firestore/Source/Public/FIRDocumentSnapshot.h
index e8e73c9..994cabf 100644
--- a/Firestore/Source/Public/FIRDocumentSnapshot.h
+++ b/Firestore/Source/Public/FIRDocumentSnapshot.h
@@ -27,6 +27,12 @@ NS_ASSUME_NONNULL_BEGIN
*/
typedef NS_ENUM(NSInteger, FIRServerTimestampBehavior) {
/**
+ * Return `NSNull` for `FieldValue.serverTimestamp()` fields that have not yet
+ * been set to their final value.
+ */
+ FIRServerTimestampBehaviorNone,
+
+ /**
* Return a local estimates for `FieldValue.serverTimestamp()`
* fields that have not yet been set to their final value. This estimate will
* likely differ from the final value and may cause these pending values to
@@ -38,13 +44,7 @@ typedef NS_ENUM(NSInteger, FIRServerTimestampBehavior) {
* Return the previous value for `FieldValue.serverTimestamp()` fields that
* have not yet been set to their final value.
*/
- FIRServerTimestampBehaviorPrevious,
-
- /**
- * Return `NSNull` for `FieldValue.serverTimestamp()` fields that have not yet
- * been set to their final value.
- */
- FIRServerTimestampBehaviorNone
+ FIRServerTimestampBehaviorPrevious
};
/**