railwayCrossingWarningListener property
Object to receive notifications about railway crossings on the current road.
Railway crossing notifications are given regardless if a route is 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 to receive notifications about railway crossings on the current road.
Implementation
RailwayCrossingWarningListener? get railwayCrossingWarningListener;
Object to receive notifications about railway crossings on the current road.
Railway crossing notifications are given regardless if a route is 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 to receive notifications about railway crossings on the current road.
Implementation
set railwayCrossingWarningListener(RailwayCrossingWarningListener? value);