setWarningNotificationDistances abstract method

bool setWarningNotificationDistances(
  1. WarningType warningType,
  2. WarningNotificationDistances warningNotificationDistances
)

Sets the warning notification distances for the specified warning type.

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

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

  • warningNotificationDistances The warning notification distances to be set for the specified warning type.

Returns bool. True if the distances were successfully set; false if WarnerEngine.setWarningNotificationDistances.warningType is WarningType.custom or the options could not be applied.

Implementation

bool setWarningNotificationDistances(WarningType warningType, WarningNotificationDistances warningNotificationDistances);