PersistentLocalCache interface Stay organized with collections Save and categorize content based on your preferences.
Provides a persistent cache backed by IndexedDb to the SDK.
To use, create an instance using the factory function , then set the instance toFirestoreSettings.cache and callinitializeFirestore using the settings object.
Signature:
exportdeclareinterfacePersistentLocalCacheProperties
| Property | Type | Description |
|---|---|---|
| kind | 'persistent' |
PersistentLocalCache.kind
Signature:
kind:'persistent';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 2023-03-30 UTC.