HERE iOS SDK Developer's Guide

NMAUrbanMobilityAlert

Class Summary

class NMAUrbanMobilityAlert

Derived from: NSObject

All available information about one transit alert.

Include: NMAKit.framework/headers/NMAUrbanMobilityAlert.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAUrbanMobilityAlert

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSString *  imageCaption

Gets display text which, if present, should be displayed next to image obtained by imageUrl

[readable, assign] NSString *  imageUrl

Gets a link to the image which, if present, should be displayed along with this alert

[readable, assign] NSString *  info

Gets alert information text to display to the user

[readable, assign] NMAUrbanMobilityProvider provider

Gets the NMAUrbanMobilityProvider whose services are affected by this alert

[readable, assign] NMAUrbanMobilityLink source

Gets the NMAUrbanMobilityLink link to a web resource

[readable, assign] NSArray< NMAUrbanMobilityTransport * > *  transports

Gets array of NMAUrbanMobilityTransport objects affected by this alert

[readable, assign] NSString *  uniqueId

Gets unique Id for this alert

[readable, assign] NSDate *  validFrom

Gets the NSDate from which this alert is valid

[readable, assign] NSDate *  validUntil

Gets the NSDate until which this alert is valid

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

All available information about one transit alert.

IMPORTANT: Urban Mobility routing is a Beta feature. The related classes are subject to change without notice.

Public Property Details

[readable, assign] NSString * imageCaption

Gets display text which, if present, should be displayed next to image obtained by imageUrl.

[readable, assign] NSString * imageUrl

Gets a link to the image which, if present, should be displayed along with this alert.

[readable, assign] NSString * info

Gets alert information text to display to the user. Information text is localized to the current device's language. If given language is not supported, English version is returned.

[readable, assign] NMAUrbanMobilityProviderprovider

Gets the NMAUrbanMobilityProvider whose services are affected by this alert.

[readable, assign] NMAUrbanMobilityLinksource

Gets the NMAUrbanMobilityLink link to a web resource.

[readable, assign] NSArray< NMAUrbanMobilityTransport * > * transports

Gets array of NMAUrbanMobilityTransport objects affected by this alert.

[readable, assign] NSString * uniqueId

Gets unique Id for this alert. Might help to identify if this alert was already processed on the client.

[readable, assign] NSDate * validFrom

Gets the NSDate from which this alert is valid.

[readable, assign] NSDate * validUntil

Gets the NSDate until which this alert is valid.

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