RealisticViewWarningListener (API Reference)
Package com.here.sdk.navigation
Interface RealisticViewWarningListener
public interface RealisticViewWarningListener
This interface should be implemented in order to receive realistic view warnings.
A RealisticViewWarning will not be given until the previous warning of that type has been passed.
For example, a route with RealisticViewWarning 120 meters and RealisticViewWarning 160 meters ahead,
the first RealisticViewWarning.distanceToRealisticViewInMeters is 120 meters
and the next RealisticViewWarning.distanceToRealisticViewInMeters is then 40 meters,
since that is the distance between the first and second warnings.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonRealisticViewWarningUpdated(RealisticViewWarning realisticViewWarning) Called whenever a new realistic view warning is available.
-
Method Details