FirebaseFirestore Framework Reference

Protocols

The following protocols are available globally.

  • Represents a listener that can be removed by calling remove.

    Declaration

    Objective-C

    @protocolFIRListenerRegistration<NSObject>
  • Marker protocol implemented by all supported cache settings.

    The two cache types supported arePersistentCacheSettings andMemoryCacheSettings. Custom implementation is not supported.

    Declaration

    Objective-C

    @protocolFIRLocalCacheSettings
  • Marker protocol implemented by all supported garbage collector settings.

    The two cache types supported areMemoryEagerGCSettings andMemoryLRUGCSettings. Custom implementation is not supported.

    Declaration

    Objective-C

    @protocolFIRMemoryGarbageCollectorSettings

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.