带有NAVIGATE操作的Google Glass Timeline项目未显示在Glass设备上

时间:2013-08-21 23:00:27

标签: google-mirror-api google-glass

为什么带有此有效负载的时间轴项目不提供Google Glass的转弯导航选项,是否存在错误?如果答案是因为它需要更多属性设置,这使得我们调用另一个端点。

{
  "kind": "mirror#timelineItem",
  "id": "035cb808-a908-4057-914f-f980fb35c620",
  "bundleId": "12",
  "created": "2013-08-21T22:52:54.635Z",
  "updated": "2013-08-21T22:52:54.635Z",
  "etag": "\"hzfI85yu0lKQdtWV4PO1jAbQxWw/UvNo_kKkfbIjHfhmNjOLyMSNIeA\"",
  "creator": {
    "kind": "mirror#contact",
    "source": "api:34091916267",
    "id": "70",
    "displayName": "Monica Wilkinson"
  },
  "title": "glass-4",
  "text": "...",
  "html": "....",
  "speakableText": "...",
  "location": {
    "kind": "mirror#location",
    "latitude": 37.7657774,
    "longitude": -122.4075774,
    "displayName": "Crushpath Labs"
  },
  "menuItems": [
    {
      "action": "NAVIGATE"
    }
  ]
}

1 个答案:

答案 0 :(得分:0)

试试这个: “地点”: {     “纬度”:37.7657774,     “经度”:-122.4075774,     “准确度”:36.0   },

它对我有用。