FirebaseFirestore Framework Reference

Type Definitions

The following type definitions are available globally.

  • A block type used to handle snapshot updates.

    Declaration

    Objective-C

    typedef void (^FIRDocumentSnapshotBlock)(FIRDocumentSnapshot *_Nullable,
                                             NSError *_Nullable)
  • A handle associated with registered observers that can be used to remove them.

    Declaration

    Objective-C

    typedef NSInteger FIRLoadBundleObserverHandle
  • A block type used to handle failable snapshot method callbacks.

    Declaration

    Objective-C

    typedef void (^FIRQuerySnapshotBlock)(FIRQuerySnapshot *_Nullable,
                                          NSError *_Nullable)