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]

Protected Enumeration Summary

Table 1. Protected Enumerations
Protected Enumerations

NMASafetySpotType

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

Public Property Summary

Table 2. 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

Class Details

NMASafetySpot represents a safety spot instance.

Protected Enumeration Details

NMASafetySpotType

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

Enumeration Members:

  • NMASafetySpotTypeUndefined  
  • NMASafetySpotTypeSpeedCamera  
  • NMASafetySpotTypeRedLightCamera  
  • NMASafetySpotTypeSpeedRedLightCamera  

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.

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.