PersistentCacheSettings

class PersistentCacheSettings : LocalCacheSettings


Configures the SDK to use a persistent cache. Firestore documents and mutations are persisted across App restart.

This is the default cache type unless explicitly specified otherwise.

To use, create an instance using newBuilder, then set the instance to setLocalCacheSettings, and use the built FirebaseFirestoreSettings instance to configure the Firestore SDK.

Summary

Nested types

A Builder for creating PersistentCacheSettings instance.

Public functions

Boolean
equals(o: Any!)
Int
java-static PersistentCacheSettings.Builder

Returns a new instance of PersistentCacheSettings.Builder with default configurations.

String!

Public properties

Long

Public functions

equals

fun equals(o: Any!): Boolean

hashCode

fun hashCode(): Int

newBuilder

java-static fun newBuilder(): PersistentCacheSettings.Builder

Returns a new instance of PersistentCacheSettings.Builder with default configurations.

toString

fun toString(): String!

Public properties

sizeBytes

val sizeBytesLong