Describes the status for an active Payload
transfer, either incoming or outgoing. Delivered to PayloadCallback.onPayloadTransferUpdate(String, PayloadTransferUpdate)
.
Nested Class Summary
@interface
The status of the payload transfer at the time
of this update.
Inherited Constant Summary
Field Summary
public static final Creator < PayloadTransferUpdate > | CREATOR |
Public Method Summary
boolean | |
long | |
long | |
int | |
long | |
int | hashCode
()
|
void |
Inherited Method Summary
Fields
public static final Creator < PayloadTransferUpdate > CREATOR
Public Methods
public boolean equals ( Object other)
public long getBytesTransferred ()
Returns the number of bytes transferred so far.
public long getPayloadId ()
Returns the payload identifier.
public int getStatus ()
Returns the status of the payload.
public long getTotalBytes ()
Returns the total number of bytes in the payload.