public class AttachmentProgress
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AttachmentProgress(java.lang.String uuid,
long transferred,
long total)
Constructor
|
Modifier and Type | Method and Description |
---|---|
long |
getTotal()
Get the total size of an attachment
|
long |
getTransferred()
Get the bytes of attachment transferred
|
java.lang.String |
getUuid()
Get the UUID of a message with which the attachment is enclosed
|
public AttachmentProgress(java.lang.String uuid, long transferred, long total)
uuid
- The UUID of a messagetransferred
- The bytes of attachments transferredtotal
- The total size of the attachmentpublic java.lang.String getUuid()
public long getTransferred()
public long getTotal()