Skip to main content

Interface FileDownloadListener


public interface FileDownloadListener
This interface provides callback method for - a. a complete single shot download of multiple files b. a part/segment download of a multi-part download c. one or more complete single part download
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when a single shot full file download has been completed.
    void
    This method is called when all segments/parts of a multi-part download have been completed.
    void
    This method is called whenever any part of a multi-part download has been completed.
  • Method Details

    • onMultiPartDownloadComplete

      void onMultiPartDownloadComplete(List<Result> results)
      This method is called when all segments/parts of a multi-part download have been completed.
      Parameters:
      results -
    • onPartDownload

      void onPartDownload(Result result)
      This method is called whenever any part of a multi-part download has been completed. This could be useful for getting information about how many parts out of the total number of parts have been completed.
      Parameters:
      result - - a Result object
    • onFullFileDownload

      void onFullFileDownload(List<String> fileNames)
      This method is called when a single shot full file download has been completed.
      Parameters:
      fileNames - - a list of file names