CatalogUpdateInfo class

Holds information for the catalog update intent.

Provides information regarding installed catalog and its latest available version.

Constructors

CatalogUpdateInfo(InstalledCatalog installedCatalog, int latestVersion)

Properties

diskSizeInBytes ↔ int
Estimates the size of the offline maps after an update. Note In order to estimate, if catalog update is feasible, given the amount of free space on the disk, application can compare amount of the free space on the disk with disk_size_in_bytes + temporary_disk_requirement_in_bytes.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
installedCatalog InstalledCatalog
Installed catalog.
getter/setter pair
latestVersion ↔ int
Latest version available for a catalog.
getter/setter pair
networkSizeInBytes ↔ int
Total size in bytes that needs to be downloaded over the network to update the installed catalog.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state CatalogUpdateState
State of current catalog update.
getter/setter pair
temporaryDiskRequirementInBytes ↔ int
Performing an update requires additional storage on top of existing offline maps. This space is used to store intermittent copy of map content according to the specified MapUpdaterMapUpdateVersionCommitPolicy. Note In order to estimate, if catalog update is feasible, given the amount of free space on the disk, application can compare amount of the free space on the disk with disk_size_in_bytes + temporary_disk_requirement_in_bytes.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.