Skip to main content

Interface FileUploadListener


public interface FileUploadListener
This interface provides callback methods for - a. complete multi-part file upload b. a part of multi-part upload c. a complete single shot upload of multiple files An example usage can be as given below :
        private class FileUploadObserver implements FileUploadListener 

          public void onMultiPartUploadComplete( List resultList )

          

          public void onPartUpload( Result result )

          

          public void onFullFileUpload( List fileNames )

          
        
 
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when a single shot complete upload has been completed.
    void
    This method is called when all the parts of a multi-part upload have been completed.
    void
    This method is called whenever any part of a multi-part upload has been completed.
  • Method Details

    • onMultiPartUploadComplete

      void onMultiPartUploadComplete(List<Result> uploadResults)
      This method is called when all the parts of a multi-part upload have been completed.
      Parameters:
      uploadResults - - List of Result objects.
    • onPartUpload

      void onPartUpload(Result result)
      This method is called whenever any part of a multi-part upload 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
    • onFullFileUpload

      void onFullFileUpload(Result result)
      This method is called when a single shot complete upload has been completed.
      Parameters:
      result - - a list of file names