getWarningNotificationDistances abstract method

WarningNotificationDistances getWarningNotificationDistances(
  1. WarningType warningType
)

Returns the warning notification distances for the requested warning type.

Note: WarningType.custom is not a valid value for this method. Use WarnerEngine.getCustomWarningNotificationDistances to retrieve distances for a specific custom warning type.

  • warningType The warning type for which the notification distances will be returned. Must not be WarningType.custom.

Returns WarningNotificationDistances. The warning notification distances for the given WarnerEngine.getWarningNotificationDistances.warningType. If WarnerEngine.getWarningNotificationDistances.warningType is WarningType.custom, a default WarningNotificationDistances value is returned.

Implementation

WarningNotificationDistances getWarningNotificationDistances(WarningType warningType);