我正在尝试建立一个回声显示屏幕启用和回声点音频仅语音技能。显然,响应指令必须根据设备进行更改,否则将导致"Alexa having trouble accessing the skill“。
如何确定Flask-ASK中支持的接口?
...
"context": {
"System": {
"application": {
"applicationId": "<value>"
},
"user": {
"userId": "amzn1.ask.account.<value>"
},
"device": {
"supportedInterfaces": {
"Display": {},
"AudioPlayer": {},
"VideoApp": {}
}
}
}
},
...发布于 2018-01-30 07:04:29
像这样
def has_screen():
if context.System.device.supportedInterfaces.Display is None:
return False
else:
return Truehttps://stackoverflow.com/questions/48078836
复制相似问题