Package | com.myflashlab.air.extensions.firebase.firestore |
Class | public class FirestoreSettings |
Inheritance | FirestoreSettings Object |
Property | Defined 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 |
cacheSizeBytes | property |
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.
public function get cacheSizeBytes():Number
public function set cacheSizeBytes(value:Number):void
host | property |
host:String
Indicates the host of the Firestore backend.
public function get host():String
public function set host(value:String):void
isPersistenceEnabled | property |
isPersistenceEnabled:Boolean
Indicates whether or not to use local persistent storage.
public function get isPersistenceEnabled():Boolean
public function set isPersistenceEnabled(value:Boolean):void
isSslEnabled | property |
isSslEnabled:Boolean
Indicates whether or not to use SSL for communication.
public function get isSslEnabled():Boolean
public function set isSslEnabled(value:Boolean):void