HERE iOS SDK Developer's Guide

NMAPlaceTransitDeparture

Class Summary

class NMAPlaceTransitDeparture

Derived from: NSObject

Represents information about a single departure. All times use RFC 3339 datetime format with timezone offset.

Include: NMAKit.framework/headers/NMAPlaceTransitDeparture.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAPlaceTransitDeparture

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSString *  direction

Direction of the departure on its line.

[readable, assign] NSString *  exception

An indicator for some exceptional event happened to this departure

[readable, assign] NSArray< NMAExtendedAttribute * > *  extendedAttributes

An NSArray of NMAExtendedAttribute features of departure

[readable, assign] NSString *  line

Reference to the line in transit lines directory.

[readable, assign] NSDictionary< NSString *, NSString * > *  realTimeInfo

The NSDictionary of the real (actual) departure time information

[readable, assign] NSDictionary< NSString *, NSString * > *  scheduledTimeInfo

The NSDictionary of the originally scheduled departure time information.

[readable, assign] NSString *  transitOperator

The NSString of reference to the operator in the operators collection information.

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 information about a single departure. All times use RFC 3339 datetime format with timezone offset.

 

Public Property Details

[readable, assign] NSString * direction

Direction of the departure on its line.

Note:

Attempts to read this property could return nil.

[readable, assign] NSString * exception

An indicator for some exceptional event happened to this departure. Possible values are: NMAExceptionEventRedirected, NMAExceptionEventReplaced, NMAExceptionEventCancelled and NMAExceptionEventAdditional.

Note:

Attempts to read this property could return nil.

[readable, assign] NSArray< NMAExtendedAttribute * > * extendedAttributes

An NSArray of NMAExtendedAttribute features of departure. Supported keys are bikeAllowed and barrierFree.

Note:

Attempts to read this property could return nil.

[readable, assign] NSString * line

Reference to the line in transit lines directory.

[readable, assign] NSDictionary< NSString *, NSString * > * realTimeInfo

The NSDictionary of the real (actual) departure time information. The departure key represents the departure time.

Known key identifier values are:
  • NMADepartureTimeKeyName - NSString of real-time departure time (RFC 3339 date-time with timezone offset)
  • NMADeparturePlatformKeyName - NSString of real-time departure platform (optional)
Note:

Attempts to read this property could return nil.

[readable, assign] NSDictionary< NSString *, NSString * > * scheduledTimeInfo

The NSDictionary of the originally scheduled departure time information.

Known key identifier values are:
  • NMADepartureTimeKeyName - NSString of scheduled departure time (RFC 3339 date-time with timezone offset)
  • NMADeparturePlatformKeyName - NSString of scheduled departure platform (optional)

[readable, assign] NSString * transitOperator

The NSString of reference to the operator in the operators collection information.

Note:

Attempts to read this property could return nil.

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