Class CatalogUpdateInfo

java.lang.Object
com.here.sdk.maploader.CatalogUpdateInfo

public final class CatalogUpdateInfo extends Object

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

  • Field Details

    • installedCatalog

      @NonNull public InstalledCatalog installedCatalog

      Installed catalog.

    • latestVersion

      public long latestVersion

      Latest version available for a catalog.

    • state

      @NonNull public CatalogUpdateState state

      State of current catalog update.

    • networkSizeInBytes

      public long networkSizeInBytes

      Total size in bytes that needs to be downloaded over the network to update the installed catalog.

    • diskSizeInBytes

      public long diskSizeInBytes

      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.

    • temporaryDiskRequirementInBytes

      public long temporaryDiskRequirementInBytes

      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.

  • Method Details