railwayCrossingWarningListener property
- @Deprecated("Will be removed in v4.29.0. Use the `WarnerEngine.addWarningListener()` method with own `WarningListener` implementation as parameter instead.")
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
@Deprecated("Will be removed in v4.29.0. Use the `WarnerEngine.addWarningListener()` method with own `WarningListener` implementation as parameter instead.")
RailwayCrossingWarningListener? get railwayCrossingWarningListener;
- @Deprecated("Will be removed in v4.29.0. Use the `WarnerEngine.addWarningListener()` method with own `WarningListener` implementation as parameter instead.")
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
@Deprecated("Will be removed in v4.29.0. Use the `WarnerEngine.addWarningListener()` method with own `WarningListener` implementation as parameter instead.")
set railwayCrossingWarningListener(RailwayCrossingWarningListener? value);