HERE Android SDK Developer's Guide

SafetySpotNotificationInfo

The class SafetySpotNotificationInfo is a member of com.here.android.mpa.guidance .

Class Summary

public final class SafetySpotNotificationInfo

extends java.lang.Object

Notification information for this safety spot.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in SafetySpotNotificationInfo
Methods

public long getDistance ()

Gets the distance to this safety spot.

public SafetySpotInfo getSafetySpot ()

Gets the safety spot associated with this notification info.

public String toString ()

For documentation, see java.lang.Object

Class Details

Notification information for this safety spot.

Method Details

public long getDistance ()

Gets the distance to this safety spot.

Returns:

The distance in meters.

public SafetySpotInfo getSafetySpot ()

Gets the safety spot associated with this notification info.

Returns:

The safety spot.

public String toString ()

For documentation, see java.lang.Object