HERE Android SDK Developer's Guide

SpeedWarningListener

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

Class Summary

public static abstract class NavigationManager.SpeedWarningListener

extends java.lang.Object

SpeedListener provides callback of speed warning related events from NavigationManager .

[For complete information, see the section Class Details]

See also:

setSpeedWarningEnabled(boolean)

setSpeedWarningOptions(float, float, float)

Constructor Summary

Table 1. Constructors in SpeedWarningListener
Constructors

SpeedWarningListener ()

Method Summary

Table 2. Methods in SpeedWarningListener
Methods

public void onSpeedExceeded (String roadName, float speedLimit)

Callback for Speed limit exceeded event.

public void onSpeedExceededEnd (String roadName, float speedLimit)

Callback for Speed limit no longer exceeded event.

Class Details

SpeedListener provides callback of speed warning related events from NavigationManager . By default, empty implementations are provided for each callback method, users may selectively overload specific methods that are of interest.

See also:

setSpeedWarningEnabled(boolean)

setSpeedWarningOptions(float, float, float)

Constructor Details

SpeedWarningListener ()

Method Details

public void onSpeedExceeded (String roadName, float speedLimit)

Callback for Speed limit exceeded event.

Parameters:

  • roadName

    Road name.

  • speedLimit

    Current speed limit in meters per second.

public void onSpeedExceededEnd (String roadName, float speedLimit)

Callback for Speed limit no longer exceeded event.

Parameters:

  • roadName

    Road name.

  • speedLimit

    Current speed limit in meters per second.