ManeuverViewLaneAssistance class

A class that provides lane assistance information for the next maneuver(s).

During turn-by-turn navigation lane assistance can help a driver to choose the recommended lanes in order to complete the upcoming maneuvers. The notifications are synchronized with the EventTextListener. EventTextListener has 4 notification types for each maneuver: Range, Reminder, Distance and Action. Only the maneuver notification of type Distance will also notify a ManeuverViewLaneAssistance object (e.g. "After 400 meters, turn right onto Invalidenstraße"). The notification will not be sent when other types of maneuver notification are given. The notification will not be sent when no lane data is available. During tracking mode, no notifications are delivered. This ManeuverViewLaneAssistance information is valid until the next maneuver is reached.

Constructors

ManeuverViewLaneAssistance(List<Lane> lanesForNextManeuver, List<Lane> lanesForNextNextManeuver)
Creates a new instance.

Properties

hashCode → int
The hash code for this object.
no setter
lanesForNextManeuver ↔ List<Lane>
A list of lanes on the current road that leads to the upcoming maneuver. The lanes are sorted from left to right: The lane at index 0 represents the leftmost lane and the last index represents the rightmost lane. This is valid for both right-hand and left-hand driving countries. Contraflow lanes are not included in the list. The list is guaranteed to be non-empty. RoadAttributes.isRightDrivingSide indicates if this is a left-hand driving country or not.
getter/setter pair
lanesForNextNextManeuver ↔ List<Lane>
A list of lanes on the road that leads to the maneuver after the upcoming maneuver. The lanes are sorted from left to right: The lane at index 0 represents the leftmost lane and the last index represents the rightmost lane. This is valid for both right-hand and left-hand driving countries. Contraflow lanes are not included in the list. RoadAttributes.isRightDrivingSide indicates if this is a left-hand driving country or not. By default, this list is empty. It will be filled when the next two maneuvers are too close to each other, or when the next two maneuvers are roundabout maneuvers. Note: This notification is delivered at the same time as the ManeuverViewLaneAssistance.lanesForNextManeuver. There is no separate maneuver notification on the second maneuver when two maneuvers are are too close to each other.
getter/setter pair
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
toString() → String
A string representation of this object.
inherited

Operators

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