Samsung Health Sensor SDK

Health Platform is preloaded in the Galaxy Watch, which runs Wear OS powered by Samsung. Its version updates are available through Galaxy Store or Google Play.

Samsung Health Sensor SDK provides tracking for the watch’s raw or processed health sensor data through Health Platform. Accelerometer, body composition, electrocardiogram (ECG), electrodermal activity (EDA), heart rate, multi-frequency bioelectrical impedance (MF-BIA), photoplethysmogram (PPG), skin temperature, SpO2, and sweat loss data can be measured with the SDK. The Galaxy Watch’s BioActive sensor runs three powerful health sensors including optical heart rate, electrical heart signal, and bioelectrical impedance analysis sensors. An accessory and a temperature sensor are used to track health sensor data on the Galaxy Watch.

Samsung Health Sensor SDK enables a Wear OS application to track health sensor data by importing the SDK’s library (samsung-health-sensor-api.aar) and setting an event listener to receive data events. On-demand data tracking gives a one-time data measurement to the application. Continuous data tracking sends periodical events until the event listener is removed. The measuring frequency and number of retrieved health data in each event are different depending on the tracker type.

The SDK’s main features are:

Capabilities

Samsung Health Sensor SDK provides a list of available tracker types for the watch.

Measuring watch’s health sensor data

A partner application using the SDK can measure the health sensor data of the Galaxy Watch. The following tracker types are supported:

[Continuous tracking]

The following tracker types can be measured continuously until the tracker type’s event listener is unset. The continuous tracker types operate with low Galaxy Watch battery consumption.

  • Accelerometer
  • Electrodermal activity (EDA)
  • Heart rate including inter-beat interval (IBI)
  • Photoplethysmogram (PPG) Green, Red, and IR
  • Skin temperature

[On-demand tracking]

The following tracker types are on-demand tracker types. Use only one on-demand tracker type at a time and only when needed.

  • Bioelectrical impedance analysis (BIA)
  • Electrocardiogram (ECG)
  • Multi-frequency bioelectrical impedance (MF-BIA)
  • PPG Green, Red, and IR
  • Skin temperature
  • SpO2 (blood oxygen level)

[Other]

Measuring the user’s sweat loss amount after running is available with the following tracker type.

  • Sweat loss

Developer mode

Health Platform supports the Developer mode for application testing and debugging. See Health Platform’s developer mode for more information.

Target Device

The Samsung Health Sensor SDK is supported on the following watch devices that run on Wear OS Powered by Samsung.

  • Galaxy Watch4 series and later models

SDK Content

Content

Description

Documents

Programming Guide and API Reference

Library

Tracking library of the Samsung Health Sensor SDK. Import it in your app project.
- samsung-health-sensor-api.aar

Sample apps

Measure blood oxygen
Measure blood oxygen and heart rate
Heart rate tracking with the off-body sensor
Transfer measured heart rate to a connected phone
ECG Monitor
Measure skin temperature
Sweat Loss Monitor

Limitations

  • The emulator is not supported.
  • Data measured by the Samsung Health Sensor SDK is for fitness and wellness information only, not for the diagnosis or treatment of any medical condition.

Glossary

Glossary

Description

BIA

Bioelectrical impedance analysis

BioActive Sensor

A 3-in-1 sensor that uses a single chip embedded in the Galaxy Watch

ECG

Electrocardiogram

EDA

Electrodermal activity

Health Platform

Preloaded in the Galaxy Watch running Wear OS powered by Samsung. It provides the Health Tracking Service to measure health sensor data.

Health Tracking Service

Helps to connect a Wear OS application and Health Platform and to measure the watch’s health sensor data.

IBI

Inter-beat interval

MF-BIA

Multi-frequency bioelectrical impedance

PPG

Photoplethysmogram

Samsung Health Sensor SDK

Enables an application to measure health sensor data on the Galaxy Watch running Wear OS powered by Samsung. Raw or processed data is retrieved by setting an event listener for each tracker type.
A partner application imports the samsung-health-sensor-api.aar SDK’s library and can track the watch’s health sensor data.