public class NosTransferProgress
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
NosTransferProgress(java.lang.String key,
long transferred,
long total)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Get the unique key.
|
long |
getTotal()
Get the total size of the file.
|
long |
getTransferred()
Get the bytes that have been transferred.
|
public NosTransferProgress(java.lang.String key,
long transferred,
long total)
key - The unique identifier of a file. The key is the file path for upload and the URL for download.transferred - The bytes that have been transferredtotal - The total size of filespublic java.lang.String getKey()
public long getTransferred()
public long getTotal()