没有用户输入,有没有办法调用Cortana响应? [英] Is there any way to invoke a Cortana response without user input?

查看:86
本文介绍了没有用户输入,有没有办法调用Cortana响应?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个针对Windows 10的应用程序,当外部数据达到一定阈值时,该应用程序应通知用户。

I have an app I am working on for Windows 10 which should notify a user when external data reaches a certain threshold.

虽然我可以简单地使用Windows通知(并会落在他们身上),我真的很想与Cortana进行更多集成。 (可以使用语音激活功能和自然搜索功能。)

While I can simply use Windows Notifications (and will fall back on them), I'd really like to do more integration with Cortana. (Voice activation and natural searching will be available.)

是否可以通过某种方式让Cortana在触发更改时通知用户(通过语音或通过新项目)

Is there any way to have Cortana notify the user when the change is triggered (either with speech or via a new item on her dashboard) without a user specifically asking her?

推荐答案

我曾经(实际上仍然是是)也很感兴趣在这种情况下,但据我所知,唯一与Cortana相关的API位于 Windows.ApplicationModel.VoiceCommands 命名空间和没有什么可以调用 Cortana,仅处理语音命令 Cortana开始。

I was (and still "is", actually) also very interested in this kind of things, but as far as I could see it the only Cortana-related API lives in Windows.ApplicationModel.VoiceCommands namespace and there is nothing there to invoke Cortana, only handle voice command from Cortana.

因此,希望微软将来可以扩展此名称空间或单独的命名空间,或者通过<< a href = https://blogs.windows.com/buildingapps/2015/09/22/using-cross-app-communication-to-make-apps-work-together-10-b y-10 / rel = nofollow>跨应用通信。

So, hopefully Microsoft will either extend this or separate namespace in the future OR make Cortana available via cross app communication.

这篇关于没有用户输入,有没有办法调用Cortana响应?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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