-
public interface CacheManager.CacheManagerCallback
-
-
Method Summary
Modifier and Type Method Description abstract voidonTaskComplete()fired when the download job is done. abstract voidupdateProgress(int progress, int currentZoomLevel, int zoomMin, int zoomMax)this is fired periodically, useful for updating dialogs, progress bars, etc abstract voiddownloadStarted()as soon as the download is started, this is fired abstract voidsetPossibleTilesInArea(int total)this is fired right before the download starts abstract voidonTaskFailed(int errors)this is fired when the task has been completed but had at least one download error. -
-
Method Detail
-
onTaskComplete
abstract void onTaskComplete()
fired when the download job is done.
-
updateProgress
abstract void updateProgress(int progress, int currentZoomLevel, int zoomMin, int zoomMax)
this is fired periodically, useful for updating dialogs, progress bars, etc
-
downloadStarted
abstract void downloadStarted()
as soon as the download is started, this is fired
-
setPossibleTilesInArea
abstract void setPossibleTilesInArea(int total)
this is fired right before the download starts
-
onTaskFailed
abstract void onTaskFailed(int errors)
this is fired when the task has been completed but had at least one download error.
-
-
-
-