Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofrancis committed Jun 30, 2018
1 parent db2f18a commit 275648d
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
package com.tonyodev.fetch2core

/** Class used to hold partial downloaded information for a download.*/
interface DownloadBlock {

/* Download ID.*/
val downloadId: Int

/** Position in the downloading block sequence.*/
val blockPosition: Int

/** Block start position.*/
val startByte: Long

/* Block end position.*/
val endByte: Long

/* Downloaded bytes in block.*/
val downloadedBytes: Long

/** Progress completion of block.*/
val progress: Int

/** Copy DownloadBlock object.*/
fun copy(): DownloadBlock

}

0 comments on commit 275648d

Please sign in to comment.