Class MapVersionHandle

java.lang.Object
com.here.NativeBase
com.here.sdk.maploader.MapVersionHandle

public final class MapVersionHandle extends NativeBase

Represents version of the map.

  • Method Details

    • stringRepresentation

      @NonNull public String stringRepresentation(@NonNull String separator)

      Returns a string representation of the map version in the format "[cache-version][separator][offline-maps-version], [japan-cache-version][separator][japan-offline-maps-version]", which can be obtained via sdk.maploader.MapUpdater.

      Parameters:
      separator -

      Separator being used between elements of the map version. In case map version has single element to it, separator is not used. none token is used, when it is not possible to determine the version of the map.

      Examples:

      • separator=", " possible result is "8.10, 9.10"
      • separator="." possible result is "8.10.9.10"
      • separator="; " possible result is "8.10; 9.10"
      • separator="; " possible result is "8.10"
      Returns:

      A string representation of the map version in the format