且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

[UWP]如何在没有前缀或appname的情况下执行Cortana命令

更新时间:2022-10-16 10:04:23

你好Victor,

Hi Victor,

Appname的这个要求是设计的。来自
此处的文档 提到
"应用程序使用的AppName属性"在运行时识别语音命令"。在与cortana交互时需要设置AppName。

This requirement for Appname is by design. From the document here it is mentioned "An AppName attribute that your application uses to identify the voice command at runtime". It is necessary to set a AppName when interact with cortana.

祝你好运,

Roy