FirebaseFirestore Framework Reference

Type Definitions

The following type definitions are available globally.

  • A block type used to handle snapshot updates.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    typedefNSIntegerFIRLoadBundleObserverHandle
  • A block type used to handle failable snapshot method callbacks.

    Declaration

    Objective-C

    typedefvoid(^FIRQuerySnapshotBlock)(FIRQuerySnapshot*_Nullable,NSError*_Nullable)

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-11 UTC.