HERE iOS SDK Developer's Guide

NMARoutingMode(NMAUrbanMobilityRoutingMode)

Category Summary

category NMARoutingMode(NMAUrbanMobilityRoutingMode)

Contains options used when calculating an urban mobility route.

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  backward

The number of routes to be returned that are departing/arriving before the given time

[readable, writable, assign] NSUInteger  forward

The number of routes to be returned that are departing/arriving after the given time

[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] 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.

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 backward

The number of routes to be returned that are departing/arriving before the given time.

Note:

The maximum is 6, minimum 0, but the sum of backward and forward routes cannot be more than 6.

[readable, writable, assign] NSUInteger forward

The number of routes to be returned that are departing/arriving after the given time.

Note:

The maximum is 6, minimum 0, but the sum of backward and forward routes cannot be more than 6.

[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] 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.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.