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 instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) 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 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