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 RangeCalculator
instance 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
-> RangeCalculator
Parameters
store
|
An |
trafficService
|
Provider of Traffic Events to be taken into account in range calculation. |
Return Value
an instance of RangeCalculator