HERE iOS SDK Developer's Guide

NMATrafficNotificationInfo

Class Summary

class NMATrafficNotificationInfo

Derived from: NSObject

Traffic notification information object that gives detailed information about a specific instance of traffic within a NMATrafficNotification.

Include: NMAKit.framework/headers/NMATrafficNotificationInfo.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMATrafficNotificationInfo

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMAGeoBoundingBox affectedArea

The geographical area represented by this NMATrafficNotificationInfo object

[readable, assign] double  affectedLength

The length, in meters, of the traffic instance

[readable, assign] double  distance

[readable, assign] NMATrafficSeverity   severity

Traffic Severity

[readable, assign] NSTimeInterval  travelTime

The free flow travel time (i

[readable, assign] NSTimeInterval  travelTimeWithTraffic

The travel time, adjusted to account for traffic, to travel the road segment represented by this NMATrafficNotificationInfo object for a distance of affectedLength

[readable, assign] NMATrafficNotificationType   type

Traffic Notification type

Class Details

Traffic notification information object that gives detailed information about a specific instance of traffic within a NMATrafficNotification.

Note:

This class should not be initialized directly.

Public Property Details

[readable, assign] NMAGeoBoundingBoxaffectedArea

The geographical area represented by this NMATrafficNotificationInfo object.

[readable, assign] double affectedLength

The length, in meters, of the traffic instance.

When this NMATrafficNotificationInfo object is obtained via NMATrafficWarner during navigation of a route (([ NMANavigationManager navigationMode] == NMANavigationModeTurnByTurn) or in repsonse to querying the traffic on a route this method returns the portion of the current route affected by the traffic instance.

Otherwise this method returns the full length of the traffic instance.

[readable, assign] double distance

The distance, in meters, from the current GPS position (as reported by NMAPositioningManager) to the start of the traffic instance

[readable, assign] NMATrafficSeverity  severity

Traffic Severity.

[readable, assign] NSTimeInterval travelTime

The free flow travel time (i.e. average time with no traffic) to travel the road segment represented by this NMATrafficNotificationInfo object for a distance of affectedLength.

[readable, assign] NSTimeInterval travelTimeWithTraffic

The travel time, adjusted to account for traffic, to travel the road segment represented by this NMATrafficNotificationInfo object for a distance of affectedLength.

[readable, assign] NMATrafficNotificationType  type

Traffic Notification type.

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.