HERE iOS SDK Developer's Guide

NMATransitObject

Class Summary

class NMATransitObject

Derived from: NMAProxyObject

An object used to visually represent public transit information on an NMAMapView instance.

Include: NMAKit.framework/headers/NMATransitObject.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMATransitObject

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMATransitObjectType   type

The type of transit information represented by this object

[readable, assign] NSString *  uniqueId

The unique identifying string of the transit information represented by this object

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull) new

Class Details

An object used to visually represent public transit information on an NMAMapView instance.

NMATransitObject instances are created as necessary by the system to display public transit information on a map. The object may represent any one of NMATransitAccess, NMATransitStop, or NMATransitLine.

NMATransitObject instances are most commonly accessed by selecting them on an NMAMapView, either via a tap gesture or programmatically.

Public Property Details

[readable, assign] NMATransitObjectType  type

The type of transit information represented by this object.

[readable, assign] NSString * uniqueId

The unique identifying string of the transit information represented by this object.

Instance Method Details

-(nonnull) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull) new

Instances of this class should not be initialized directly

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.