package de.thedevstack.conversationsplus.http; /** * */ public interface ProgressListener { /** * React on transferred bytes. * @param bytesRead the number of bytes transferred in the current chunk * @param contentLength the total number of bytes to be transferred * @param done whether there are bytes left or not */ void update(long bytesRead, long contentLength, boolean done); }