onDownloadRegionsComplete abstract method
- MapLoaderError? error,
- List<
RegionId> ? regions
Called after the download for all requested regions has been completed with success or failure.
In this callback, failure represents non-retryable error (eg. authentication failure because of invalid credentials and similars). Temporary failures (eg. network errors) are notified through DownloadRegionsStatusListener.onPause and downloads will be in paused state so they can be resumed later. Invoked on the main thread.
-
errorRepresents an error in case of a failure. It isnullfor an operation that succeeds. -
regionsRepresents a list of regions which has been downloaded. It isnullin case of an error.
Implementation
void onDownloadRegionsComplete(MapLoaderError? error, List<RegionId>? regions);