Healthy

data class Healthy(    val completedResourceCount: Long,     val completedResourceBytes: Long,     val completedTileCount: Long,     val completedTileBytes: Long,     val status: DownloadStatus,     val isRequiredResourceCountPrecise: Boolean,     val requiredResourceCount: Long) : DownloadProgress(source)

The download is in a known, healthy state. It may be progressing, paused, or completed.

Constructors

Link copied to clipboard
constructor(    completedResourceCount: Long,     completedResourceBytes: Long,     completedTileCount: Long,     completedTileBytes: Long,     status: DownloadStatus,     isRequiredResourceCountPrecise: Boolean,     requiredResourceCount: Long)

Properties

Link copied to clipboard

The cumulative size of the downloaded resources on disk, including tiles, measured in bytes.

Link copied to clipboard

The number of resources, including tiles, that have been completely downloaded and are ready to use offline.

Link copied to clipboard

The cumulative size of the downloaded tiles on disk, measured in bytes.

Link copied to clipboard

The number of tiles that have been completely downloaded and are ready to use offline.

Link copied to clipboard

Whether requiredResourceCount is an exact count or a lower bound.

Link copied to clipboard

The minimum number of resources that must be downloaded in order to view the pack’s full region without any omissions.

Link copied to clipboard