简体   繁体   English

Google动作是否具有alexa演示语言之类的内容?

[英]Does Google Actions have something like alexa presentation language?

I wanted to design visuals for google hub. 我想为Google Hub设计视觉效果。 So I was searching for something like APL(alexa presentation language). 所以我在寻找类似APL(alexa表示语言)的东西。 How can we design visual in Google actions. 我们如何设计Google动作中的视觉效果。

In addition to rich visual responses, Actions on Google now has interactive canvas for richer content like for games. 除了丰富的视觉效果外,Google Actions现在还具有交互式画布,可以提供更丰富的内容,例如游戏。 The visuals are provided by HTML, backed by a conversational action. 视觉效果由HTML提供,并带有对话操作。 The documentation shows how to get started. 该文档显示了如何入门。

You cannot create your own visuals for Google hub using Actions on Google. 您无法使用Google上的操作为Google集线器创建自己的视觉效果。

You can however use the existing response components made available to you such as: 但是,您可以使用现有的可用响应组件,例如:

Simple Response, Rich response, Basic card, Browsing carousel, Suggestion chips, Table cards, Lists and Carousel. 简单响应,丰富响应,基本卡,浏览轮播,建议筹码,表格卡,列表和轮播。

Some of these response types allow you to include title, Images, media clips(.mp3), displayed text, spoken text. 这些响应类型中的一些允许您包括标题,图像,媒体剪辑(.mp3),显示的文本,语音文本。 etc so you can customise the look to an extent. 等,以便您可以在一定程度上自定义外观。

As per google responses document ( https://developers.google.com/actions/assistant/responses ) 根据Google回复文档( https://developers.google.com/actions/assistant/responses

The look and feel is outlined in the Visual user experience UI Sticker sheet published by Google ( https://dl.google.com/devsite/actions/sticker-sheet.zip ). 由Google发布的“视觉用户体验UI贴纸”表( https://dl.google.com/devsite/actions/sticker-sheet.zip )中概述了外观。

You will be restricted to this look and feel. 您将只能使用这种外观。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM