public class DownloadState extends Object
| Modifier and Type | Field and Description |
|---|---|
static DownloadState |
DONE |
| Constructor and Description |
|---|
DownloadState(int transferSize,
int transferProgress,
String status,
Long jobId)
Create a new download state instance
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getJobId() |
String |
getStatus() |
int |
getTransferProgress() |
int |
getTransferSize() |
String |
toString() |
public static final DownloadState DONE
public DownloadState(int transferSize,
int transferProgress,
String status,
Long jobId)
transferSize - the amount of bytes to transfertransferProgress - the state of the progress (0 to 100)status - the status value (IN_PROGRESS, COMPLETED, CANCELLED, ...)jobId - the job jdCopyright © 2017. All rights reserved.