public final class TransferProgress extends Object
Constructor and Description |
---|
TransferProgress() |
Modifier and Type | Method and Description |
---|---|
long |
getBytesTransfered()
Deprecated.
Replaced by
getBytesTransferred() |
long |
getBytesTransferred()
Returns the number of bytes completed in the associated transfer.
|
double |
getPercentTransfered()
Deprecated.
Replaced by
getPercentTransferred() |
double |
getPercentTransferred()
Returns a percentage of the number of bytes transferred out of the total
number of bytes to transfer.
|
long |
getTotalBytesToTransfer()
Returns the total size in bytes of the associated transfer, or -1
if the total size isn't known.
|
void |
setTotalBytesToTransfer(long totalBytesToTransfer) |
void |
updateProgress(long bytes) |
public long getBytesTransfered()
getBytesTransferred()
public long getBytesTransferred()
public long getTotalBytesToTransfer()
@Deprecated public double getPercentTransfered()
getPercentTransferred()
public double getPercentTransferred()
public void updateProgress(long bytes)
public void setTotalBytesToTransfer(long totalBytesToTransfer)
Copyright © 2020. All rights reserved.