setCustomWarningNotificationDistances abstract method

void setCustomWarningNotificationDistances(
  1. int customWarningType,
  2. WarningNotificationDistances warningNotificationDistances
)

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

Unlike WarnerEngine.setWarningNotificationDistances, which applies settings to a WarningType, this method allows configuring notification distances independently for each custom warning category identified by WarnerEngine.setCustomWarningNotificationDistances.customWarningType, as defined in CustomWarning.customWarningType and Warning.customWarningType.

  • customWarningType The identifier of the custom warning type for which the notification distances should be set.

  • warningNotificationDistances The warning notification distances to be applied for the specified WarnerEngine.setCustomWarningNotificationDistances.customWarningType.

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

void setCustomWarningNotificationDistances(int customWarningType, WarningNotificationDistances warningNotificationDistances);