Is there any way to recognize health data which is added manually or recorded automatically?

Hello everyone. Duo to some requirements from customer who has been developing an app about health data management. They tell us that there is a data field can be used to recognize health data which is modified or added manually in Garmin and Apple platform. Then they want to include health data from Samsung platform, so here is the precondition. Is there any way to recognize health data which is added manually or recorded automatically?

Hi Denis,

HealthConstants.Common identifies the values which are assigned by the system when a new health data is inserted.

The accessory’s data including Galaxy Watch is inserted to Samsung Health with the Samsung Health 's package name, com.sec.android.app.shealth. If you want to read only the specific accessory’s data, make a division the device ID.

Thank you.

Thank you. As you mentioned, I can make a division with device IDs to tell each health data’s source device. So there is another question. How to recognize DEVICE_UUID as smart phone or accessory?