alexa - 在 alexa ask-sdk 中添加事件监听器
问题描述
我有 JAVA 中的基本 alexa 技能(使用 ask-sdk)一种情况是,在特定时间我希望 Alexa 说一些通知,比如在 2:00(这将由我的代码确定)alexa 应该说些什么
“它的 2.00”你必须去散步..
但我不确定要使用什么,我看到一些警报/主动事件,但无法为 JAVA 找到它们,只能在 nodeJs 中看到它们。
请问有什么可以在java中使用这种情况..
解决方案
The Proactive Events API is language agnostic, you can make calls to it in your Java code to trigger the notification that you want.
https://developer.amazon.com/en-US/docs/alexa/smapi/proactive-events-api.html
推荐阅读
- reactjs - 在调用另一个函数之前,如何在 React 本机上下文文件中调用函数?
- excel - Excel公式帮助,指数
- google-apps-script - 例外:无法从此上下文中调用 SpreadsheetApp.getUi()。(第 1 行)
- javascript - React-JS 中 AppBar 中 IconButton 的位置
- json - Python3,从 API 访问 json 数组值 - IndexError:列表索引超出范围
- python - 基于上一行和下一行填充行
- python-3.x - 使用 python 加密证书生成器向证书添加任意/不推荐使用的扩展
- mysql - 使用 MAX(Date) 连接 MYSQL 表
- ios - AudioKit 5 和 Xcode 12 beta 6 构建错误
- swift - 绘制另一条时 UIBezierPath 线消失