CatalogUpdateInfo (API Reference)
Class CatalogUpdateInfo
Holds information for the catalog update intent. Provides information regarding installed catalog and its latest available version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongEstimates the size of the offline maps after an update.Installed catalog.longLatest version available for a catalog.longTotal size in bytes that needs to be downloaded over the network to update the installed catalog.State of current catalog update.longPerforming an update requires additional storage on top of existing offline maps. -
Method Summary
-
Field Details
-
installedCatalog
Installed catalog.
-
latestVersion
public long latestVersionLatest version available for a catalog.
-
state
State of current catalog update.
-
networkSizeInBytes
public long networkSizeInBytesTotal size in bytes that needs to be downloaded over the network to update the installed catalog.
-
diskSizeInBytes
public long diskSizeInBytesEstimates 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. -
temporaryDiskRequirementInBytes
public long temporaryDiskRequirementInBytesPerforming 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
MapUpdater.MapUpdateVersionCommitPolicy. 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 withdisk_size_in_bytes + temporary_disk_requirement_in_bytes.
-
-
Method Details