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