getOfflineMapsStorageSizeInBytesAsync abstract method

TaskHandle getOfflineMapsStorageSizeInBytesAsync(
  1. OfflineStorageSizeCallback callback
)

Get the total size of all downloaded regions currently persisted on disk at the location that is specified via SDKOptions.persistentMapStoragePath.

This includes also data that is currently being downloaded.

  • callback A callback which receives the value of offline map size or error on the main thread.

Returns TaskHandle. Handle that will be used to manipulate the execution of the task, for example, to cancel on ongoing request.

Implementation

TaskHandle getOfflineMapsStorageSizeInBytesAsync(OfflineStorageSizeCallback callback);