RegionUpdateState

class RegionUpdateState(val downloadAvailable: Boolean, val downloadSize: Memory)

The update state of an updatable Region.

This state indicates whether any newer region data can be downloaded (either an initial download or an update) and provides an estimated size for that download.

For guidance on how to map this state to UI actions (Download / Update / Repair / Delete), see the "UI guidance" section in RegionState.

Constructors

Link copied to clipboard
constructor(downloadAvailable: Boolean, downloadSize: Memory)

Properties

Link copied to clipboard

true if downloading would change the region data on the device (initial download or update), false if no newer data is available.

Link copied to clipboard

The estimated size to download. When downloadAvailable is false, this value is Memory.ZERO.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String