Get PPG via health platform API

I’m trying to get PPG / HRV for a stress monitoring app, and I’ve looked at using Health platform API where it says that HRV_RMSSD is a datatype, but I’m not able to access it.

For context, I’m developing on a Samsung Galaxy 5 watch, and not a Samsung privileged partner. I’ve looked at the application, but I don’t think I have time to get it before my due for the app.

Does anyone know how to or could provide a code example?

The Health Platform API Version 1 was deprecated as of May 11, 2022.

You should use Health Connect now.

There are several tutorial Blogs on this.

Ron
Samsung Developer Relations

@r.liechty_SDR thank you for quick response. You wouldn’t happen to know how much time becoming a privileged partner usually takes? For my masters it seems like it may be the last options without having to switch out my entire thesis…

The Privileged Health Partnership in the US should not take very long to be approved. I don’t know about the EU and I don’t think it is available in any other countries yet but it may be. Go ahead an apply but I don’t think it is necessary… but then you might need much more data than I assume.

Did you read this tutorial Measure and Transfer Heart Rate Data from Galaxy Watch to a Paired Android Phone

There are several heart rate data types in the Health Services on the Watch

Ron
Samsung Developer Relations