TollStopWarningListener class abstract

This abstract class should be implemented in order to receive information on the upcoming toll booth structure.

The warner might also warn about gates/checkpoints for vignette, border checkpoints and similar structures on the street.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process. A TollStop will not be given until the previous warning of that type has been passed. For example, a route with TollStop 120 meters and TollStop 160 meters ahead, the first TollStop.distance_to_toll_stop_in_meters is 120 meters and the next TollStop.distance_to_toll_stop_in_meters is then 40 meters, since that is the distance between the first and second warnings.

Constructors

TollStopWarningListener(void onTollStopWarningLambda(TollStop))
This abstract class should be implemented in order to receive information on the upcoming toll booth structure.
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
onTollStopWarning(TollStop tollStop) → void
Called whenever a new TollStop is available.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited