Package 

Interface CacheManager.CacheManagerCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onTaskComplete() fired when the download job is done.
      abstract void updateProgress(int progress, int currentZoomLevel, int zoomMin, int zoomMax) this is fired periodically, useful for updating dialogs, progress bars, etc
      abstract void downloadStarted() as soon as the download is started, this is fired
      abstract void setPossibleTilesInArea(int total) this is fired right before the download starts
      abstract void onTaskFailed(int errors) this is fired when the task has been completed but had at least one download error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.