HrvSampleKind enum

What HrvSample.rmssdMs actually represents — see the runtime's synheart_resilience::HrvSampleKind enum for full math implications.

  • rawRr — beat-to-beat RR interval (ms). Engine treats the sequence as raw RR and computes RMSSD/SDNN from successive differences. Sources: Polar H10, Garmin BBI persisted streams. Floor: typically thousands of samples per resilience window.
  • epochRmssd — RMSSD over a 5-minute (or similar) epoch. Engine computes CV across the per-epoch values. Sources: HealthKit HKHeartRateVariabilitySDNN, Whoop sleep epochs. Floor: ~30 across 5+ nights.
  • nightlyRmssd — one RMSSD per sleep session. Engine computes CV across nights; per-night SDNN is reported as null (it would require RMSSD-of-RMSSDs which is meaningless). Sources: Whoop recovery, Garmin daily, Apple Health nightly aggregates. Floor: matches min_days_required (5 by default).
Inheritance
Available extensions

Values

rawRr → const HrvSampleKind
const HrvSampleKind('raw_rr')
epochRmssd → const HrvSampleKind
const HrvSampleKind('epoch_rmssd')
nightlyRmssd → const HrvSampleKind
const HrvSampleKind('nightly_rmssd')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wire → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<HrvSampleKind>
A constant List of the values in this enum, in order of their declaration.