MapDownloaderConstructionCallback typedef
A method which is called on the main thread when MapDownloader.fromSdkEngineAsync has been completed.
The MapDownloader instance is created on a background thread to not block the calling
thread.
During construction an online connection is established to fetch configuration data for internal use. If no online connection is available, cached or default values will be used. This is only for internal reasons and has no effect on the operability of the resulting instance. When configuration data is available from the cache, construction can still take a reasonable amount of time. Applications should consider to show a loading indicator.
mapDownloaderRepresents a constructed MapDownloader object.
Implementation
typedef MapDownloaderConstructionCallback = void Function(MapDownloader mapDownloader);