-
- All Implemented Interfaces:
-
org.osmdroid.tileprovider.cachemanager.CacheManager.CacheManagerCallback
public abstract class CacheManager.CacheManagerDialog implements CacheManager.CacheManagerCallback
-
-
Constructor Summary
Constructors Constructor Description CacheManager.CacheManagerDialog(Context pCtx, CacheManager.CacheManagerTask pTask)
-
Method Summary
Modifier and Type Method Description voidupdateProgress(int progress, int currentZoomLevel, int zoomMin, int zoomMax)this is fired periodically, useful for updating dialogs, progress bars, etc voiddownloadStarted()as soon as the download is started, this is fired voidsetPossibleTilesInArea(int total)this is fired right before the download starts voidonTaskComplete()fired when the download job is done. voidonTaskFailed(int errors)this is fired when the task has been completed but had at least one download error. -
-
Constructor Detail
-
CacheManager.CacheManagerDialog
CacheManager.CacheManagerDialog(Context pCtx, CacheManager.CacheManagerTask pTask)
-
-
Method Detail
-
updateProgress
void updateProgress(int progress, int currentZoomLevel, int zoomMin, int zoomMax)
this is fired periodically, useful for updating dialogs, progress bars, etc
-
downloadStarted
void downloadStarted()
as soon as the download is started, this is fired
-
setPossibleTilesInArea
void setPossibleTilesInArea(int total)
this is fired right before the download starts
-
onTaskComplete
void onTaskComplete()
fired when the download job is done.
-
onTaskFailed
void onTaskFailed(int errors)
this is fired when the task has been completed but had at least one download error.
-
-
-
-