setCustomWarningNotificationDistances abstract method
- int customWarningType,
- 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.
-
customWarningTypeThe identifier of the custom warning type for which the notification distances should be set. -
warningNotificationDistancesThe warning notification distances to be applied for the specifiedWarnerEngine.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);