HERE iOS SDK Developer's Guide

NMACategory

Class Summary

class NMACategory

Derived from: NSObject

Represents a category with which a NMAPlace can be associated.

Include: NMAKit.framework/headers/NMACategory.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACategory

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSString *  iconUrl

Gets the URL of the category icon

[readable, assign] NSString *  name

Gets the display name for the category

[readable, assign] NMACategory parentCategory

Gets the parent of this category

[readable, assign] NSArray< NMACategory * > *  subCategories

Gets the list of subcategories NMACategory of this category

[readable, assign] NSString *  uniqueId

Gets the unique identifier for the category

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 category with which a NMAPlace can be associated.

Categories can be used to search for places (e.g. a search that is based on a category with which certain places are associated).

Public Property Details

[readable, assign] NSString * iconUrl

Gets the URL of the category icon.

Note:

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 display name for the category. The name is localized to the current locale of the device.

[readable, assign] NMACategoryparentCategory

Gets the parent of this category.

Note that an NMACategory might have no parent category, in which case this method would return nil.

[readable, assign] NSArray< NMACategory * > * subCategories

Gets the list of subcategories NMACategory of this category.

Note:

an NMACategory might have no subcategories, in which case this method would return empty array.

[readable, assign] NSString * uniqueId

Gets the unique identifier for the category.

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