I've noticed that FitBit updates Health Connect once a minute with the latest heart rate read. I was wondering if there is a way to subscribe to those updates via the new Health Connect API. The documentation around how to approach the solution is really fuzzy, and the Changes Sync API appears to be a dead link. I would prefer not to use the WorkManager, but rather just send Health Connect a Callback that would trigger if the changes to a vital sign are detected. I think that would be a better approach then polling the API every minute to see if there is something new.
What are the best practices around this?
Thank you,
I was looking to find an API on Sync Data Page and have a hard time finding the desired solution.