blob: b834eae14b9bca88be76dee9181a6efa9ec09e1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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);
}
|