HERE iOS SDK Developer's Guide

NMALink

Class Summary

class NMALink

Derived from: NSObject

Represents a HERE Places resource link which requires another request to be made in order to retrieve the full detauls of the resource.

Include: NMAKit.framework/headers/NMALink.h

Inheritance Diagrams

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSString *  iconUrl

Gets an URL of the icon for the resource to which assiciated with this NMALink

[readable, assign] NSString *  name

Gets the localized name for the resource to which the NMALink refers

[readable, assign] NSString *  uniqueId

Gets the unique identifier for the resource to which the NMALink refers

[readable, assign] NSString *  url

Gets the NSString representation of the link URL

Class Details

Represents a HERE Places resource link which requires another request to be made in order to retrieve the full detauls of the resource. The link contains basic metadata about the linked resource.

The interface is typically subclassed to provide methods to make the appropriate resource request.

Public Property Details

[readable, assign] NSString * iconUrl

Gets an URL of the icon for the resource to which assiciated with this NMALink.

Note:

An icon URL for a NMALink object is optional, so this property could be nil. Application can download the icon online with this URL, but it needs to use its own icon for offline.

[readable, assign] NSString * name

Gets the localized name for the resource to which the NMALink refers.

Client applications can safely display this name to the user.

Note:

A title for a linked object is optional, so this property could be nil.

[readable, assign] NSString * uniqueId

Gets the unique identifier for the resource to which the NMALink refers.

Note:

An identifier for a linked object is optional, so this property could be nil.

[readable, assign] NSString * url

Gets the NSString representation of the link URL.

This URL may be used to perform an HTTP GET request to the HERE Places REST service to retrieve the full metadata of the linked resources.

The request may return a HTML or JSON response. If url contains "places.hybrid.api.here.com", it will return a JSON response as specified at http://developer.here.com/places If URL contains other domains, it will most likely return a HTML response.

Note:

For convenience it is recommended to use request methods in dervied classes when available.