Interface Upload.ProgressListener

  • All Superinterfaces:
    Serializable
    Enclosing class:
    Upload

    @Deprecated
    public static interface Upload.ProgressListener
    extends Serializable
    Deprecated.
    ProgressListener receives events to track progress of upload.
    • Method Detail

      • updateProgress

        void updateProgress​(long readBytes,
                            long contentLength)
        Deprecated.
        Updates progress to listener.
        Parameters:
        readBytes - bytes transferred
        contentLength - total size of file currently being uploaded, -1 if unknown