repairPersistentMap abstract method
- RepairPersistentMapCallback callback
Tries to repair already downloaded regions that are in a corrupted state (see MapDownloader.getInitialPersistentMapStatus).
If indexing is enabled through OfflineSearchEngine.setIndexOptions, then index will be
rebuilt if existing index does not match with the installed map regions after this operation.
The index is used by OfflineSearchEngine to find better results.
Note: Indexing is a beta feature, so there could be a few bugs and unexpected behaviors.
callbackA callback which receives the result of the repair operation on the main thread.
Implementation
void repairPersistentMap(RepairPersistentMapCallback callback);