HERE iOS SDK Developer's Guide

NMASafetySpot

Class Summary

class NMASafetySpot

Derived from: NSObject

NMASafetySpot represents a safety spot instance.

Include: NMAKit.framework/headers/NMASafetySpot.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMASafetySpot

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSInteger  heading1

Heading in degrees representing the operational direction of the camera - ie the direction of travel of vehicles detected by the camera (regardless of whether the camera photographs front or rear of the vehicle)

[readable, assign] NSInteger  heading2

Heading for the ( possible ) second camera

[readable, assign] NMAGeoCoordinates location

The location of the camera

[readable, assign] float  speedLimit1

The speed limit that triggers the camera on heading 1 in m/s

[readable, assign] float  speedLimit2

The speed limit that triggers the camera on heading 2 in m/s

[readable, assign] NMASafetySpotType   type

The type of the safety spot

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

NMASafetySpot represents a safety spot instance.

Public Property Details

[readable, assign] NSInteger heading1

Heading in degrees representing the operational direction of the camera - ie the direction of travel of vehicles detected by the camera (regardless of whether the camera photographs front or rear of the vehicle). With no heading ( value is zero ), a camera operates in all directions. Safety spot may have two cameras; see get_heading_2_deg( ). Contains the heading in degrees, 1 - 359, where 1 is north. The angle increases clockwise.

[readable, assign] NSInteger heading2

Heading for the ( possible ) second camera. If heading 1 is not zero, and heading 2 is zero, there is only one camera, using the heading 1. Contains the heading in degrees, 1 - 359, where 1 is north. The angle increases clockwise.

[readable, assign] NMAGeoCoordinateslocation

The location of the camera.

[readable, assign] float speedLimit1

The speed limit that triggers the camera on heading 1 in m/s.

[readable, assign] float speedLimit2

The speed limit that triggers the camera on heading 2 in m/s.

[readable, assign] NMASafetySpotType  type

The type of the safety spot.

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