J W*_*ang 4 google-glass google-mirror-api
时间轴项目的文本和html字段都呈现时间轴卡片的内容.如果我填充两个timelineItem.text和timelineItem.html字段会发生什么?
例如
POST /mirror/v1/timeline HTTP/1.1
Host: www.googleapis.com
Authorization: Bearer {auth token}
Content-Type: application/json
Content-Length: 26
{ "text": "Hello world",
"html": "I am a kitty" }
Run Code Online (Sandbox Code Playgroud)
你的价值timelineItem.html将胜过所提供的价值timelineItem.text.
timelineItem资源参考文档中对此进行了更详细的说明:
如果两个
text并html提供了一个项目时,html会在时间轴上呈现.
| 归档时间: |
|
| 查看次数: |
126 次 |
| 最近记录: |