roadSignWarningListener property

RoadSignWarningListener? roadSignWarningListener

Object to receive notifications about road signs on the current road. Setting null value to the listener will unset the listener. It returns null when no listener is set by an user. Gets the listener to receive notifications about road signs on the current road.

Implementation

RoadSignWarningListener? get roadSignWarningListener;
void roadSignWarningListener=(RoadSignWarningListener? value)

Object to receive notifications about road signs on the current road. Setting null value to the listener will unset the listener. It returns null when no listener is set by an user. Sets the listener to receive notifications about road signs on the current road. Note: This RoadSignWarningListener will provide school zone warnings only in case the speed limit inside the school zone is different than the default speed limit applicable for cars outside the school zone. For warnings about school zones regardless of their speed limits, the NavigatorInterface.road_sign_warning_listener should be used and the RoadSignWarning.type should be checked for value RoadSignType.SCHOOL_ZONE. The school zone warner is a zone warner, which means that for a school zone there will always be 3 warnings emitted, with the SchoolZoneWarning.distance_type set to DistanceType.AHEAD, DistanceType.REACHED

Implementation

set roadSignWarningListener(RoadSignWarningListener? value);