[UWP]如何在没有前缀或appname的情况下执行Cortana命令 [英] [UWP]How can execute Cortana commands without prefix or appname

查看:83
本文介绍了[UWP]如何在没有前缀或appname的情况下执行Cortana命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用AdventureWorks示例测试了Cortana的基本功能。但是为了更自然的体验,我想在不等待用户的情况下执行命令,而是使用Appname或Prefix。这可能吗?

I have tested basic funcionalities of Cortana using the AdventureWorks sample. But for a more natural experience I want to execute commands without waiting the user says the Appname or Prefix. Is that possible?

推荐答案

你好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


这篇关于[UWP]如何在没有前缀或appname的情况下执行Cortana命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆