Capability
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
UNSPECIFIED |
未指定 Surface 功能。 |
SPEECH |
设备可以通过文字转语音或 SSML 与用户交谈。 |
RICH_RESPONSE |
设备可以显示卡片、列表和表格等丰富的响应。 |
LONG_FORM_AUDIO |
设备可以播放音乐和播客等长音频媒体。 |
INTERACTIVE_CANVAS |
设备可以显示交互式画布响应。 |
WEB_LINK |
设备可在富响应中使用网站链接来打开网络浏览器。 |
HOME_STORAGE |
设备可以支持保存和提取家庭存储空间。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe table lists the functional capabilities of a device, like speech, rich responses, and audio playback.\u003c/p\u003e\n"],["\u003cp\u003eThese capabilities are categorized using specific enums, such as \u003ccode\u003eSPEECH\u003c/code\u003e or \u003ccode\u003eRICH_RESPONSE\u003c/code\u003e, which signal the device's functionalities.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this information to tailor content and interactions based on what the user's device can support, like displaying a web link if \u003ccode\u003eWEB_LINK\u003c/code\u003e is supported.\u003c/p\u003e\n"]]],[],null,["# Capability\n\nCapabilities the device surface supports at the time of the request.\n\n| Enums ||\n|----------------------|-------------------------------------------------------------------|\n| `UNSPECIFIED` | Unspecified surface capability. |\n| `SPEECH` | Device can speak to the user via text-to-speech or SSML. |\n| `RICH_RESPONSE` | Device can display rich responses like cards, lists and tables. |\n| `LONG_FORM_AUDIO` | Device can play long form audio media like music and podcasts. |\n| `INTERACTIVE_CANVAS` | Device can display a interactive canvas response. |\n| `WEB_LINK` | Device can use web links in rich responses to open a web browser. |\n| `HOME_STORAGE` | Device can support saving and fetching home storage. |"]]