SpeedingListener

public interface SpeedingListener

Callback to notify you the percentage above the speed limit the driver is currently driving at.

Public Method Summary

abstract void
onSpeedingUpdated(float percentageAboveLimit)
Notifies you that the driver is speeding above the speed limit by the specified percentage.

Public Methods

public abstract void onSpeedingUpdated (float percentageAboveLimit)

Notifies you that the driver is speeding above the speed limit by the specified percentage.

When the driver is at or below the speed limit, NavSDK reports the percentage as 0; when the speed limit is unknown or the speed is invalid, NavSDK reports -1.

Parameters
percentageAboveLimit