public interface TimeEstimator
| Modifier and Type | Method and Description | 
|---|---|
long | 
getUploadTimeLeft()
 | 
void | 
start()
Starts the time counting. 
 | 
void | 
stop()
Stops the time counting and updates the internal time counter. 
 | 
void | 
stop(long uploadedBytes)
Stops the time counting and updates the internal updates the internal
 time counter and counter of total number of transmitted bytes. 
 | 
void start()
void stop()
void stop(long uploadedBytes)
uploadedBytes - Number of bytes uploaded in a single time frame that is being
            sampled.long getUploadTimeLeft()
stop hasn't been called at least
         once before calling this method.