CatalogUpdateInfo

public struct CatalogUpdateInfo : Hashable

Holds information for the catalog update intent. Provides information regarding installed catalog and its latest available version.

  • Installed catalog.

    Declaration

    Swift

    public var installedCatalog: InstalledCatalog
  • Latest version available for a catalog.

    Declaration

    Swift

    public var latestVersion: Int64
  • State of current catalog update.

    Declaration

    Swift

    public var state: CatalogUpdateState
  • Total size in bytes that needs to be downloaded over the network to update the installed catalog.

    Declaration

    Swift

    public var networkSizeInBytes: Int64
  • 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.

    Declaration

    Swift

    public var diskSizeInBytes: Int64
  • 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 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 with disk_size_in_bytes + temporary_disk_requirement_in_bytes.

    Declaration

    Swift

    public var temporaryDiskRequirementInBytes: Int64