getAvailableCountries

fun getAvailableCountries(installed: Boolean, listener: MapListResultListener): MapInstaller.Task

Fetches all currently available maps. When finished, it calls the listener with the list of available map ISO codes or operation result if fetching failed.

Return

Task of current running operation which can be cancelled

Parameters

installed

whether to fetch only installed maps on the device

listener

listener that will be called with the result when the operation finishes