HERE Android SDK Developer's Guide

OnSpeedWarningSwitchListener

The interface OnSpeedWarningSwitchListener is a member of com.here.android.mpa.nlp.Nlp.

Interface Summary

public static abstract interface Nlp.OnSpeedWarningSwitchListener

   extends com.here.android.mpa.nlp.Nlp.ListenerBase

The speed warning mode during navigation event listener interface

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnSpeedWarningSwitchListener
Methods

public abstract void onSpeedWarningSwitch (Error error, boolean on)

A callback indicating that the speed warning was switched on or off.

Interface Details

The speed warning mode during navigation event listener interface

Method Details

public abstract void onSpeedWarningSwitch (Error error, boolean on)

A callback indicating that the speed warning was switched on or off. e.g. "Turn on/off speed warning"

Parameters:

  • error

    Error information for switching speed warning. If FAILED, speed warning will not be switched.

  • on

    If true, speed warning is enabled