Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | Class Methods | Properties | List of all members
NMExternalRouteParameters Class Reference

Inherits <NSObject>.

Instance Methods

(nonnull instancetype) - NS_UNAVAILABLE
 

Class Methods

(nonnull instancetype) + NS_UNAVAILABLE
 

Properties

BOOL isWalkingMode
 
NMRoutingOptimization optimization
 
NMVehicleType vehicleType
 
BOOL avoidTollRoads
 
BOOL considerTraffic
 
NSInteger maxAlternativeRoutesCount
 
BOOL computeEstimatedTimeIgnoringTrafficDelay
 

Detailed Description

Interface describing the route calculation parameters for external routing. Instances of this class are constructed using values taken from an NMRouteCalculationOptions instance passed to the calculateRouteUsingRoutePlan:options:statusReportListener: method of NMRoutingService.

Method Documentation

◆ NS_UNAVAILABLE() [1/2]

- (nonnull instancetype) NS_UNAVAILABLE

Default initialization is forbidden.

◆ NS_UNAVAILABLE() [2/2]

+ (nonnull instancetype) NS_UNAVAILABLE

Default initialization is forbidden.

Property Documentation

◆ avoidTollRoads

- (BOOL) avoidTollRoads
readnonatomicassign

Specifies whether toll roads should be avoided.

◆ computeEstimatedTimeIgnoringTrafficDelay

- (BOOL) computeEstimatedTimeIgnoringTrafficDelay
readnonatomicassign

Informs routing engine that it, along with computing the estimated route time, should additionally compute the estimated route time not considering delays caused by traffic. The computed value should be put into an NMExternalRoute instance. After the route calculation finished the computed value is available via the estimatedTimeIgnoringTrafficDelay property of NMRoute class.

◆ considerTraffic

- (BOOL) considerTraffic
readnonatomicassign

Specifies whether traffic should be considered during route calculation.

◆ isWalkingMode

- (BOOL) isWalkingMode
readnonatomicassign

Specifies whether a route is for pedestrians.

◆ maxAlternativeRoutesCount

- (NSInteger) maxAlternativeRoutesCount
readnonatomicassign

Specifies maximum number of alternative routes to calculate.

◆ optimization

- (NMRoutingOptimization) optimization
readnonatomicassign

Specifies route optimization.

◆ vehicleType

- (NMVehicleType) vehicleType
readnonatomicassign

Specifies vehicle type.