欢迎使用 Google Home 开发者中心,您可以在这里学习有关如何开发智能家居 Action 的新平台。注意 :你将继续在 Actions 控制台中构建操作。
触摸控件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
在 Google Assistant
, in the
Google Assistant app
and in the
Google Home app (GHA)
, users can
control devices in their home with a graphical interface. This may be a slider
to control the temperature of a thermostat, or a button to turn a light on and
off. These touch controls serve as a complement to voice commands. 的智能显示屏上
这些控件会自动启用;你无需进行任何开发工作。
内置 Google 助理的智能显示屏
在配备 Assistant 的智能显示屏上,触控操作取决于设备支持的特征。
全屏视图
图 1:通过智能显示屏的全屏视图控制温控器温度的触控操作。
平铺视图
图 2:使用 Assistant 从智能显示屏的平铺视图中控制温控器温度的触控操作。
支持的特征
支持的设备类型
除“场景” 之外,所有设备类型的图标旁边都会显示与相应设备实现的受支持特征 相关联的触摸控件。
图 3:Assistant 智能显示屏上某个温控器设备的图标。
如果设备未实现任何受支持的特征 ,系统会向用户显示一个占位符,建议用户使用语音控制功能。
图 4:具有不支持的特征的智能显示屏上带有 Assistant 的设备的占位符。
Google 助理应用
图 5:Assistant app 中用于控制温控器温度的触控操作
支持的特征
支持的设备类型
Google Home 应用
图 6:GHA 中用于控制温控器温度的触控操作。
支持的特征
支持的设备类型
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可 获得了许可,并且代码示例已根据 Apache 2.0 许可 获得了许可。有关详情,请参阅 Google 开发者网站政策 。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-11-07。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]