Skip to content

Commit

Permalink
Define get method for received byte size of active task
Browse files Browse the repository at this point in the history
  • Loading branch information
velitasali committed Sep 7, 2018
1 parent 237ce76 commit de92c03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/genonbeta/CoolSocket/CoolTransfer.java
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,11 @@ public boolean doNotify(CoolTransfer<T> transfer, TransferHandler<T> handler)
return true;
}

public long getCurrentTransferredByte()
{
return mCurrentTransferredByte;
}

public long getLastNotified()
{
return mLastNotified;
Expand Down

0 comments on commit de92c03

Please sign in to comment.