【问题标题】:how to design mobile card in alexa如何在alexa中设计手机卡
【发布时间】:2018-08-08 14:04:09
【问题描述】:

我已经开发了一个应用程序并且它运行正常,但是在设计方面,尽管在示例中执行了相同的代码,但我无法实现示例中给出的内容。我想实现this 设计,其中图像位于中心,标题在上方,描述在下方,但我得到的是this,侧面图像,侧面标题和描述在下方。请让我知道如何实现这一目标。这是我的代码示例

"response" : {
"outputSpeech" : {
    "type" : "SSML",
    "ssml" : "<speak>Hello,welcome!</speak>"
},
"card": {
    "type": "Standard",
    "title": "My Title",
    "text": "My description",
    "image": {
        "smallImageUrl": "small image with the width 720 and height 480",
        "largeImageUrl": "large image with the width 1200 and height=800"
      }
},
"reprompt": {
      "outputSpeech": {
    "type": "SSML",
    "ssml": "<speak>I am waiting for your command!!</speak>"
      }
},
     "shouldEndSession" : false
}

【问题讨论】:

    标签: alexa alexa-skills-kit alexa-skill alexa-voice-service alexa-slot


    【解决方案1】:

    亚马逊似乎更改了 Standard Card 布局。图像现在被缩小并推到左边。当前关于卡片的文档中显示的示例具有新的布局。您所指的博文已有一年半的历史了

    【讨论】:

    • 我也是这么想的,但是我没有找到任何帖子说 Alexa 改变了它的标准布局。
    • 我查了几个直播技能,都有这个新格式。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-06
    • 1970-01-01
    • 2011-01-13
    • 1970-01-01
    相关资源
    最近更新 更多