MapVersionHandle (API Reference)
Package com.here.sdk.maploader
Class MapVersionHandle
java.lang.Object
com.here.NativeBase
com.here.sdk.maploader.MapVersionHandle
Represents version of the map.
-
Method Summary
Modifier and TypeMethodDescriptionstringRepresentation(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 viasdk.maploader.MapUpdater.
-
Method Details
-
stringRepresentation
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.
nonetoken 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
-