MapVersionHandle
public class MapVersionHandle
extension MapVersionHandle: NativeBase
extension MapVersionHandle: Hashable
Represents version of the map.
-
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.Declaration
Swift
public func stringRepresentation(separator: String) -> StringParameters
separatorSeparator 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”
Return Value
A string representation of the map version in the format