Packagecom.myflashlab.air.extensions.firebase.firestore
Classpublic class FirestoreSettings
InheritanceFirestoreSettings Inheritance Object

Settings used to configure a FirebaseFirestore instance.



Public Properties
 PropertyDefined By
  cacheSizeBytes : Number
Sets an approximate cache size threshold for the on-disk data.
FirestoreSettings
  host : String
Indicates the host of the Firestore backend.
FirestoreSettings
  isPersistenceEnabled : Boolean
Indicates whether or not to use local persistent storage.
FirestoreSettings
  isSslEnabled : Boolean
Indicates whether or not to use SSL for communication.
FirestoreSettings
Property Detail
cacheSizeBytesproperty
cacheSizeBytes:Number

Sets an approximate cache size threshold for the on-disk data. If the cache grows beyond this size, Firestore will start removing data that hasn't been recently used. The size is not a guarantee that the cache will stay below that size, only that if the cache exceeds the given size, cleanup will be attempted.

Cache size will be unlimited if set to -1

Default value is 104857600 bytes, equal to 100MB.


Implementation
    public function get cacheSizeBytes():Number
    public function set cacheSizeBytes(value:Number):void
hostproperty 
host:String

Indicates the host of the Firestore backend.


Implementation
    public function get host():String
    public function set host(value:String):void
isPersistenceEnabledproperty 
isPersistenceEnabled:Boolean

Indicates whether or not to use local persistent storage.


Implementation
    public function get isPersistenceEnabled():Boolean
    public function set isPersistenceEnabled(value:Boolean):void
isSslEnabledproperty 
isSslEnabled:Boolean

Indicates whether or not to use SSL for communication.


Implementation
    public function get isSslEnabled():Boolean
    public function set isSslEnabled(value:Boolean):void