
public abstract static class CacheManager.CacheManagerDialog extends Object implements CacheManager.CacheManagerCallback
| Constructor and Description |
|---|
CacheManagerDialog(Context pCtx,
CacheManager.CacheManagerTask pTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadStarted()
as soon as the download is started, this is fired
|
protected abstract String |
getUITitle() |
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
|
protected String |
zoomMessage(int zoomLevel,
int zoomMin,
int zoomMax) |
public CacheManagerDialog(Context pCtx, CacheManager.CacheManagerTask pTask)
protected String zoomMessage(int zoomLevel, int zoomMin, int zoomMax)
protected abstract String getUITitle()
public void updateProgress(int progress,
int currentZoomLevel,
int zoomMin,
int zoomMax)
CacheManager.CacheManagerCallbackupdateProgress in interface CacheManager.CacheManagerCallbackpublic void downloadStarted()
CacheManager.CacheManagerCallbackdownloadStarted in interface CacheManager.CacheManagerCallbackpublic void setPossibleTilesInArea(int total)
CacheManager.CacheManagerCallbacksetPossibleTilesInArea in interface CacheManager.CacheManagerCallbackpublic void onTaskComplete()
CacheManager.CacheManagerCallbackonTaskComplete in interface CacheManager.CacheManagerCallbackpublic void onTaskFailed(int errors)
CacheManager.CacheManagerCallbackonTaskFailed in interface CacheManager.CacheManagerCallback