HERE iOS SDK Developer's Guide

NMATransitManeuver

Class Summary

class NMATransitManeuver

Derived from: NMAManeuver

Represents a transit maneuver, which describes a section of a NMARoute that involves taking some form of public transport.

Include: NMAKit.framework/headers/NMATransitManeuver.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMATransitManeuver

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, strong] NSString *  arrivalStopName

The name of the last stop on the transit maneuver

[readable, strong] NSString *  departureStopName

The name of the first stop on the transit maneuver

[readable, strong] NSString *  lineName

The line name for the NMATransitManeuver

[readable, assign] NMATransitLineStyle   lineStyle

The style in which the line is drawn on typical maps of the local public transit operator

[readable, strong] UIColor *  primaryLineColor

The primary color of the NMATransitManeuver in the local public transit operator's color scheme

[readable, strong] UIColor *  secondaryLineColor

The secondary color of the NMATransitManeuver in the local public transit operator's color scheme

[readable, strong] NSString *  systemOfficialName

The name of the system operating the NMATransitManeuver

[readable, strong] NSString *  systemShortName

The name, in a shorter or abbreviated version if available, of the system operating the NMATransitManeuver

[readable, strong] NSString *  terminusStopName

The terminus stop name of the transit line for the NMATransitManeuver

[readable, assign] NSTimeInterval  transitTravelTime

The estimated transit travel time, in seconds, for the NMATransitManeuver

[readable, assign] NMATransitType   transitType

The NMATransitType of the transit system offering service for the NMATransitManeuver

[readable, strong] NSString *  transitTypeName

The type of the line as a string in the public transit operator's vocabulary

Class Details

Represents a transit maneuver, which describes a section of a NMARoute that involves taking some form of public transport.

Each continuous trip on a transit vehicle is represented by one NMATransitManeuver. If the route requires a line change or a transfer to a different transit vehicle, the new transit trip will be represented by another NMATransitManeuver.

Public Property Details

[readable, strong] NSString * arrivalStopName

The name of the last stop on the transit maneuver.

This is the same as the name of the arrival stop of the last NMATransitRouteElement.

Note:

The stop name will be nil if unavailable.

Note:

It is localized to the locale of the region.

[readable, strong] NSString * departureStopName

The name of the first stop on the transit maneuver.

This is the same as the name of the departure stop of the first NMATransitRouteElement.

Note:

The stop name will be nil if unavailable.

Note:

It is localized to the locale of the region.

[readable, strong] NSString * lineName

The line name for the NMATransitManeuver.

For example, "1", "2", "3", "4", "5", ... for New York City Transit-Subway.

Note:

It is localized to the locale of the region.

[readable, assign] NMATransitLineStyle  lineStyle

The style in which the line is drawn on typical maps of the local public transit operator.

Note:

NMATransitLineStyleUndefined will be returned when undefined.

[readable, strong] UIColor * primaryLineColor

The primary color of the NMATransitManeuver in the local public transit operator's color scheme.

Note:

Color will be valid if line style is not undefined otherwise it will be transparent.

[readable, strong] UIColor * secondaryLineColor

The secondary color of the NMATransitManeuver in the local public transit operator's color scheme.

Note:

Color will be valid if line style is dotted or dashed otherwise it will be transparent.

[readable, strong] NSString * systemOfficialName

The name of the system operating the NMATransitManeuver.

For example, "New York City Transit-Subway".

Note:

It is localized to the locale of the region.

[readable, strong] NSString * systemShortName

The name, in a shorter or abbreviated version if available, of the system operating the NMATransitManeuver.

For example, "NYC Transit-Subway".

Note:

It is localized to the locale of the region.

[readable, strong] NSString * terminusStopName

The terminus stop name of the transit line for the NMATransitManeuver.

Note:

Only available in online mode.

Note:

It is localized to the locale of the region.

[readable, assign] NSTimeInterval transitTravelTime

The estimated transit travel time, in seconds, for the NMATransitManeuver.

[readable, assign] NMATransitType  transitType

The NMATransitType of the transit system offering service for the NMATransitManeuver.

[readable, strong] NSString * transitTypeName

The type of the line as a string in the public transit operator's vocabulary.

For example, "TRANSIT_CATEGORY_RAIL_CITYMETRO" for NMATransitMetroRail.

Note:

It is localized to the locale of the region.

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.