queryHistoryNapSleep method

Future<void> queryHistoryNapSleep(
  1. int historyTimeType
)

Gets the nap sleep data of a certain day. The query result will be obtained through the sleepChangeEveStm listening stream and saved in the SleepBean.historyNapSleep field.

Implementation

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