HERE iOS SDK Developer's Guide

NMAUrbanMobilityLink

Class Summary

class NMAUrbanMobilityLink

Derived from: NSObject

Represents a link which can be associated with operator, transit alert or a ticket.

Include: NMAKit.framework/headers/NMAUrbanMobilityLink.h

Inheritance Diagrams

[For complete information, see the section Class Details]

See also:

NMAUrbanMobilityOperator

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMAUrbanMobilityLinkType   linkType

Gets the NMAUrbanMobilityLink type as NMAUrbanMobilityLinkType , i

[readable, assign] NSString *  text

Gets the NMAUrbanMobilityLink text

[readable, assign] NSURL *  url

Gets the NSString representation of the NMAUrbanMobilityLink url

[readable, assign] NSString *  urlText

Gets clickable part of text

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 a link which can be associated with operator, transit alert or a ticket. For example, a link to the transit operator's website. This information must be exposed in the client application.

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

See also:

NMAUrbanMobilityOperator

Public Property Details

[readable, assign] NMAUrbanMobilityLinkType  linkType

Gets the NMAUrbanMobilityLink type as NMAUrbanMobilityLinkType , i.e. is it url to agency web-site or tariff information url.

[readable, assign] NSString * text

Gets the NMAUrbanMobilityLink text.

[readable, assign] NSURL * url

Gets the NSString representation of the NMAUrbanMobilityLink url.

[readable, assign] NSString * urlText

Gets clickable part of text. If not available (empty string) the full text need to be clickable. For example if the text property returns "Lorem ipsum dolor sit amet, consectetur adipiscing elit." and urlText returns "Lorem ipsum" then only "Lorem ipsum" part should be clickable.

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