Java Fitness.HistoryApi.readDailyTotal函数和Fitness.HistoryApi.readData函数之间的结果不同

Java Fitness.HistoryApi.readDailyTotal函数和Fitness.HistoryApi.readData函数之间的结果不同,java,android,Java,Android,根据文件 函数:Fitness.HistoryApi.readDailyTotal和 readData(client, new DataReadRequest.Builder() .setTimeRange(midnight.getMillis(), now.getMillis(), TimeUnit.MILLISECONDS) .bucketByTime(1, TimeUnit.DAYS) .aggregate(DataTypes.STEP_COUNT_DELTA, Aggr

根据文件

函数:
Fitness.HistoryApi.readDailyTotal

readData(client, new DataReadRequest.Builder()
   .setTimeRange(midnight.getMillis(), now.getMillis(), TimeUnit.MILLISECONDS)
   .bucketByTime(1, TimeUnit.DAYS)
   .aggregate(DataTypes.STEP_COUNT_DELTA, AggregateDataTypes.STEP_COUNT_DELTA)
   .build());
必须相等,但在同一时间段内,我从readDailyTotal收到了1663个步骤(相当于
Google Fit
App),从readData收到了152个步骤。为什么? 我们不能只使用readDailyTotal,因为此函数只返回当天的数据