FIRFieldValue


@interface FIRFieldValue : NSObject

Sentinel values that can be used when writing document fields with setData() or updateData().

  • Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Used with updateData() to mark a field for deletion.

    Declaration

    Objective-C

    + (nonnull instancetype)fieldValueForDelete;
  • Used with setData() or updateData() to include a server-generated timestamp in the written data.

    Declaration

    Objective-C

    + (nonnull instancetype)fieldValueForServerTimestamp;