public class UploadProgress extends Object
| Constructor and Description |
|---|
UploadProgress(long totalBytes) |
| Modifier and Type | Method and Description |
|---|---|
UploadProgress |
addProgress(int bytes)
Adds a chunk of the specified size to the progress of the upload.
|
long |
getTotalBytes() |
long |
getTransmittedBytes() |
int |
getUploadedChunks() |
public UploadProgress addProgress(int bytes)
bytes - The size in bytes of the chunk successfully uploaded.public int getUploadedChunks()
public long getTransmittedBytes()
public long getTotalBytes()
Copyright © 2022. All rights reserved.