attenuationDurationThresholds
The configurable signal-loss thresholds for calculating exposure risk.
Declaration
var attenuationDurationThresholds: [NSNumber] { get set }Discussion
Signal attenuation and duration are measurable aspects of exposure risk. Set threshold values to configure the degree to which the signal loss between two devices for a specific duration signifies a potential exposure. Four categories are described in ENExposureConfiguration: immediate, near, medium, and other.
[Image]
The following entries in the attenuationDurationThresholds array correspond to three thresholds for the four categories:
attenuationDurationThresholds[0]The immediate duration threshold. The framework sums the duration of exposures for which the attenuation is less than or equal to
attenuationDurationThresholds[0]. The default value is50.attenuationDurationThresholds[1]The near attenuation threshold. The framework sums the duration of exposures for which the attenuation is greater than
attenuationDurationThresholds[0]and less than or equal toattenuationDurationThresholds[1]. The default value is70.attenuationDurationThresholds[2]The medium attenuation threshold. The framework sums the duration of exposures for which the attenuation is greater than
attenuationDurationThresholds[1]and less than or equal toattenuationDurationThresholds[2]. The default value is90.
Attenuation values greater than attenuationDurationThresholds[2] accumulate into the “other” category.