clearPersistentMapStorage abstract method

void clearPersistentMapStorage(
  1. SDKCacheCallback callback
)

Performs an asynchronous operation to clear the persistent map storage from all data.

All downloaded regions will be removed. Note: Must be called only when no other region operation is ongoing. Returns an error if there is any active operation.

Any previously built index will also be deleted. See MapDownloader.downloadRegions to learn more about index.

  • callback Callback which receives the result of clearing on the main thread.

Implementation

void clearPersistentMapStorage(SDKCacheCallback callback);