HERE iOS SDK Developer's Guide

NMAPlatformDataRequest

Class Summary

class NMAPlatformDataRequest

Derived from: NSObject

Runs the data requests with the specified parameters.

Include: NMAKit.framework/headers/NMAPlatformDataRequest.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAPlatformDataRequest

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(instancetype) NS_UNAVAILABLE

Do not use

-(instancetype) initWithLayers:(NSSet< NSString * > *) layers geoBoundingBox:( NMAGeoBoundingBox *) geoBoundingBox

Creates a data request with the specified layers and GeoBounding box

-(instancetype) initWithLayers:(NSSet< NSString * > *) layers linkIds:(NSSet< NSNumber * > *) linkIds

Creates a data request with the specified layers and permanent link ids

-(void) startWithBlock:( NMAPlatformDataRequestCompletionBlock ) block

Invokes the data request with the block

-(void) startWithListener:(id< NMAPlatformDataRequestListener >) requestListener

Invokes the data request with the specified listener

Class Details

Runs the data requests with the specified parameters.

Instance Method Details

-(instancetype) NS_UNAVAILABLE

Do not use.

-(instancetype) initWithLayers:(NSSet< NSString * > *) layers geoBoundingBox:( NMAGeoBoundingBox *) geoBoundingBox

Creates a data request with the specified layers and GeoBounding box.

Parameters:

  • layers

    The layers to search for inside the specified GeoBoundingBox.

  • geoBoundingBox

    The GeoBoundingBox to be searched for the layers specifed.

Returns:

If the parameters are valid, an NMAPlatformDataRequest object configured with the parameters and nil otherwise.

-(instancetype) initWithLayers:(NSSet< NSString * > *) layers linkIds:(NSSet< NSNumber * > *) linkIds

Creates a data request with the specified layers and permanent link ids.

Parameters:

  • layers

    The layers from which the data should be fetched, this request works only for road geometry layers.

  • linkIds

    The permanent link ids to be searched in the layers specifed.

Returns:

If the parameters are valid, an NMAPlatformDataRequest object configured with the parameters and nil otherwise.

-(void) startWithBlock:( NMAPlatformDataRequestCompletionBlock ) block

Invokes the data request with the block.

Parameters:

  • block

    A block to run when the data received.

See also:

NMAPlatformDataRequestCompletionBlock

startWithListener:

-(void) startWithListener:(id< NMAPlatformDataRequestListener >) requestListener

Invokes the data request with the specified listener.

Parameters:

  • requestListener

    A listener to listen for the data results.

See also:

startWithBlock:

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.