truckRestrictionsWarningListener property

  1. @Deprecated("Will be removed in v4.29.0. Use the `WarnerEngine.addWarningListener()` method with own `WarningListener` implementation as parameter instead.")
TruckRestrictionsWarningListener? truckRestrictionsWarningListener

Object to receive notifications about truck restrictions 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 truck restrictions 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.")
TruckRestrictionsWarningListener? get truckRestrictionsWarningListener;
  1. @Deprecated("Will be removed in v4.29.0. Use the `WarnerEngine.addWarningListener()` method with own `WarningListener` implementation as parameter instead.")
void truckRestrictionsWarningListener=(TruckRestrictionsWarningListener? value)

Object to receive notifications about truck restrictions 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 truck restrictions 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 truckRestrictionsWarningListener(TruckRestrictionsWarningListener? value);