Enum Class PersistentMapRepairError

java.lang.Object
java.lang.Enum<PersistentMapRepairError>
com.here.sdk.maploader.PersistentMapRepairError
All Implemented Interfaces:
Serializable, Comparable<PersistentMapRepairError>, Constable

public enum PersistentMapRepairError extends Enum<PersistentMapRepairError>

Specifies possible errors that may result after a map repair operation has been completed.

  • Enum Constant Details

    • PARTIALLY_RESTORED

      public static final PersistentMapRepairError PARTIALLY_RESTORED

      Persistent map is repaired, but some map data is lost. Lost regions marked with a PENDING status.

    • INVALID_PATH

      public static final PersistentMapRepairError INVALID_PATH

      Invalid persistent map path. The provided path to store the persistent map data doesn't own the required Read/Write (RW) permissions. Try to choose a different path with RW permissions.

    • BROKEN_DB

      public static final PersistentMapRepairError BROKEN_DB

      The persisted map data can't be recovered and all map data was fully deleted. It is recommended, to ask the user if they want to try to download the lost regions again.

    • NO_OFFLINE_VERSION

      public static final PersistentMapRepairError NO_OFFLINE_VERSION

      The map data version was not cached. The region list data will be cleared from the persisted storage. It is recommended to download the list of downloadable regions again. After this it is recommended to try to repair the corrupted map data again.

    • NO_JOURNAL

      public static final PersistentMapRepairError NO_JOURNAL

      It is not possible to retrieve the list of downloaded regions. The region list data will be cleared from the persisted storage. It is recommended to download the list of downloadable regions again. After this it is recommended to try to repair the corrupted map data again.

    • BROKEN_UPDATE

      public static final PersistentMapRepairError BROKEN_UPDATE

      Unrecoverable error during construction of pending update parameters. Operations such as catalog updates or region downloads will fail. The healing procedure is to clean persistent map with sdk.maploader.MapDownloader.clear_persistent_map_storage.

    • OPERATION_AFTER_DISPOSE

      public static final PersistentMapRepairError OPERATION_AFTER_DISPOSE

      Repair is invoked on object connected to the disposed SDKNativeEngine

    • UNKNOWN

      public static final PersistentMapRepairError UNKNOWN

      An unknown error occurred. Try to clear the persisted storage by calling sdk.maploader.MapDownloader.clear_persistent_map_storage. It is recommended, to ask the user if they want to try to download the lost regions again.

  • Method Details

    • values

      public static PersistentMapRepairError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PersistentMapRepairError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null