HERE iOS SDK Developer's Guide

NMA Common

Group Summary

group NMA Common

The Common group includes classes, protocols, and enumerations that are generally used by other packages in the iOS SDK.

[For complete information, see the section Group Details]

Nested Classes

Public Typedef Summary

Table 2. Public Typedefs
Public Typedefs

(void) (^NMAAudioOutputEventBlock) (NMAAudioOutputEvent event)

A block interface for responding to NMAAudioOutput lifecycle events.

(void) (^NMATrafficCompletionBlock) (NSArray< NMATrafficEvent * > *_Nullable events, NMATrafficRequestError error)

A completion block used to handle the result of a traffic event request.

(void) (^NMATrafficEventCompletionBlock) ()

A block used to complete traffic event data requests.

(struct NMAVector3d ) NMAVector3d

A struct for representing a 3D vector.

(NSString *_Nonnull NMAMapViewCustomConfigurationFileKey) NS_STRING_ENUM

Public Enumeration Summary

Table 3. Public Enumerations
Public Enumerations

NMAApplicationContextError

Defines types of error codes that can be returned when setting the HERE Authentication Credentials, License Key and Map Variant.

NMAAudioOutputEvent

Events which occur during the lifecycle of an NMAAudioOutput.

NMAAudioOutputSource

Sources of audio output in the Here SDK.

NMAAudioRoute

Audio routing mode

NMADevicePositioningMethod

Possible methods for determining device position change.

NMAGeoPositionSource

Defines position sources.

NMAIndoorPositioningMode

Specifies the type of indoor positioning mode

NMALayoutPosition

Represents fixed locations or regions within a bounding rectangle.

NMALocationTrackingMethod

Positioning methods used with the default position source (NMADevicePositionSource). Not applicable for other types of position source.

NMAMapFleetFeatureType

Defines the fleet map feature type used to show or hide map features important to fleet vehicles.

NMAMapLayerType

Represents the display order of the various rendering layers of a map.

NMAMapMatchMode

The types of position matching that can be performed by the NMAPositioningManager.

NMAMapPedestrianFeatureType

Defines the pedestrian map feature type used to show or hide map features that pedestrians may encounter while walking.

NMAMapStyleConfigurationError

Defines types of error codes that can be returned when setting the HERE custom map style configuration.

NMAMapVariant

Defines map variants available.

NMAPixelFormat

Represents supported pixel formats for render buffers and bitmaps

NMAPositionLogType

Specifies the type of position logging currently enabled

NMARequestError

Error codes that may be returned from places search requests.

NMARoadElementAttribute

Attributes of a road element.

NMARoadElementPluralType

Plural type identifies when a Junction is made up of multiple Road Elements. It also implies that a maneuver may require different explication than implied by the geometry.

NMARoadElementType

Road element classifications.

NMARouteDisplayType

Defines the color of the route. Color is pre-defined by the map scheme according to the type.

NMASafetySpotType

Defines the safety spot type: undefined, speed camera, red light camera or both speed and red light camera.

NMATrafficEventSeverity

The severity levels of a traffic event.

NMATrafficNotificationType

Traffic notification type

NMATrafficRequestError

Error codes indicating the result of a traffic event request.

NMATrafficSeverity

Traffic Severity

NMATransitManagerError

Possible result codes of NMATransitManager upon completion of an operation.

NMATransitObjectType

The types of public transit object that can be represented by an instance of NMATransitObject.

NMATransitType

Represents values describing the types of transit that an application user might take.

Public Variable Summary

Table 4. Public Variables
Public Variables

FOUNDATION_EXPORT NSString *const _Nonnull  NMAApplicationContextOnlineStatusDidChangeNotification

Indicates that the NMAApplicationContext isOnline status has changed.

FOUNDATION_EXPORT NSString *const _Nonnull  NMAAudioRouteDidChangeNotification

System audio route changed notification

FOUNDATION_EXPORT const double  NMAGeoPositionUnknownValue

A constant used to indicate an unknown measurement value

FOUNDATION_EXPORT const NSUInteger  NMAMapObjectMaximumZIndex

FOUNDATION_EXPORT const NSUInteger  NMAMapObjectMinimumZIndex

FOUNDATION_EXPORT NMAMapViewCustomConfigurationFileKey const  NMAMapViewConfigurationFileKey

Map Style Configuration File.

FOUNDATION_EXPORT NMAMapViewCustomConfigurationFileKey const  NMAMapViewCustomPreferenceConfigurationFileKey

Map Style Custom File.

FOUNDATION_EXPORT const float  NMAMapViewMaximumZoomLevel

Upper limit of the NMAMapView zoomLevel property

FOUNDATION_EXPORT const float  NMAMapViewMinimumZoomLevel

Lower limit of the NMAMapView zoomLevel property

FOUNDATION_EXPORT NMAMapViewCustomConfigurationFileKey const  NMAMapViewResourceFileKey

Map Style Resource File.

FOUNDATION_EXPORT NMAMapViewCustomConfigurationFileKey const  NMAMapViewTrafficConfigurationFileKey

Map Style Traffic File.

FOUNDATION_EXPORT NSString *const _Nonnull  NMAPositioningManagerDidLosePositionNotification

Indicates that the NMAPositioningManager currentPosition has been lost.

FOUNDATION_EXPORT NSString *const _Nonnull  NMAPositioningManagerDidUpdatePositionNotification

Indicates that the NMAPositioningManager currentPosition has changed.

Function Summary

Table 5. Functions
Function Summary

-(HERESDK_EXPORT CG_INLINE BOOL) NMAVector3dEqualToVector(const NMAVector3d ) v1(const NMAVector3d ) v2

Check if two vectors are equal.

-(HERESDK_EXPORT CG_INLINE NMAVector3d ) NMAVector3dMake(CGFloat) x(CGFloat) y(CGFloat) z

Convenient method for creating a new NMAVector3d.

Group Details

The Common group includes classes, protocols, and enumerations that are generally used by other packages in the iOS SDK. Some important classes in this group are NMAGeoCoordinates and NMAPositioningManager.

Public Typedef Details

(void) (^NMAAudioOutputEventBlock) (NMAAudioOutputEvent event)

Include: NMAKit.framework/headers/NMAAudioOutput.h

A block interface for responding to NMAAudioOutput lifecycle events.

(void) (^NMATrafficCompletionBlock) (NSArray< NMATrafficEvent * > *_Nullable events, NMATrafficRequestError error)

Include: NMAKit.framework/headers/NMATrafficManager.h

A completion block used to handle the result of a traffic event request.

Parameters:

  • events

    An NSArray of NMATrafficEvent objects

  • error

    NMATrafficRequestErrorNone if the request was successful, otherwise an error code indicating the nature of the failure.

(void) (^NMATrafficEventCompletionBlock) ()

Include: NMAKit.framework/headers/NMATrafficEvent.h

A block used to complete traffic event data requests.

(struct NMAVector3d ) NMAVector3d

Include: NMAKit.framework/headers/NMAVector3d.h

A struct for representing a 3D vector.

(NSString *_Nonnull NMAMapViewCustomConfigurationFileKey) NS_STRING_ENUM

Include: NMAKit.framework/headers/NMACustomConfigurations.h

Public Enumeration Details

NMAApplicationContextError

Include: NMAKit.framework/headers/NMAApplicationContext.h

Defines types of error codes that can be returned when setting the HERE Authentication Credentials, License Key and Map Variant.

Enumeration Members:

  • NMAApplicationContextErrorNone

    There was no error.

  • NMAApplicationContextErrorLicenseKeyEmpty

    There was no license key e.g. license key is empty string.

  • NMAApplicationContextErrorLicenseKeyMismatch

    There was an error due to the namespace, App_Id, or App_Code being mismatched.

  • NMAApplicationContextErrorLicenseInvalidPlatform

    There was an error due to invalid platform, e.g. Android license key used on iOS.

  • NMAApplicationContextErrorLicenseExpired

    There was an error due to expired license key.

  • NMAApplicationContextErrorMapVariantPermissionDenied

    Permission to use map variant denied. Please consult with your HERE representative to get access.

  • NMAApplicationContextErrorMapVariantChangeAttempt

    There was attempt to change map variant. Map variant cannot be changed after HERE SDK has been initialized for first time. If you want use other map variant, please, reinstall application and choose appropriate one.

  • NMAApplicationContextErrorMapVariantStorageFailed

    Storage of the selected map variant failed.

NMAAudioOutputEvent

Include: NMAKit.framework/headers/NMAAudioOutput.h

Events which occur during the lifecycle of an NMAAudioOutput.

Enumeration Members:

  • NMAAudioOutputBegan  
  • NMAAudioOutputSkipped  
  • NMAAudioOutputEnded  

NMAAudioOutputSource

Include: NMAKit.framework/headers/NMAAudioOutput.h

Sources of audio output in the Here SDK.

Enumeration Members:

  • NMAAudioOutputSourceUnknown

    The source of the output is not known.

  • NMAAudioOutputSourceUser

    The SDK user is the source of the output.

  • NMAAudioOutputSourceGuidance

    The output is from turn-by-turn guidance.

NMAAudioRoute

Include: NMAKit.framework/headers/NMAAudioManager.h

Audio routing mode

Enumeration Members:

  • NMAAudioRouteDefault

    Standard iOS audio routing behaviour. Uses the last connected audio output device or the last device selected using the iOS MPVolumeView control.

  • NMAAudioRouteDeviceSpeaker

    Force audio output to the device speaker.

    Not supported on iOS7.

  • NMAAudioRouteBluetoothHFP

    Force audio output to a device that supports Bluetooth HFP (Hands Free Protocol) if such a device is connected. iOS defines this as AVAudioSessionPortBluetoothHFP.

    Note that many Bluetooth stereo headsets and car multimedia systems support AVAudioSessionPortBluetoothHFP and AVAudioSessionPortBluetoothA2DP protocols. If both protocols are available then it is NOT recommended to use NMAAudioRouteBluetoothHFP as it will result in lower quality (voice call quality) audio, this is particularly noticable if the iOS music player (or other app) is playing audio. When a bluetooth device supports both protocols it is better to use NMAAudioRouteDefault and optionally give the user control of the audio output by adding an MPVolumeView control to your app.

    Not supported on iOS7.

NMADevicePositioningMethod

Include: NMAKit.framework/headers/NMADevicePositionSource.h

Possible methods for determining device position change.

Enumeration Members:

  • NMADevicePositioningMethodGPS

    Equivalent to [CLLocationManager startUpdatingLocation].

  • NMADevicePositioningMethodSignificantChanges

    Equivalent to [CLLocationManager startMonitoringSignificantLocationChanges].

NMAGeoPositionSource

Include: NMAKit.framework/headers/NMAGeoPosition.h

Defines position sources.

Enumeration Members:

  • NMAGeoPositionSourceUnknown

    Position source is unknown.

  • NMAGeoPositionSourceSystemLocation

    Position source is iOS location manager.

  • NMAGeoPositionSourceIndoor

    Position source is indoor radio map.

NMAIndoorPositioningMode

Include: NMAKit.framework/headers/NMAHEREPositionSource.h

Specifies the type of indoor positioning mode

Enumeration Members:

  • NMAIndoorPositioningModeNone

    Indoor positioning is not supported. This value cannot be set. Only supported as return value from the indoorPositioningMode property.

  • NMAIndoorPositioningModeAutomatic

    Let the HERE positioning choose which radio maps to use, based on availability and accuracy. This is the default mode when HERE indoor positioning is started.

  • NMAIndoorPositioningModeCommunity

    Use community (public) indoor radio maps only This mode is not available if access to this operation is denied. Contact your HERE representaive for more information.

  • NMAIndoorPositioningModePrivate

    Use private radio maps only This mode is not available if access to this operation is denied. Contact your HERE representaive for more information.

NMALayoutPosition

Include: NMAKit.framework/headers/NMATypes.h

Represents fixed locations or regions within a bounding rectangle.

Enumeration Members:

  • NMALayoutPositionTopLeft  
  • NMALayoutPositionTopCenter  
  • NMALayoutPositionTopRight  
  • NMALayoutPositionCenterLeft  
  • NMALayoutPositionCenter  
  • NMALayoutPositionCenterRight  
  • NMALayoutPositionBottomLeft  
  • NMALayoutPositionBottomCenter  
  • NMALayoutPositionBottomRight  

NMALocationTrackingMethod

Include: NMAKit.framework/headers/NMAPositioningManager.h

Positioning methods used with the default position source ( NMADevicePositionSource). Not applicable for other types of position source.

Enumeration Members:

  • NMALocationTrackingMethodNone

    Device positioning is not active.

  • NMALocationTrackingMethodGPS

    Position provided by CLLocationManager::startUpdatingLocation.

  • NMALocationTrackingMethodSignificantChanges

    Position provided by CLLocationManager::startMonitoringSignificantLocationChanges.

NMAMapFleetFeatureType

Include: NMAKit.framework/headers/NMATypes.h

Defines the fleet map feature type used to show or hide map features important to fleet vehicles.

Enumeration Members:

  • NMAMapFleetFeatureTypeEnvironmentalZones  
  • NMAMapFleetFeatureTypeCongestionZones  
  • NMAMapFleetFeatureTypeTruckRestrictions  
  • NMAMapFleetFeatureTypeAll  

NMAMapLayerType

Include: NMAKit.framework/headers/NMATypes.h

Represents the display order of the various rendering layers of a map.

Objects at NMAMapLayerTypeForeground are rendered on top of objects at NMAMapLayerTypePointOfInterest which are rendered on top of objects at NMAMapLayerTypeRoad and so on.

Objects within each layer may be further organized by a Z Index that dictates the ordering within the layer. For examples, NMAMapObject objects that you create via the various NMAMapObject dervied classes reside at NMAMapLayerTypeForeground and their Z Index can be set via the NMAMapObject::zIndex: property.

Enumeration Members:

  • NMAMapLayerTypeForeground

    Objects at this layer are placed on top of any other objects (they appear closer to the viewer than other objects).

    Note:

    NMAMapObject objects that you create via the various NMAMapObject dervied classes reside at this layer.

  • NMAMapLayerTypePointOfInterest

    Objects at this layer are used to augment Point of Interest information.

    Note:

    NMAMapTileLayer (if available) objects can not currently be placed at this layer.

  • NMAMapLayerTypeTransitStop

    Objects at this layer are used to augment Transit Stop information. Transit stops are rendered on top of roads .

    Note:

    NMAMapTileLayer (if available) objects can not currently be placed at this layer.

  • NMAMapLayerTypeRoad

    Objects at this layer add some information to the road network. For example, traffic or traffic incident markers would be added at this level. Objects at this level appear on top of roads.

  • NMAMapLayerTypeArea

    Objects at this layer add information to area features. For example, heat maps would be added at this layer. Objects at this layer appear on top of the map background but underneath roads.

  • NMAMapLayerTypeBackground

    Objects at this layer are placed directly over (on top of or in front of) objects at the NMAMapLayerTypeReplacement layer. Use this layer for opaque or transparent objects that should appear on top of the basic map data.

  • NMAMapLayerTypeReplacement

    Objects at this layer are intended replace the basic map data. For example, custom satellite data would be rendered at this layer. Note that placing objects at this layer does not disable rendering of the basic map data.

NMAMapMatchMode

Include: NMAKit.framework/headers/NMAPositioningManager.h

The types of position matching that can be performed by the NMAPositioningManager.

Enumeration Members:

  • NMAMapMatchModeCar

    The raw position is matched only to roads which support automobile traffic.

  • NMAMapMatchModePedestrian

    The raw position is matched only to roads which support pedestrian traffic, e.g. including footpahs and excluding freeways.

NMAMapPedestrianFeatureType

Include: NMAKit.framework/headers/NMATypes.h

Defines the pedestrian map feature type used to show or hide map features that pedestrians may encounter while walking.

Enumeration Members:

  • NMAMapPedestrianFeatureTypeCrosswalk

    Crosswalk.

  • NMAMapPedestrianFeatureTypeStairs

    Stairway.

  • NMAMapPedestrianFeatureTypeEscalator

    Escalator.

  • NMAMapPedestrianFeatureTypeElevator

    Elevator.

  • NMAMapPedestrianFeatureTypeTunnel

    Tunnel.

  • NMAMapPedestrianFeatureTypeBridge

    Bridge.

  • NMAMapPedestrianFeatureTypeAll

    All pedestrian features.

NMAMapStyleConfigurationError

Include: NMAKit.framework/headers/NMACustomConfigurations.h

Defines types of error codes that can be returned when setting the HERE custom map style configuration.

Enumeration Members:

  • NMAMapStyleConfigurationErrorNone

    There was no error.

  • NMAMapStyleConfigurationErrorHERESDKAlreadyInitialized

    There was an error due to HERE SDK is already initialized.

  • NMAMapStyleConfigurationErrorConfigurationFile

    There was an error due to file cannot be found.

  • NMAMapStyleConfigurationErrorResourceFile

    There was an error due to file cannot be found.

  • NMAMapStyleConfigurationErrorTrafficConfigurationFile

    There was an error due to file cannot be found.

  • NMAMapStyleConfigurationErrorCustomPreferenceConfigurationFile

    There was an error due to file cannot be found.

  • NMAMapStyleConfigurationErrorConfigurationResourceFiles

    There was an error when trying to set configuration without setting resource file or vice versa. They must always be set together.

  • NMAMapStyleConfigurationErrorKeyIsNotSupported

    There was an error due to wrong key, e.g Passed key is not supported.

NMAMapVariant

Include: NMAKit.framework/headers/NMAApplicationContext.h

Defines map variants available.

Enumeration Members:

  • NMAMapVariantGlobal

    GLOBAL map variant.

  • NMAMapVariantKorea

    KOREA map variant. Please consult with your HERE representative to get access to this feature.

NMAPixelFormat

Include: NMAKit.framework/headers/NMATypes.h

Represents supported pixel formats for render buffers and bitmaps

Enumeration Members:

  • NMAPixelFormatUnknown

    Format is unknown.

  • NMAPixelFormatRGBA

    Format is RGBA (4 bytes per pixel)

  • NMAPixelFormatBGRA

    Format is BGRA (4 bytes per pixel)

  • NMAPixelFormatRGB

    Format is RGB (3 bytes per pixel)

  • NMAPixelFormatR5G6B5

    Format is R5G6B5 (2 bytes per pixel)

NMAPositionLogType

Include: NMAKit.framework/headers/NMAPositioningManager.h

Specifies the type of position logging currently enabled

Enumeration Members:

  • NMAPositionLogTypeNone

    No logging.

  • NMAPositionLogTypeDataSource

    Logs data source input positions to "*_ios_source.gpx".

  • NMAPositionLogTypeCurrent

    Logs currentPosition property updates to "*_ios_current.gpx".

  • NMAPositionLogTypeRaw

    Logs rawPosition property updates to "*_ios_raw.gpx".

  • NMAPositionLogTypeMatched

    Logs mapMatchedPosition property updates to "*_ios_matched.gpx".

  • NMAPositionLogTypeAll

    Logs everything.

NMARequestError

Include: NMAKit.framework/headers/NMATypes.h

Error codes that may be returned from places search requests.

Enumeration Members:

  • NMARequestErrorNone

    No error.

  • NMARequestErrorUnknown

    Unknown error.

  • NMARequestErrorAddressMissing

    Request is missing an address parameter.

  • NMARequestErrorLocationContextInvalid

    Location context is invalid.

  • NMARequestErrorLocationContextMissing

    Request is missing location context parameter.

  • NMARequestErrorCountryCodeMissing

    Request is missing a country code in the address parameter.

  • NMARequestErrorSearchTextMissing

    Request missing search text parameter.

  • NMARequestErrorInvalidParameter

    Invalid query parameter.

  • NMARequestErrorNetworkCommunication

    Network communications error.

  • NMARequestErrorNetworkServer

    Backend server unreachable.

  • NMARequestErrorNetworkEmptyInput

    Request input missing.

  • NMARequestErrorInvalidCredentials

    HERE Application ID and Application Code are missing or invalid.

  • NMARequestErrorHttp

    Request failed due to an HTTP error.

  • NMARequestErrorNetworkUnknown

    Unknown network error.

  • NMARequestErrorNotSupported

    Functionality not supported.

  • NMARequestErrorNotReady

    An entity is not ready. All poll functions return this when one needs to poll again. Also if an operation is in progress.

  • NMARequestErrorNotFound

    When something was not found.

  • NMARequestErrorAlreadyExists

    When resource already exists.

  • NMARequestErrorOutOfMemory

    Out of memory.

  • NMARequestErrorOperationFailed

    When operation fails (e.g.extracting of file failed)

  • NMARequestErrorAborted

    Operation aborted by user.

  • NMARequestErrorFinderIndexFailure

    Search index failure.

  • NMARequestErrorMovedPermanently

    Resource moved (e.g. resource URI changed)

  • NMARequestErrorNotModified

    Resource contend remains the same.

  • NMARequestErrorBadRequest

    Invalid request (places component might need to be updated)

  • NMARequestErrorResourceGone

    Resource no longer exists.

  • NMARequestErrorParse

    An error occured during document parsing (json, etc.)

  • NMARequestErrorTimeout

    Request timeout.

  • NMARequestErrorOperationNotAllowed

    Access to this operation is denied. Contact your HERE representative for more information.

NMARoadElementAttribute

Include: NMAKit.framework/headers/NMARoadElement.h

Attributes of a road element.

Enumeration Members:

  • NMARoadElementAttributeUndefined  
  • NMARoadElementAttributeDirectionNoCars

    Road direction.

  • NMARoadElementAttributeDirectionForward  
  • NMARoadElementAttributeDirectionBackward  
  • NMARoadElementAttributeDirectionBoth  
  • NMARoadElementAttributeDirtRoad

    Road type.

  • NMARoadElementAttributeUsageFeeRequired  
  • NMARoadElementAttributeCarpool  
  • NMARoadElementAttributeUrban  
  • NMARoadElementAttributeTollroad  
  • NMARoadElementAttributeNoThroughTraffic  
  • NMARoadElementAttributeTunnel  
  • NMARoadElementAttributeSliproad  
  • NMARoadElementAttributeHighway  
  • NMARoadElementAttributeUnderConstruction  
  • NMARoadElementAttributeHasLaneDir  
  • NMARoadElementAttributeHasLaneExit  
  • NMARoadElementAttributeFerry  
  • NMARoadElementAttributeRailFerry  
  • NMARoadElementAttributeDirectionNoTruck  
  • NMARoadElementAttributeDirectionTruckForward  
  • NMARoadElementAttributeDirectionTruckBackward  
  • NMARoadElementAttributeDirectionTruckBoth  

NMARoadElementPluralType

Include: NMAKit.framework/headers/NMARoadElement.h

Plural type identifies when a Junction is made up of multiple Road Elements. It also implies that a maneuver may require different explication than implied by the geometry.

Enumeration Members:

  • NMARoadElementPluralTypeNone

    Junction is not plural.

  • NMARoadElementPluralTypeManeuver

    Indicates that only one command should be given despite the fact that two Junctions occur – one at each end of the turn lane. It is only necessary to state "turn left/right" near the beginning of the maneuver because at the end the driver does not have a choice in direction.

  • NMARoadElementPluralTypeConnector

    Indicates that a road segment should not be viewed as an individual piece of road but as part of the intersection. A separate guidance manoeuvre should not exist for this segment.

  • NMARoadElementPluralTypeIndeterminate

    Indicates a maneuver that cannot be explained in one command or at all. A graphic may be needed to illustrate the turn. For example, a driver may need to go right to make a left turn.

NMARoadElementType

Include: NMAKit.framework/headers/NMARoadElement.h

Road element classifications.

The NAMRoadElementType describes the nature of the road that a NMARoadElement is part of. A road element may only have one type, or none if the road is an unclassified type or the information is not available.

Enumeration Members:

  • NMARoadElementTypeUndefined

    Road form of way is undefined/unknown.

  • NMARoadElementTypeMotorway

    Road to which regulations will normally apply with regards to entry and use. It has two or more mostly physically separated carriageways and no single level-crossings. Also known as a freeway or expressway.

  • NMARoadElementTypeMultiCarriageway

    Road with physically separated carriageways regardless of the number of lanes, which is not a motorway or a freeway.

  • NMARoadElementTypeSingleCarriageway

    Road where the traffic is not separated by any physical object.

  • NMARoadElementTypeRoundabout

    Road which forms a ring on which traffic travelling in only one direction is allowed.

  • NMARoadElementTypeSliproad

    Road especially designed to enter or exit another road.

  • NMARoadElementTypePedestrianZone

    Road within an area specially designed for use by pedestrians.

  • NMARoadElementTypePedestrianWalkway

    Paved or unpaved road for exclusive pedestrian use. These walkways are closed to bicycles and normal vehicles.

  • NMARoadElementTypeServiceAccessParking

    Deprecated: As of Release 3.4. No longer supported. Roads will no longer be returned with this element type.

    Road specially designed to enter or to leave a parking area.

  • NMARoadElementTypeServiceAccessOther

    Deprecated: As of Release 3.4. No longer supported. Roads will no longer be returned with this element type.

    Road designed to enter or to leave an uncategorized area.

  • NMARoadElementTypeServiceRoad

    Deprecated: As of Release 3.4. No longer supported. It is now replaced by NMARoadElementTypeServiceAccess

    Road running parallel to, and designed to connect, a road with a relatively high connectivity function with roads with a lower connectivity function.

  • NMARoadElementTypeServiceAccess

    Road running parallel to, and designed to connect, a road with a relatively high connectivity function with roads with a lower connectivity function.

NMARouteDisplayType

Include: NMAKit.framework/headers/NMATypes.h

Defines the color of the route. Color is pre-defined by the map scheme according to the type.

Enumeration Members:

  • NMARouteDisplayTypePrimary

    The "default" type of the route.

  • NMARouteDisplayTypeSecondary

    Secondary route can be used for example to show another route with different settings or dynamic penalties.

  • NMARouteDisplayTypeUserDefined

    The route color is set by the user.

NMASafetySpotType

Include: NMAKit.framework/headers/NMASafetySpot.h

Defines the safety spot type: undefined, speed camera, red light camera or both speed and red light camera.

Enumeration Members:

  • NMASafetySpotTypeUndefined  
  • NMASafetySpotTypeSpeedCamera  
  • NMASafetySpotTypeRedLightCamera  
  • NMASafetySpotTypeSpeedRedLightCamera  

NMATrafficEventSeverity

Include: NMAKit.framework/headers/NMATrafficEvent.h

The severity levels of a traffic event.

See also:

NMATrafficEvent::severity

Enumeration Members:

  • NMATrafficEventSeverityUndefined  
  • NMATrafficEventSeverityNormal  
  • NMATrafficEventSeverityHigh  
  • NMATrafficEventSeverityVeryHigh  
  • NMATrafficEventSeverityBlocking  

NMATrafficNotificationType

Include: NMAKit.framework/headers/NMATrafficNotificationInfo.h

Traffic notification type

Enumeration Members:

  • NMATrafficNotificationUndefined  
  • NMATrafficNotificationOnRoute  
  • NMATrafficNotificationOnHighway  
  • NMATrafficNotificationNearStart  
  • NMATrafficNotificationNearStopover  
  • NMATrafficNotificationNearDestination  

NMATrafficRequestError

Include: NMAKit.framework/headers/NMATrafficManager.h

Error codes indicating the result of a traffic event request.

Enumeration Members:

  • NMATrafficRequestErrorNone

    No error.

  • NMATrafficRequestErrorInvalidParameters

    Invalid parameters were given to the request, e.g. a nil route.

  • NMATrafficRequestErrorInvalidOperation

    The traffic request operation cannot be performed at this time.

  • NMATrafficRequestErrorUnknown

    An unknown error occurred.

NMATrafficSeverity

Include: NMAKit.framework/headers/NMATrafficNotificationInfo.h

Traffic Severity

Enumeration Members:

  • NMATrafficSeverityUndefined  
  • NMATrafficSeverityNormal  
  • NMATrafficSeverityHigh  
  • NMATrafficSeverityVeryHigh  
  • NMATrafficSeverityBlocking  

NMATransitManagerError

Include: NMAKit.framework/headers/NMATransitManager.h

Possible result codes of NMATransitManager upon completion of an operation.

Enumeration Members:

  • NMATransitManagerErrorNone  
  • NMATransitManagerErrorBusy  
  • NMATransitManagerErrorInvalidParameters  
  • NMATransitManagerErrorTimeOut

    Deprecated: NMATransitManagerErrorTimeOut is deprecated.

  • NMATransitManagerErrorNotFound

    NMATransitManagerErrorNotFound returns when there is no connectivity and no cached data.

  • NMATransitManagerErrorUnknown  

NMATransitObjectType

Include: NMAKit.framework/headers/NMATransitObject.h

The types of public transit object that can be represented by an instance of NMATransitObject.

Enumeration Members:

  • NMATransitObjectTypeAccess  
  • NMATransitObjectTypeLine  
  • NMATransitObjectTypeStop  

NMATransitType

Include: NMAKit.framework/headers/NMATransitManager.h

Represents values describing the types of transit that an application user might take.

Enumeration Members:

  • NMATransitTypePublicBus

    A public bus.

  • NMATransitTypeTouristicBus

    A tourist bus.

  • NMATransitTypeIntercityBus

    An intercity bus.

  • NMATransitTypeExpressBus

    An express bus.

  • NMATransitTypeMetroRail

    A metro railway.

  • NMATransitTypeLightRail

    A regional railway. Usually represents in-city services (such as commuter rail, RER, SBahn) that have a high frequency and lower speed.

  • NMATransitTypeRegionalRail

    A regional train. Usually represents intercity services (such as an Amtrak, DB, SNCF) that are infrequent and travel at high speeds.

  • NMATransitTypeRegionalTrain

    A regional train.

  • NMATransitTypeIntercityTrain

    An intercity train.

  • NMATransitTypeHighSpeedTrain

    A high-speed train.

  • NMATransitTypeMonorail

    Monorail!

  • NMATransitTypeAerial

    Aerial transit.

  • NMATransitTypeInclined

    Inclined transit.

  • NMATransitTypeWater

    A water taxi or ferry.

  • NMATransitTypeAirline

    An airline.

  • NMATransitTypeUnknown

    An unknown transit type.

Public Variable Details

FOUNDATION_EXPORT NSString *const _Nonnull NMAApplicationContextOnlineStatusDidChangeNotification

Include: NMAKit.framework/headers/NMAApplicationContext.h

Indicates that the NMAApplicationContext isOnline status has changed.

In order to receive this notification, register with NSNotificationCenter using this notification name and a nil notification sender.

FOUNDATION_EXPORT NSString *const _Nonnull NMAAudioRouteDidChangeNotification

Include: NMAKit.framework/headers/NMAAudioManager.h

System audio route changed notification.

This notification is posted when the system changes the audio route. The route will be changed when the current route is set to NMAAudioRouteBluetoothHFP and no audio device supporting Bluetooth HFP is connected when an NMAAudioOutput playback attempt is made.

Note:

This notification is NOT posted as a result of calling [ NMAAudioManager setAudioRoute:]

FOUNDATION_EXPORT const double NMAGeoPositionUnknownValue

Include: NMAKit.framework/headers/NMAGeoPosition.h

A constant used to indicate an unknown measurement value.

FOUNDATION_EXPORT const NSUInteger NMAMapObjectMaximumZIndex

Include: NMAKit.framework/headers/NMATypes.h

The maximum Z Index for an NMAMapObject

FOUNDATION_EXPORT const NSUInteger NMAMapObjectMinimumZIndex

Include: NMAKit.framework/headers/NMATypes.h

The minimum Z Index for an NMAMapObject

FOUNDATION_EXPORT NMAMapViewCustomConfigurationFileKey const NMAMapViewConfigurationFileKey

Include: NMAKit.framework/headers/NMACustomConfigurations.h

Map Style Configuration File.

Note:

Key for the full file path of the configuration file.

FOUNDATION_EXPORT NMAMapViewCustomConfigurationFileKey const NMAMapViewCustomPreferenceConfigurationFileKey

Include: NMAKit.framework/headers/NMACustomConfigurations.h

Map Style Custom File.

Note:

Key for the full file path of the custom configuration file.

FOUNDATION_EXPORT const float NMAMapViewMaximumZoomLevel

Include: NMAKit.framework/headers/NMATypes.h

Upper limit of the NMAMapView zoomLevel property.

FOUNDATION_EXPORT const float NMAMapViewMinimumZoomLevel

Include: NMAKit.framework/headers/NMATypes.h

Lower limit of the NMAMapView zoomLevel property.

FOUNDATION_EXPORT NMAMapViewCustomConfigurationFileKey const NMAMapViewResourceFileKey

Include: NMAKit.framework/headers/NMACustomConfigurations.h

Map Style Resource File.

Note:

Key for the full file path of the resource file.

FOUNDATION_EXPORT NMAMapViewCustomConfigurationFileKey const NMAMapViewTrafficConfigurationFileKey

Include: NMAKit.framework/headers/NMACustomConfigurations.h

Map Style Traffic File.

Note:

Key for the full file path of the traffic configuration file.

FOUNDATION_EXPORT NSString *const _Nonnull NMAPositioningManagerDidLosePositionNotification

Include: NMAKit.framework/headers/NMAPositioningManager.h

Indicates that the NMAPositioningManager currentPosition has been lost.

In order to receive this notification, register with NSNotificationCenter using this notification name and the [ NMAPositioningManager sharedPositioningManager] instance as the object (notification sender).

FOUNDATION_EXPORT NSString *const _Nonnull NMAPositioningManagerDidUpdatePositionNotification

Include: NMAKit.framework/headers/NMAPositioningManager.h

Indicates that the NMAPositioningManager currentPosition has changed.

NMAPositioningManager Notifications In order to receive this notification, register with NSNotificationCenter using this notification name and the [ NMAPositioningManager sharedPositioningManager] instance as the object (notification sender).

Group Function Details

-(HERESDK_EXPORT CG_INLINE BOOL) NMAVector3dEqualToVector(const NMAVector3d ) v1(const NMAVector3d ) v2

Include: NMAKit.framework/headers/NMAVector3d.h

Check if two vectors are equal.

Parameters:

  • v1

    first vector

  • v2

    second vector

Returns:

true if two vectors are equal, false otherwise

-(HERESDK_EXPORT CG_INLINE NMAVector3d ) NMAVector3dMake(CGFloat) x(CGFloat) y(CGFloat) z

Include: NMAKit.framework/headers/NMAVector3d.h

Convenient method for creating a new NMAVector3d.

Parameters:

  • x

    X axis value

  • y

    Y axis value

  • z

    Z axis value

Returns:

a new NMAVector3d struct

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.