getLaneDecreaseWarning abstract method

LaneDecreaseWarning? getLaneDecreaseWarning(
  1. Warning warning
)

Returns a lane decrease warning corresponding to the given identifier.

  • warning The identifier of the warning, as provided by WarningListener.onWarning. The warning uniquely identifies a single lane decrease warning within this registry and is used to retrieve its full metadata.

Returns LaneDecreaseWarning?. The LaneDecreaseWarning object associated with the provided WarningsRegistry.getLaneDecreaseWarning.warning, or null if no warning exists for the given WarningsRegistry.getLaneDecreaseWarning.warning. This object contains the full details and attributes of the corresponding warning.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Implementation

LaneDecreaseWarning? getLaneDecreaseWarning(Warning warning);