DownloadProgress

Types

Link copied to clipboard
data class Error(val reason: String, val message: String) : DownloadProgress

The download has failed.

Link copied to clipboard
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

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

Link copied to clipboard
data class TileLimitExceeded(val limit: Long) : DownloadProgress

The download has exceeded the maximum number of allowed offline tiles. See OfflineManager.setTileCountLimit.

Link copied to clipboard

The download progress is unknown, typically because the SDK object has not initialized yet.