FIRServerTimestampBehavior
enum FIRServerTimestampBehavior : NSInteger {}
Controls the return value for server timestamps that have not yet been set to their final value.
-
Return
NSNull
forFieldValue.serverTimestamp()
fields that have not yet been set to their final value.Declaration
Objective-C
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 change once the server result becomes available.Declaration
Objective-C
FIRServerTimestampBehaviorEstimate
-
Return the previous value for
FieldValue.serverTimestamp()
fields that have not yet been set to their final value.Declaration
Objective-C
FIRServerTimestampBehaviorPrevious