HERE iOS SDK Developer's Guide

NMATransitRouteElement

Class Summary

class NMATransitRouteElement

Derived from: NSObject

Represents the leg of a transit journey from one stop to the next along a NMATransitManeuver.

Include: NMAKit.framework/headers/NMATransitRouteElement.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMATransitRouteElement

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMATransitRouteStop arrivalStop

The arrival stop for the NMATransitRouteElement

[readable, assign] NMATransitRouteStop departureStop

The departure stop for the NMATransitRouteElement

[readable, assign] NSTimeInterval  duration

The duration, in seconds, for the NMATransitRouteElement

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Represents the leg of a transit journey from one stop to the next along a NMATransitManeuver.

A NMATransitManeuver is composed of one or more NMATransitRouteElement.

Public Property Details

[readable, assign] NMATransitRouteStoparrivalStop

The arrival stop for the NMATransitRouteElement.

[readable, assign] NMATransitRouteStopdepartureStop

The departure stop for the NMATransitRouteElement.

[readable, assign] NSTimeInterval duration

The duration, in seconds, for the NMATransitRouteElement.

It is the estimated travel time from the departure stop to the arrival stop of the NMATransitRouteElement.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly