【发布时间】:2023-03-29 03:23:02
【问题描述】:
我正在尝试构建 Cortana 技能,以便能够使用表面相机拍照。怎么做?目前我的技能是能够使用 bot 框架和 nodejs 来回答问题。代码看起来像
bot.dialog('ScanCardDialog', function(session){
<what need to be done to take a picture? goes here>
}).triggerAction({ matches: /(\w)+ (card)/i});
【问题讨论】:
-
不幸的是,据我所知,您最多只能告诉 Cortana 通过 Bot 框架说话。这个document 似乎没有显示任何与相机交互的方式。
标签: node.js botframework cortana-skills-kit