MemoryLocalCache interface Stay organized with collections Save and categorize content based on your preferences.
Provides an in-memory cache to the SDK. This is the default cache unless explicitly configured otherwise.
To use, create an instance using the factory function , then set the instance toFirestoreSettings.cache and callinitializeFirestore using the settings object.
Signature:
exportdeclareinterfaceMemoryLocalCacheProperties
| Property | Type | Description |
|---|---|---|
| kind | 'memory' |
MemoryLocalCache.kind
Signature:
kind:'memory';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.