繁体   English   中英

WP8语音识别UI导致未处理的异常

[英]WP8 Voice Recognition UI Causing unhandled exception

SpeechRecognizerUI sr = new SpeechRecognizerUI();
sr.Settings.ListenText = "Say the recipient and body of the E-Mail";
sr.Settings.ExampleText = "Mom saying Happy Mother's Day";
//await Speak("Say the recipient and body of the E-Mail"); // TTS prompt
var recoResult = await sr.RecognizeWithUIAsync();
MessageBox.Show(recoResult.RecognitionResult.Text);

这将引发未处理的异常,并且WP8应用程序崩溃。 我该如何解决?

您可能需要选择一种语音语言,然后转到“电话设置”,然后选择“ 语音”

在我的设置中,语音语言被列为none ,一旦我选择了一种语言,即英语(美国),它似乎就可以了。

参考这篇文章

暂无
暂无

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

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