clearAppCache abstract method

void clearAppCache(
  1. SDKCacheCallback callback
)

Clears all data that is currently stored in the SDK cache.

Path for cache is specified by SDKOptions.cachePath. The operation can have unexpected behaviour when it is called during a map interaction, during turn-by-turn navigation (only available for the Navigate license) or during ongoing requests initiated by the OfflineSearchEngine or the OfflineRouteEngine (only available for the Navigate license).

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

Implementation

void clearAppCache(SDKCacheCallback callback);