RealisticViewWarningListener class abstract
This abstract class 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.
Constructors
- RealisticViewWarningListener(void onRealisticViewWarningUpdatedLambda(RealisticViewWarning))
-
This abstract class
should be implemented in order to receive realistic view warnings.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRealisticViewWarningUpdated(
RealisticViewWarning realisticViewWarning) → void - Called whenever a new realistic view warning is available.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited