Interface ResourceDownloaderListener

    • Method Detail

      • reportPercentComplete

        void reportPercentComplete​(ResourceDownloader downloader,
                                   int percentage)
      • reportAmountComplete

        void reportAmountComplete​(ResourceDownloader downloader,
                                  long amount)
      • reportActivity

        void reportActivity​(ResourceDownloader downloader,
                            java.lang.String activity)
      • completed

        boolean completed​(ResourceDownloader downloader,
                          java.io.InputStream data)
        Parameters:
        downloader -
        data -
        Returns:
        return true if the completed download is OK. If false is returned then if there are alternative download sources they will be tried. If there are no other sources then the download will be "failed"