FirebaseFirestoreSettings

class FirebaseFirestoreSettings


Settings used to configure a FirebaseFirestore instance.

Summary

Nested types

A Builder for creating FirebaseFirestoreSettings.

Constants

const Long

Constant to use with setCacheSizeBytes to disable garbage collection.

Public functions

Boolean
equals(o: Any!)
Int
Boolean

This function is deprecated.

Instead, use getCacheSettings to check which cache is used.

Boolean

Returns whether or not to use SSL for communication.

String

Constants

CACHE_SIZE_UNLIMITED

const val CACHE_SIZE_UNLIMITED = -1: Long

Constant to use with setCacheSizeBytes to disable garbage collection.

Public functions

equals

fun equals(o: Any!): Boolean

hashCode

fun hashCode(): Int

isPersistenceEnabled

fun isPersistenceEnabled(): Boolean

Returns whether or not to use local persistent storage.

isSslEnabled

fun isSslEnabled(): Boolean

Returns whether or not to use SSL for communication.

toString

fun toString(): String

Public properties

cacheSettings

val cacheSettingsLocalCacheSettings!

cacheSizeBytes

val cacheSizeBytesLong

host

val hostString!