What are the main features of the Samsung Privileged Health SDK?
The main features of the Samsung Privileged Health SDK include:
- Tracking raw and processed health sensor data on Galaxy Watch
- Getting data for multiple health sensors
For information about the available trackers, see What data is provided.
Some health tracker types are “batching”:
- Heart Rate
- PPG Green.
Batching collects measured sensor data and periodically invokes a tracking event listener. For example, every 12 seconds for PPG Green. This enables the watch’s sensor data to be tracked continuously and provide more granular results while conserving battery life.
How do I get access to the Samsung Privileged Health SDK?
To use the Samsung Privileged Health SDK, Request for the Samsung Partner Program.
When your request is reviewed, you receive information about how to access the SDK content.
Does the Samsung Privileged Health SDK work on Android phones?
No. The Samsung Privileged Health SDK supports only Galaxy Watch4 and later models running Wear OS powered by Samsung. It does not support other mobile devices, such as smartphones.
Can supported health tracker types of the Samsung Privileged Health SDK differ depending on the Galaxy Watch model or Wear OS version?
Yes. The supported health tracker types can differ depending on the specific Galaxy Watch model and the watch software version.
The Samsung Privileged Health SDK provides a capability check API. It retrieves which tracker types are available on the user’s watch and can therefore be used by your application.
Can I read data from more than 1 health tracker simultaneously?
Yes, depending on the tracker type. There are 2 tracker types:
- On-demand, such as BIA (body composition) and ECG (electrocardiogram)
- Batching, such as Accelerometer and Heart Rate
Only 1 on-demand tracker can be used at a time. Multiple batching trackers can be used simultaneously.
The Measure Blood Oxygen Level and Heart Rate on Galaxy Watch Code Lab demonstrates how to implement running 2 types of trackers concurrently.
Is there emulator support for developing applications with the Samsung Privileged Health SDK?
No. The Samsung Privileged Health SDK doesn't support the emulator. Development with the SDK requires the Galaxy Watch device.
Can I detect when users take the Galaxy Watch off their wrist?
Yes, depending on the tracker.
For the Heart Rate, SpO2, BIA (body composition), and Sweat Loss trackers, you can use the Samsung Privileged Health SDK to monitor the
STATUS field with the update listener. For example, a Heart Rate
STATUS value of “-3” means that the wearable is not being worn. For information about other status values and trackers, refer to the documentation.
Alternatively, you can check the
Sensor.TYPE_LOW_LATENCY_OFFBODY_DETECT value. For more information, see SensorEvent.
Does the Samsung Privileged Health SDK receive its data through Samsung Health?
No. The Samsung Privileged Health SDK does not share data with Samsung Health.
Health Services also provides heart rate tracking. How is heart rate tracking with the Samsung Privileged Health SDK different?
The Samsung Privileged Health SDK provides heart rate data tracking with IBI (inter-beat interval), which can be used to calculate HRV (heart rate variability). This information can be used for more detailed analysis.
The Android sensor manager also provides accelerometer tracking. How is accelerometer tracking with the Samsung Privileged Health SDK different?
The accelerometer tracking provided by the Samsung Privileged Health SDK records data samples with 25Hz resolution in batches of 12 seconds (300 samples). Batching reduces battery consumption and enables you to track data over longer durations.