public static interface AntFsCommon.IAntFsProgressUpdateReceiver
| Modifier and Type | Method and Description |
|---|---|
void |
onNewAntFsProgressUpdate(AntFsState state,
long transferredBytes,
long totalBytes)
Receives the data from a AntFsProgressUpdate event.
|
void onNewAntFsProgressUpdate(AntFsState state, long transferredBytes, long totalBytes)
state - The current ANT-FS state.transferredBytes - The number of bytes transferred.
Note: There are cases in the process of retrying a download that this number can restart at a lower value.
This number is always the progress towards the total, not a count of total number of bytes sent over the connection.totalBytes - The total number of bytes to be transferred.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.