NeccessoryNeccessory

Signal quality

The quality rating on every result and live update — what it means and how to gate your UI on it.

Every measurement result carries a quality object. It tells you how far you can trust the whole measurement before you show a single number.

The quality object

"quality": { "level": "good", "score": 0.82, "usable": true }
FieldTypeDescription
level"good" | "fair" | "poor"Rating for display
scorenumber, 0–1Overall signal quality, two decimals
usablebooleantrue for good and fair, false for poor

quality is always present and never null.

scorelevelusableWhat to do
0.60–1.00goodtrueShow the metrics
0.38–0.59fairtrueShow the metrics; suggest a re-measure for important decisions
below 0.38poorfalseEvery metric is null. Ask the person to measure again

Gate your UI on usable

if (!result.quality.usable) {
  showRetry('We could not get a clear reading. Sit still in even light and try again.');
} else {
  renderMetrics(result);
}

A poor result means "no measurement", not "a bad measurement". Neccessory never fills the gap with an estimate.

Missing values

Even with good quality, a single metric can be null when it did not collect enough clean signal — HRV and blood pressure need more than heart rate. Hide or dim such a field; do not render 0 or a dash that looks like a value.

Heart rate, blood pressure and SpO2 also carry a per-metric confidence from 0 to 1. Other metrics rely on the overall quality.

Live feedback during a measurement

The live updates carry the current quality level, so you can guide the person while they measure:

  • Web SDK: onRealtime → update.quality.level; in cloud mode also onCoach with a concrete hint such as tooDark or unstable. See Callbacks & errors.
  • iOS SDK: onRealtime → update.qualityLevel and update.hint. See Results.

A low level almost always has a fixable cause: movement, dim or uneven light, or the face too far from the camera. Requirements lists ready-made guidance.