MapDownloaderTask (API Reference)
Class MapDownloaderTask
A class to control map download process.
-
Method Summary
-
Method Details
-
cancel
public void cancel()Cancels the ongoing map download operation. Operation cannot be resumed afterwards. It will do nothing if the task was already cancelled or has been completed. Status of the call will be reported via
DownloadRegionsStatusListener.onDownloadRegionsComplete(com.here.sdk.maploader.MapLoaderError, java.util.List<com.here.sdk.maploader.RegionId>).MapLoaderError.OPERATION_CANCELLEDwill be reported for successful cancel. -
pause
public void pause()Pauses the ongoing map download operation. Operation can be resumed afterwards. It will do nothing if operation is not in running state. Status of the call will be reported via
DownloadRegionsStatusListener.onPause(com.here.sdk.maploader.MapLoaderError). -
resume
public void resume()Resumes paused map download operation. It will do nothing if operation is not in paused state. Status of the call will be reported via
DownloadRegionsStatusListener.onResume().
-