-->

Is there any way to invoke a Cortana response with

2019-05-10 10:29发布

问题:

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

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.)

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?

回答1:

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.

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