getCustomWarningNotificationDistances abstract method

WarningNotificationDistances getCustomWarningNotificationDistances(
  1. int customWarningType
)

Returns the warning notification distances for the specified custom warning type.

Unlike WarnerEngine.getWarningNotificationDistances, which operates on a WarningType, this method targets a specific custom warning category identified by WarnerEngine.getCustomWarningNotificationDistances.customWarningType, as defined in CustomWarning.customWarningType and Warning.customWarningType.

  • customWarningType The identifier of the custom warning type for which the notification distances are requested.

Returns WarningNotificationDistances. The warning notification distances configured for the given WarnerEngine.getCustomWarningNotificationDistances.customWarningType. If no distances have been explicitly set for this type, a default WarningNotificationDistances value is returned.

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

WarningNotificationDistances getCustomWarningNotificationDistances(int customWarningType);