Enumeration
MaplibreNativeFfiCacheDatabaseOperation
Description [src]
A maintenance action on a runtime’s cache database.
The cache database is the file that
MaplibreNativeFfiRuntimeOptions:cache-path names. It holds the ambient
cache, meaning the resources that maps loaded, and the offline regions.
See mln_cache_database_operation in the
C API reference.
Members
-
MAPLIBRE_NATIVE_FFI_CACHE_DATABASE_OPERATION_CLEAR -
Deletes the ambient cache’s resources and frees the space they used. Offline regions keep their resources.
- Value:
1 - Available since: 0
- Value:
-
MAPLIBRE_NATIVE_FFI_CACHE_DATABASE_OPERATION_INVALIDATE -
Keeps the ambient cache’s resources, but makes maps check each one with the server before they use it again. Offline regions keep their resources as they are.
- Value:
2 - Available since: 0
- Value:
-
MAPLIBRE_NATIVE_FFI_CACHE_DATABASE_OPERATION_PACK -
Compacts the whole database file to free the disk space that it no longer uses.
- Value:
3 - Available since: 0
- Value:
-
MAPLIBRE_NATIVE_FFI_CACHE_DATABASE_OPERATION_RESET -
Deletes the whole database, offline regions included, and starts an empty one.
- Value:
4 - Available since: 0
- Value: