HERE iOS SDK Developer's Guide

NMARoutingMode(NMAUrbanMobilityRoutingMode)

Category Summary

category NMARoutingMode(NMAUrbanMobilityRoutingMode)

Contains options used when calculating an urban mobility route.

Deprecated: As of SDK 3.8.

Include: NMAKit.framework/headers/NMARoutingMode+UrbanMobility.h

[For complete information, see the section Category Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] NSDate *  arrivalTime

The desired arrival time, used for route calculation

[readable, writable, assign] NSUInteger  maximumChanges

The maximum number of vehicle changes allowed during the trip

[readable, writable, assign] BOOL  strict

Specifies if the number of returned connections must be strict, regarding to backward/forward parameters

[readable, writable, assign] NMAUrbanMobilityUnits   units

Units of measurement used, for example, in guidance instructions

[readable, writable, assign] NMAUrbanMobilityOption   urbanMobilityRoutingOptions

The OR-ed NMAUrbanMobilityOption values for the NMARoutingMode

[readable, writable, assign] NMAUrbanMobilityRoutingTypeOption   urbanMobilityRoutingType

[readable, writable, assign] NSUInteger  walkDistance

The maximum walking distance to cover on foot to the nearest station

[readable, writable, assign] NSUInteger  walkSpeed

The walking speed in m/h that the user is having

Category Details

Contains options used when calculating an urban mobility route.

Deprecated: As of SDK 3.8.

Public Property Details

[readable, writable, assign] NSDate * arrivalTime

The desired arrival time, used for route calculation. If it's nil, departure time is used for route calculation.

[readable, writable, assign] NSUInteger maximumChanges

The maximum number of vehicle changes allowed during the trip. For Urban Mobility mode it specifies the maximum number of changes or transfers allowed in a route. Allowed values are: 0 to 6. For values greater than 6, backend server returns error when a route is calculated. The default value is NMARoutingModeDefaultMaximumChanges. If the default value is used, then no limit is applied to number of changes. The backend server decides about the number of changes that are allowed.

[readable, writable, assign] BOOL strict

Specifies if the number of returned connections must be strict, regarding to backward/forward parameters. YES if true, NO otherwise.

[readable, writable, assign] NMAUrbanMobilityUnits  units

Units of measurement used, for example, in guidance instructions. The possible values are: • metric • imperial The default is metric.

[readable, writable, assign] NMAUrbanMobilityOption  urbanMobilityRoutingOptions

The OR-ed NMAUrbanMobilityOption values for the NMARoutingMode.

Note:

The default value is NMAUrbanMobilityValueNotAvailable, what means that backend server will use it's default behaviour.

[readable, writable, assign] NMAUrbanMobilityRoutingTypeOption  urbanMobilityRoutingType

[readable, writable, assign] NSUInteger walkDistance

The maximum walking distance to cover on foot to the nearest station.

[readable, writable, assign] NSUInteger walkSpeed

The walking speed in m/h that the user is having.