queryHistorySteps method

Future<void> queryHistorySteps(
  1. int historyTimeType
)

1.The watch can save the number of activity steps in the past three days, and can query the number of activity steps in a certain day. 2.Query the activity steps data in a certain day. The query result will be obtained through the trainingEveStm listening stream and saved in the trainingInfo.past field and trainingInfo.pastStepInfo field.

Implementation

Future<void> queryHistorySteps(int historyTimeType) {
  return _platform.queryHistorySteps(historyTimeType);
}