1

我正在尝试访问 google fit API 以返回我的移动时间。我已经尝试过聚合和合并数据源它似乎也不适用于步数

{
      "dataStreamId": "derived:com.google.active_minutes:com.google.android.gms:from_activity<-merge_activity_segments",
      "dataStreamName": "from_activity<-merge_activity_segments",
      "type": "derived",
      "dataType": {
        "name": "com.google.active_minutes",
        "field": [
          {
            "name": "duration",
            "format": "integer"
          }
        ]
      },
      "application": {
        "packageName": "com.google.android.gms"
      },
      "dataQualityStandard": []
    },
    {
      "dataStreamId": "derived:com.google.active_minutes:com.google.android.gms:from_steps<-estimated_steps",
      "dataStreamName": "from_steps<-estimated_steps",
      "type": "derived",
      "dataType": {
        "name": "com.google.active_minutes",
        "field": [
          {
            "name": "duration",
            "format": "integer"
          }
        ]
      },
      "application": {
        "packageName": "com.google.android.gms"
      },
      "dataQualityStandard": []
    },
    {
      "dataStreamId": "derived:com.google.active_minutes:com.google.android.gms:merge_active_minutes",
      "dataStreamName": "merge_active_minutes",
      "type": "derived",
      "dataType": {
        "name": "com.google.active_minutes",
        "field": [
          {
            "name": "duration",
            "format": "integer"
          }
        ]
      },
      "application": {
        "packageName": "com.google.android.gms"
      },
      "dataQualityStandard": []
    },

这些数据源都没有返回我在 google fit android 应用程序中给出的移动分钟数。

4

0 回答 0