editionDownloadProgress

abstract fun editionDownloadProgress(edition: Edition, progress: Float, isBeingPreparedForPresentation: Boolean, downloadedBytes: Long, expectedTotalBytes: Long)

Called whenever the download progress changes. progress range is [0, 1], but it can be < 0 if the progress is undetermined. When isBeingPreparedForPresentation is true the download is completed but there are some needed operations going on until the edition can be presented.

The byte counts are only included during an active download. Once the download is completed, the values will be 1.