Subscribe to daily Health Data using Huawei Health

  • Target mode: In this case, the notification is triggered when the user completes a certain target. For Eg: if your app registers for the target of 300 calories burned, your app will receive a notification when the user burns 300 calories of energy.
  • Interval mode: In this case, the notification is triggered every time the specified target is met. For Eg: If your app registers for the interval of 300 calories then the app will receive when the user burns 300, 600, 900…. calories.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store