public class FileTransferStatistics extends Object
| Modifier and Type | Method and Description |
|---|---|
float |
getAverageThroughput()
Returns the average throughput in bytes per second.
|
int |
getElapsedTime()
Returns the number of seconds the download is already active.
|
int |
getEstimatedRemainingTime()
Gets the number of remaining seconds (estimated).
|
int |
getFileSize()
.
|
float |
getPercentTransferred()
Returns a value between 0 and 1 stating the percentage of already transfered data.
|
int |
getRemainingBytes()
returns the amount of bytes that has not yet been transferred.
|
int |
getTransferredBytes()
.
|
public int getFileSize()
public int getTransferredBytes()
public float getPercentTransferred()
public float getAverageThroughput()
public int getEstimatedRemainingTime()
public int getRemainingBytes()
public int getElapsedTime()
Copyright © 2017. All rights reserved.