getDownloadableRegions abstract method

TaskHandle getDownloadableRegions(
  1. DownloadableRegionsCallback callback
)

Performs an asynchronous request to fetch a list of Region objects for downloading map data in a separate request.

The default language for Region.name is LanguageCode.enUs.

  • callback Callback which receives the result 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 getDownloadableRegions(DownloadableRegionsCallback callback);