public final class TransferProgress extends Object
Constructor and Description |
---|
TransferProgress() |
Modifier and Type | Method and Description |
---|---|
long |
getBytesTransfered()
Deprecated.
Replaced by
TransferProgress.getBytesTransferred() |
long |
getBytesTransferred()
Returns the number of bytes completed in the associated transfer.
|
double |
getPercentTransfered()
Deprecated.
Replaced by
TransferProgress.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()
TransferProgress.getBytesTransferred()
public long getBytesTransferred()
public long getTotalBytesToTransfer()
@Deprecated public double getPercentTransfered()
TransferProgress.getPercentTransferred()
public double getPercentTransferred()
public void updateProgress(long bytes)
public void setTotalBytesToTransfer(long totalBytesToTransfer)
Copyright © 2024. All rights reserved.