Interface UploadStatusCallback


  • public interface UploadStatusCallback
    Reports status information when uploading an application.
    • Method Detail

      • onCheckResources

        void onCheckResources()
        Called after the /resources call is made.
      • onMatchedFileNames

        void onMatchedFileNames​(Set<String> matchedFileNames)
        Called after the files to be uploaded have been identified.
        Parameters:
        matchedFileNames - the files to be uploaded
      • onProcessMatchedResources

        void onProcessMatchedResources​(int length)
        Called after the data to be uploaded has been processed
        Parameters:
        length - the size of the upload data (before compression)
      • onProgress

        boolean onProgress​(String status)
        Called during asynchronous upload process. Implementation can return true to unsubscribe from progress update reports. This is useful if the caller want to unblock the thread that initiated the upload. Note, however, that the upload job that has been asynchronously started will continue to execute on the server.
        Parameters:
        status - string such as "queued", "finished"
        Returns:
        true to unsubscribe from update report
      • onError

        void onError​(String description)