简体   繁体   English

从C#Windows Phone 8.1 App启动Cortana

[英]Launch Cortana from C# Windows Phone 8.1 App

I'm working on an app where i need to be able to open cortana on an event and have it listen for a users commands. 我正在开发一个需要在事件上打开cortana并让其侦听用户命令的应用程序。 Are there any API's that make this possible? 是否有任何API可以实现这一目标?

Curently i have 我现在有

await Launcher.LaunchUriAsync(new Uri("bing://home"));

However, this does not cause it to listen 但是,这不会导致它听

Thanks 谢谢

There is no programmatic way to launch Cortana, but depending on your needs you can do the speech dictation directly within your app, either based on a set of command grammars or just using free-form dictation. 没有以编程方式启动Cortana的方法,但是根据您的需要,您可以直接在应用程序中执行语音命令,既可以基于一组命令语法,也可以仅使用自由格式命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM