LowSpeedZoneWarningListener constructor

LowSpeedZoneWarningListener(
  1. void onLowSpeedZoneWarningUpdatedLambda(
    1. LowSpeedZoneWarning
    )
)

This abstract class should be implemented in order to receive low speed zone warnings.

Note: This is currently available only for Japan. The low speed zone warner is a zone warner, which means that for a low speed zone there will always be 3 warnings emitted, with the LowSpeedZoneWarning.distance_type set to DistanceType.AHEAD, DistanceType.REACHED and lastly DistanceType.PASSED when the end of the low speed zone is passed.

Implementation

factory LowSpeedZoneWarningListener(
  void Function(LowSpeedZoneWarning) onLowSpeedZoneWarningUpdatedLambda,

) => LowSpeedZoneWarningListener$Lambdas(
  onLowSpeedZoneWarningUpdatedLambda,

);