Package dev.dosya.sdk.model
Class UploadProgress
java.lang.Object
dev.dosya.sdk.model.UploadProgress
Represents the progress of an ongoing file upload.
For multipart uploads, includes the number of parts completed and total parts.
For single-part uploads, these fields will be null.
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionUploadProgress(long bytesUploaded, long totalBytes, int percent, @NotNull String status) UploadProgress(long bytesUploaded, long totalBytes, int percent, @Nullable Integer partsCompleted, @Nullable Integer totalParts, @NotNull String status) -
Method Summary
-
Constructor Details
-
UploadProgress
public UploadProgress(long bytesUploaded, long totalBytes, int percent, @NotNull @NotNull String status) -
UploadProgress
-
-
Method Details
-
getBytesUploaded
public long getBytesUploaded() -
getTotalBytes
public long getTotalBytes() -
getPercent
public int getPercent() -
getPartsCompleted
-
getTotalParts
-
getStatus
-