FirebaseFirestore Framework Reference

Enumerations

The following enumerations are available globally.

  • The sources from which an AggregateQuery can retrieve its results.

    See AggregateQuery.getAggregation(source:completion:).

    Declaration

    Objective-C

    enum FIRAggregateSource : NSUInteger {}
  • An enumeration of document change types.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    enum FIRFirestoreErrorCode : NSInteger {}
  • 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 : NSUInteger {}
  • Represents the state of bundle loading tasks.

    Both error and inProgress are final states: the task will be in either an aborted or completed state and there will be no more subsequent updates.

    Declaration

    Objective-C

    enum FIRLoadBundleTaskState : NSInteger {}