public abstract class FileProgressCallback
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cancelled |
protected int |
total |
| Constructor and Description |
|---|
FileProgressCallback() |
| Modifier and Type | Method and Description |
|---|---|
int |
getTotal() |
void |
increment(int bytesLength) |
boolean |
isCancelled() |
void |
onBytes(byte[] bytes) |
abstract void |
onProgress(int totalBytes) |
void |
setCancelled(boolean cancelled) |