SDKCache class abstract
A class to manage SDK Cache.
Path for SDKCache is specified via SDKOptions.cachePath. SDKCache manages temporary downloaded map data during map interaction and follows LRU (least recently used) strategy to delete map data when cache size exceeds the specified SDKOptions.cacheSizeInBytes.
Constructors
- SDKCache()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearAppCache(
SDKCacheCallback callback) → void - Clears all data that is currently stored in the SDK cache.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromSdkEngine(
SDKNativeEngine sdkEngine) → SDKCache - Gets a single instance of this class per provided SDKNativeEngine.