HERE iOS SDK Developer's Guide

NMA Custom Location Extension 2

Group Summary

group NMA Custom Location Extension 2

The Custom Location Extensions 2 group provides classes and protocols that support advanced custom location searches.

[For complete information, see the section Group Details]

Nested Classes

Table 2. Private Nested Classes
Private Nested Classes

Public Typedef Summary

Table 3. Public Typedefs
Public Typedefs

(void) (^NMACLE2RequestCompletionBlock) (NMACLE2Request *_Nonnull request, NMACLE2Result *_Nonnull result, NSError *_Nullable error)

A typedef of a block parameter signature used with NMARequest::startWithBlock:.

Public Enumeration Summary

Table 4. Public Enumerations
Public Enumerations

NMACLE2ConnectivityMode

Specifies the request mode

NMACLE2Error

The possible NMACLE2Request error codes.

NMACLE2GeometryType

Specifies the geometry representation in the result.

Private Enumeration Summary

Table 5. Private Enumerations
Private Enumerations

NMACLE2OperationType

Indicates type of data operation that can be performed on CLE2 data.

NMACLE2StorageType

Used to make distinction between local storage and CLE service (server).

Public Variable Summary

Table 6. Public Variables
Public Variables

FOUNDATION_EXPORT NSString *const _Nonnull  kNMACLE2ErrorDomain

The error domain for NMACLE2Request

Group Details

The Custom Location Extensions 2 group provides classes and protocols that support advanced custom location searches.

Public Typedef Details

(void) (^NMACLE2RequestCompletionBlock) (NMACLE2Request *_Nonnull request, NMACLE2Result *_Nonnull result, NSError *_Nullable error)

Include: NMAKit.framework/headers/NMACLE2Request.h

A typedef of a block parameter signature used with NMARequest::startWithBlock:.

Note:

The block will be called on the main queue.

Parameters:

  • request

    The search request being completed.

  • result

    The search results. It can be nil if no results are found or an error is encountered.

  • error

    The error if the request failed, or nil if the request was successful.

Public Enumeration Details

NMACLE2ConnectivityMode

Include: NMAKit.framework/headers/NMACLE2Request.h

Specifies the request mode

NMACLE2ConnectivityModeOnline: Local storage will not be considered at all; Default behaviour. NMACLE2ConnectivityModeOffline: Use local storage only NMACLE2ConnectivityModeAutomatic: Attemps online and falls back to offline if failed.

Note:

By default, the offline features are disabled therefore the local storage contains no data. There are two ways to insert geometries in local storage to make them available for offline searches: 1 - Enable caching when performing one or more requests (e.g., using the NMACLE2ProximityRequest). 2 - Download one or more layers.

Enumeration Members:

  • NMACLE2ConnectivityModeOnline  
  • NMACLE2ConnectivityModeOffline  
  • NMACLE2ConnectivityModeAutomatic  

NMACLE2Error

Include: NMAKit.framework/headers/NMACLE2Request.h

The possible NMACLE2Request error codes.

Enumeration Members:

  • NMACLE2ErrorNone  
  • NMACLE2ErrorInProgress  
  • NMACLE2ErrorCancelled  
  • NMACLE2ErrorNetworkCommunication  
  • NMACLE2ErrorOperationNotAllowed  
  • NMACLE2ErrorDataManagerFailed  
  • NMACLE2ErrorServerFailed  
  • NMACLE2ErrorPartialSuccess  
  • NMACLE2ErrorUnknown  

NMACLE2GeometryType

Include: NMAKit.framework/headers/NMACLE2Request.h

Specifies the geometry representation in the result.

Note:

When a geometry is uploaded to CLE, they are tiled for fast look-up. This property allows specifying whether the original uploaded geometry is required (NMACLE2GeometryFull), or the if the geometry whithin the tile is sufficient (NMACLE2GeometryLocal), or if no geometry information is needed at all (NMACLE2GeometryNone). The later would be the use-case where it is only interesting to know whether a geometry falls within the specified search, and if results are found, what are its attributes (without retrieving the geometry information itself).

Enumeration Members:

  • NMACLE2GeometryFull  
  • NMACLE2GeometryLocal  
  • NMACLE2GeometryNone  

Private Enumeration Details

NMACLE2OperationType

Include: NMAKit.framework/headers/NMACLE2DataManager.h

Indicates type of data operation that can be performed on CLE2 data.

Enumeration Members:

  • NMACLE2OperationTypeCreate

    Indicates an operation that creates new data.

  • NMACLE2OperationTypeUpdate

    Indicates an operation that updates existing data.

  • NMACLE2OperationTypeDelete

    Indicates an operation that deletes existing data.

NMACLE2StorageType

Include: NMAKit.framework/headers/NMACLE2DataManager.h

Used to make distinction between local storage and CLE service (server).

Enumeration Members:

  • NMACLE2StorageTypeLocal

    Indicates local storage.

  • NMACLE2StorageTypeRemote

    Indicates storage on remote CLE service.

Private Property Details

Public Variable Details

FOUNDATION_EXPORT NSString *const _Nonnull kNMACLE2ErrorDomain

Include: NMAKit.framework/headers/NMACLE2Request.h

The error domain for NMACLE2Request.

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.