public static interface IDownloadSpeed.Monitor
| Modifier and Type | Method and Description |
|---|---|
void |
end(long sofarBytes)
End the monitor, and calculate the average speed during the entire downloading processing
|
void |
reset()
Reset the monitor.
|
void |
start(long startBytes)
Start the monitor.
|
void |
update(long sofarBytes)
Refresh the downloading speed.
|
void start(long startBytes)
void end(long sofarBytes)
sofarBytes - The so far downloaded bytes.void update(long sofarBytes)
sofarBytes - The so far downloaded bytes.void reset()