-
@Serializable() public final class UploadProgressProgress update emitted while OrigonClient.uploadAttachment is in flight.
totalBytesmay benullwhen the underlying transport doesn't report a content length (mirrors thetotal = -1sentinel from the native progress callback).percentisnullin the same case.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongbytesUploadedprivate final LongtotalBytesprivate final Integerpercent
-
Constructor Summary
Constructors Constructor Description UploadProgress(Long bytesUploaded, Long totalBytes, Integer percent)
-
Method Summary
Modifier and Type Method Description final LonggetBytesUploaded()final LonggetTotalBytes()final IntegergetPercent()-
-
Method Detail
-
getBytesUploaded
final Long getBytesUploaded()
-
getTotalBytes
final Long getTotalBytes()
-
getPercent
final Integer getPercent()
-
-
-
-