Release Note
release note release date february 26, 2025 release version v1 0 0 beta2 target device the samsung health data sdk support android smartphones including non-samsung android smartphones sdk content content description /docs api reference programming guide /libs sdk’s library import it in your app project - samsung-health-data-api aar /sample-code app project including sample codes it’s project name is - healthdiary /tool dataviewer it displays saved health data in the samsung health app features samsung health data sdk enable an application to access samsung health’s selected data health data store an app can read or aggregate the following data with the sdk’s apis the user’s health data is kept secured in the health data store available data operators can be different for each data type activity summary active calories burned goal active time goal blood glucose blood oxygen blood pressure body composition energy score exercise exercise location floor climbed heart rate nutrition nutrition goal skin temperature sleep sleep goal steps step goal water intake water intake goal user profile data permission the use’s data can be accessed after getting the user’s consent clearly device manager saved health data in samsung health can be from various connected devices like a galaxy watch, galaxy ring and a weight scale devicemanager provides source device information of saved health data in the samsung health’s data store restrictions samsung health data sdk requires samsung health v6 29 or later version installation samsung health runs on devices with android 10 api level 29 or above it is available on all samsung smartphones and also non-samsung android smartphones the sdk doesn’t support an emulator measured data by samsung health data sdk is for fitness and wellness only, not for the diagnosis or treatment of any medical condition changes 1 0 0 beta2 - february 26, 2025 [new] data type the following data type has been added reading data and retrieving changed data are available energyscoretype inserting, updating, and deleting data inserting, updating, and deleting data has been supported for the following data types body composition blood glucose blood pressure heart rate nutrition water intake the following apis have been added in com samsung android sdk health data healthdatastore for inserting data insert type writeable<t>, builder suspend insertdatarequest basicbuilder<t> -> insertdatarequest basicbuilder<t> insertdata request insertdatarequest<t> insertdataasync request insertdatarequest<t> the following apis have been added in com samsung android sdk health data healthdatastore for updating data update type writeable<t>,builder suspend updatedatarequest basicbuilder<t> -> updatedatarequest basicbuilder<t> updatedata request updatedatarequest<t> updatedataasync request updatedatarequest<t> the following apis have been added in com samsung android sdk health data healthdatastore for deleting data delete type writeable<t>,builder suspend deletedatarequest basicbuilder -> deletedatarequest basicbuilder deletedata request deletedatarequest deletedataasync request deletedatarequest the com samsung android sdk health data data healthdatapoint builder class has beed added to insert or update health data the following classs have been added in com samsung android sdk health data request insertdatarequest updatedatarequest deletedatarequest access code developer mode's access code to insert, update, or delete data when testing apps, the access code is required on the developer mode page the access code can be obtained by requesting partnership device manager the following apis have been added in com samsung android sdk health data devicemanager to register health devices and getting device information registerdevice request deviceregistrationrequest registerdeviceasync request deviceregistrationrequest getdevicebyseed getdevicebyseedasync getowndevices getowndevicesasync the com samsung android sdk health data request deviceregistrationrequest has been added to register a health device the following classes and apis have been added related to the accessory device com samsung android sdk health data device accessorytype device accessorybuilder device companion accessorybuilder device isof type accessorytype others the following apis have been added in com samsung android sdk health data request idfilter builder addclientdataid clientdataid string fromclientdataid clientdataid string the following error code has been added in com samsung android sdk health data error err_no_ownership_to_write the following property has been added in the bloodglucosetype medication_taken [changed] the bloodglucosetype meal_status property has been changed to be required 1 0 0 beta1 - october 21, 2024 the first sdk release [new] reading the following samsung health's data is available activity summary active calories burned goal active time goal blood glucose blood oxygen blood pressure body composition exercise exercise location floor climbed heart rate nutrition nutrition goal skin temperature sleep sleep goal steps step goal water intake water intake goal user profile data permission requesting data permissions is required to read health data device manager the device type like a galaxy watch, galaxy ring and a weight scale can be known with the device manager developer mode for development and debugging purposes, developers can activate the developer mode to interact with the samsung health data sdk within their android apps to distribute the app using the samsung health data sdk, request partnership you can find more information in the sdk process