HERE iOS SDK Developer's Guide

NMATrafficObject

Class Summary

class NMATrafficObject

Derived from: NMAProxyObject

Visually represents a traffic incident with an SDK view such as NMAMapView.

Include: NMAKit.framework/headers/NMATrafficObject.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMATrafficObject

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMATrafficEvent trafficEvent

The NMATrafficEvent represented by this NMATrafficObject

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Visually represents a traffic incident with an SDK view such as NMAMapView.

Traffic objects are automatically created and displayed by the SDK (if traffic is currently enabled for the view in question). They can be obtained by selecting view objects; for example, by calling objectsAtPoint: in NMAMapView or a tap gesture from the user.

Traffic objects are purely a visual representation. The actual information about the traffic incident is accessed via the trafficEvent property.

Public Property Details

[readable, assign] NMATrafficEventtrafficEvent

The NMATrafficEvent represented by this NMATrafficObject.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly