HERE Android SDK Developer's Guide

SafetySpotInfo

The class SafetySpotInfo is a member of com.here.android.mpa.mapping .

Class Summary

public final class SafetySpotInfo

extends java.lang.Object

Contains information about a particular safety spot.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in SafetySpotInfo
Nested Classes

public static final enumeration SafetySpotInfo.Type

Method Summary

Table 2. Methods in SafetySpotInfo
Methods

public GeoCoordinate getCoordinate ()

Gets the position GeoCoordinate for the safety spot.

public int getHeading1Deg ()

Returns the heading, in degrees, representing the operational direction of the safety spot camera.

public int getHeading2Deg ()

Returns the heading for the ( possible ) second camera.

public int getSpeedLimit1 ()

Returns the speed limit the camera on heading 1 is triggered.

public int getSpeedLimit2 ()

Returns the speed limit the camera on heading 2 is triggered.

public Type getType ()

Returns the type of this safety spot.

public String toString ()

For documentation, see java.lang.Object

Class Details

Contains information about a particular safety spot. Common types of safety spots include speed camera and red light camera.

Method Details

public GeoCoordinate getCoordinate ()

Gets the position GeoCoordinate for the safety spot.

Returns:

position of the stop.

public int getHeading1Deg ()

Returns the heading, in degrees, representing the operational direction of the safety spot camera. The operational direction is the direction of travel for vehicles to be detected by the camera, regardless of whether the camera photographs the front or rear of the vehicle. If no heading is returned (the returned value is zero), then this means the camera operates in all directions.

A safety spot may have two cameras, for more information see getHeading2Deg().

Returns:

The heading, 1 - 359, 1 = north increases clockwise.

public int getHeading2Deg ()

Returns the heading for the ( possible ) second camera. If heading 1 is not zero, and heading 2 is zero, then there is only one camera, using the heading 1.

Returns:

The heading, 1 - 359, 1 = north increases clockwise.

public int getSpeedLimit1 ()

Returns the speed limit the camera on heading 1 is triggered.

Returns:

The speed limit, in meters per second

public int getSpeedLimit2 ()

Returns the speed limit the camera on heading 2 is triggered.

Returns:

The speed limit, in meters per second

public Type getType ()

Returns the type of this safety spot.

Returns:

the safetyspot type

public String toString ()

For documentation, see java.lang.Object

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.