HERE iOS SDK Developer's Guide

NMAPlatformDataResult

Class Summary

class NMAPlatformDataResult

Derived from: NSObject

After a Platform Data Request run, the result is returned with this class.

Include: NMAKit.framework/headers/NMAPlatformDataResult.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAPlatformDataResult

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSUInteger  count

The number of entries in the result

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(NSArray< NSString * & gt; *) allKeys

Returns all the layer names

-(NSArray< NMAPlatformDataItemCollection * > *) allValues

Returns the all the data collections

-(void) enumerateKeysAndObjectsUsingBlock:(void)(NSString *key, NMAPlatformDataItemCollection *obj, BOOL *stop)) block

Applies a given block object to the entries in the result

-(NSDictionary< NSString *, NSArray< NSDictionary< NSString *, NSString * & gt; * & gt; * & gt; *) extract

Extracts the data contained into a dictionary

-(instancetype) init

Do not directly instantiate an instance of this class

-( NMAPlatformDataItemCollection *) objectForKeyedSubscript:(NSString *) key

Returns the collection associated with a given key, i

Class Method Summary

Table 3. Class Methods
Class Methods

+(instancetype) new

Class Details

After a Platform Data Request run, the result is returned with this class.

Public Property Details

[readable, assign] NSUInteger count

The number of entries in the result.

Instance Method Details

-(NSArray< NSString * & gt; *) allKeys

Returns all the layer names.

Returns:

The array of all the layer names.

-(NSArray< NMAPlatformDataItemCollection * > *) allValues

Returns the all the data collections.

Returns:

The array of all the collections, i.e. one collection for each layer contained in the result.

-(void) enumerateKeysAndObjectsUsingBlock:(void)(NSString *key, NMAPlatformDataItemCollection *obj, BOOL *stop)) block

Applies a given block object to the entries in the result.

-(NSDictionary< NSString *, NSArray< NSDictionary< NSString *, NSString * & gt; * & gt; * & gt; *) extract

Extracts the data contained into a dictionary. Note that for each NMAPlatformDataItemCollection contained, an array is created which itself contains dictionaries.

Returns:

A dictionary of the string key/array value pairs.

See also:

NMAPlatformDataItemCollection::extract

-(instancetype) init

Do not directly instantiate an instance of this class.

-( NMAPlatformDataItemCollection *) objectForKeyedSubscript:(NSString *) key

Returns the collection associated with a given key, i.e. layer.

Parameters:

  • key

    The layer contained in the result.

Returns:

The collection for the layer data or nil if the key isn't found in result.

Class Method Details

+(instancetype) new

Instances of this class should not be initialized directly

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.