DownloadResult

sealed class DownloadResult

Represents the result of a map download operation.

This sealed class provides different outcomes that can occur when attempting to download map data, including successful downloads, failed downloads, authorization issues, and cases where no update is available.

Since

0.0.86

Inheritors

Types

Link copied to clipboard
data class Failure(val error: MapUpdateError) : DownloadResult

Indicates that the download operation failed with an error.

Link copied to clipboard

Indicates that no map update is available for download.

Link copied to clipboard
data class Success : DownloadResult

Indicates a successful map download operation.

Link copied to clipboard

Indicates that the download operation failed due to authorization issues.