Enums

The following enums are available globally.

  • An enumeration of document change types.

    Declaration

    Swift

    enum DocumentChangeType : Int

    Objective-C

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

    Declaration

    Swift

    enum FirestoreErrorCode : Int

    Objective-C

    enum FIRFirestoreErrorCode : NSInteger {}