queryPastHeartRate method

Future<void> queryPastHeartRate(
  1. int historyDay
)

Gets the heart rate data of the previous day. The query result will be obtained through the heartRateEveStm listening stream and saved in the HeartRateBean.hour24MeasureResult field.

Implementation

Future<void> queryPastHeartRate(int historyDay) {
  return _platform.queryPastHeartRate(historyDay);
}