HERE iOS SDK Developer's Guide

NMALocationInfo

Class Summary

class NMALocationInfo

Derived from: NSObject

Contains information about a real-world location.

Include: NMAKit.framework/headers/NMALocationInfo.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMALocationInfo

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(BOOL) hasField:( NMALocationInfoField ) field

Determines whether or not the NMALocationInfo object has a particular field

-(nonnull instancetype) init

-(nullable NSString *) valueForField:( NMALocationInfoField ) field

Retrieves the value of the specified NMANMALocationInfoField for the NMALocationInfo object

Class Method Summary

Table 2. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Contains information about a real-world location.

The types of information available are given by the NMALocationInfoField enum.

Instance Method Details

-(BOOL) hasField:( NMALocationInfoField ) field

Determines whether or not the NMALocationInfo object has a particular field.

Parameters:

  • field

    NMALocationInfoField to determine if the NMALocationInfo has it or not.

Returns:

YES if the NMALocationInfo object has the field.

-(nonnull instancetype) init

Instances of this class should not be initialized directly

-(nullable NSString *) valueForField:( NMALocationInfoField ) field

Retrieves the value of the specified NMANMALocationInfoField for the NMALocationInfo object.

Parameters:

  • field

    NMALocationInfoField to get the field value for.

Returns:

The string value of the specified NMALocationInfoField if available, otherwise nil.

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly