OfflineRangeCalculatorFactory
public enum OfflineRangeCalculatorFactory
A factory for creating an instance of RangeCalculator, as an offline service.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new
RangeCalculatorinstance with the given parameters.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public static func create( store: NDSStore, trafficService: Traffic? = nil ) throws -> RangeCalculatorParameters
storeAn
NDSStoreproviding access to the offline map.trafficServiceProvider of Traffic Events to be taken into account in range calculation.
Return Value
an instance of
RangeCalculator
TomTom SDK for iOS (0.53.1)
OfflineRangeCalculatorFactory