Get Apple Watch Heartratevariabilitysdnn Realtime

Real time heart beat data from Apple Watch using HKHeartbeatSeriesSample

There isn't a way to record heart rate more precisely than you have already observed using the workout session API. Samples of the HKSeriesType.heartbeat() type are recorded when Apple Watch computes heart rate variability (see the sample type heartRateVariabilitySDNN). HRV is computed periodically in the background by Apple Watch. There is no API for initiating an HRV reading.

Track beat to beat heart rate apple watch through HRV

After filing an technical support incident (TSI) at Apple about this, they said that it's currently not possible to do this.

Thank you for contacting Apple Developer Technical Support (DTS). Our engineers have reviewed your request and have concluded that there is no supported way to achieve the desired functionality given the currently shipping system configurations.

If you would like for Apple to consider adding support for such features in the future, please submit an enhancement request via the Bug Reporter tool at https://developer.apple.com/bug-reporting/.

If you'd like to see this functionality, please file a bug report!

Querying for heartRateVariabilitySDNN in HealthKit?

Both HRV and VO2 Max samples are available to developers using HealthKit (you should be able to verify this by querying for them on an iPhone without a predicate). However, they are not calculated continuously by watchOS so you cannot depend on having a recently computed value of either type at any given time. The circumstances under which new HRV samples are computed is not documented, but you should be able to trigger the measurement of HRV by using the Breathe app.



Related Topics



Leave a reply



Submit