getDownloadableRegionsWithLanguageCode abstract method
- LanguageCode languageCode,
- DownloadableRegionsCallback callback
Performs an asynchronous request to fetch a list of Region objects with Region.name
in given MapDownloader.getDownloadableRegionsWithLanguageCode.languageCode, that can be used to download the actual map data in a separate request.
-
languageCodeThe language code determines the language of Region.name. -
callbackCallback 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 getDownloadableRegionsWithLanguageCode(LanguageCode languageCode, DownloadableRegionsCallback callback);