用于Windows Phone 8.1的新SpeechSynthesizer API [英] new SpeechSynthesizer APIs for windows phone 8.1

查看:85
本文介绍了用于Windows Phone 8.1的新SpeechSynthesizer API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  SpeechSynthesizer  类
for windows phone 8.0有  BookmarkReached
event
 是在SpeechSynthesizer遇到书签时引发的。



但新的  SpeechSynthesizer  类
for windows phone 8.1没有这样的事件。我的应用程序真的依赖于事件。



还有其他API或解决方法吗?



任何帮助都将受到高度赞赏。

解决方案


Windows Phone Silverlight 8.1仍然有BookmarkReached事件,所以你可以使用它。但是如果你使用Windows Phone Runtime API创建那么它是不可能的,你可能必须找到一些其他的解决方法。



http://msdn.microsoft.com/library/windows/apps/windows.phone.speech.synthesis.speechsynthesizer.bookmarkreached


The SpeechSynthesizer class for windows phone 8.0 had BookmarkReached event which was raised when SpeechSynthesizer encountered a bookmark.

But the new SpeechSynthesizer class for windows phone 8.1 has no such event. And my app is really dependent on that event.

Is there any other API or workaround?

Any help would be highly appreciated.

解决方案

Windows Phone Silverlight 8.1 still has BookmarkReached event, so you can use that. But if you are creating using Windows Phone Runtime API then it is not possible and you may have to find some other workaround.

http://msdn.microsoft.com/library/windows/apps/windows.phone.speech.synthesis.speechsynthesizer.bookmarkreached


这篇关于用于Windows Phone 8.1的新SpeechSynthesizer API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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