FirebaseFirestore Framework Reference

Protocols

The following protocols are available globally.

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

    Declaration

    Swift

    protocol ListenerRegistration : NSObjectProtocol
  • Marker protocol implemented by all supported cache settings.

    The two cache types supported are PersistentCacheSettings and MemoryCacheSettings. Custom implementation is not supported.

    Declaration

    Swift

    protocol LocalCacheSettings
  • Marker protocol implemented by all supported garbage collector settings.

    The two cache types supported are MemoryEagerGCSettings and MemoryLRUGCSettings. Custom implementation is not supported.

    Declaration

    Swift

    protocol MemoryGarbageCollectorSettings