milestoneStatusListener property
Object to receive notifications about the arrival at each Milestone or missing it.
It informs on all waypoints (passed or missed) that
are of type MilestoneType.stopover but excludes the
starting waypoint.
Waypoints of type MilestoneType.passthrough are excluded, by default,
but can be included via NavigatorInterface.isPassthroughWaypointsHandlingEnabled.
Milestone status notifications only occurs if a route has been set.
Setting null value to the listener will unset the listener.
It returns null when no listener is set by an user.
Gets the listener that notifies when a Milestone has been reached or missed.
Implementation
MilestoneStatusListener? get milestoneStatusListener;
Object to receive notifications about the arrival at each Milestone or missing it.
It informs on all waypoints (passed or missed) that
are of type MilestoneType.stopover but excludes the
starting waypoint.
Waypoints of type MilestoneType.passthrough are excluded, by default,
but can be included via NavigatorInterface.isPassthroughWaypointsHandlingEnabled.
Milestone status notifications only occurs if a route has been set.
Setting null value to the listener will unset the listener.
It returns null when no listener is set by an user.
Sets the listener that notifies when a Milestone has been reached or missed.
Implementation
set milestoneStatusListener(MilestoneStatusListener? value);