Enumerations

The following enumerations are available globally.

  • An enumeration of document change types.

    Declaration

    Objective-C

    enum FIRDocumentChangeType {}
  • Controls the return value for server timestamps that have not yet been set to their final value.

    Declaration

    Objective-C

    enum FIRServerTimestampBehavior {}
  • Error codes used by Cloud Firestore.

    Declaration

    Objective-C

    enum FIRFirestoreErrorCode {}
  • An enum that configures the behavior of DocumentReference.getDocument() and Query.getDocuments(). By providing a source enum the getDocument[s] methods can be configured to fetch results only from the server, only from the local cache, or attempt to fetch results from the server and fall back to the cache (which is the default).

    Declaration

    Objective-C

    enum FIRFirestoreSource {}