ProgressWithOperations

Information about a progressing download.

This reports the totalOperations amount of operations to download, how many of them have already been downloadedOperations and finally a fraction indicating relative progress.

To obtain a ProgressWithOperations instance, use a method on SyncDownloadProgress which in turn is available on SyncStatusData.

Inheritors

Properties

Link copied to clipboard

How many operations, out of totalOperations, have already been downloaded.

Link copied to clipboard
open val fraction: Float

The relative amount of totalOperations to items in downloadedOperations, as a number between 0.0 and 1.0 (inclusive).

Link copied to clipboard
abstract val totalOperations: Int

How many operations need to be downloaded in total for the current download to complete.