覆盖"始终使用我的设置"在文本到语音Android设置选项编程 [英] Overriding "Always use my settings" option in Text-To-Speech settings programmatically in android

查看:142
本文介绍了覆盖"始终使用我的设置"在文本到语音Android设置选项编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些平板电脑的重写应用程序文本到语音设置,命名一个选项:总是使用我的设置文本到语音设置。如果这个选项被选中,那么TTS引擎将拿起TTS和用户设置不针对具体应用的设置。

Some of the tablets have an option of overriding the App text-to-speech settings, named: "Always Use my Settings" in Text To Speech Settings. If this option is checked then the TTS engine will pick up the User settings for TTS and not the App-specific settings.

我的要求是:每当我的应用程序使用TTS引擎,我的应用程序的设置,一定要使用,因为它具有在特定的语速在特定的语言公布。但是,一旦始终使用我的设置中选择,如果它具有相对于语言和语速不同的设置,然后我的应用程序的设置将被覆盖。

My requirement is: whenever my App is using TTS engine, my APP settings should always be used since it has to announce in a particular language at a particular speech rate. But once "Always Use my Settings" is selected and if it has different settings with respect to language and speech rate, then my App's setting is overridden.

有什么办法,我可以以编程方式更改此选项设置?

Is there any way I can programmatically change this option setting?

推荐答案

这是不可能的。这是有道理的,因为否则就违背了始终使用我的设置。

This isn't possible. Which makes sense because otherwise it defeats the purpose of "always use my settings".

<一个href=\"http://stackoverflow.com/questions/6656536/setting-language-for-tts-programmatically#comment8479748_6656805\">This评论,以及我自己的实验,支持我的结论。

This comment, as well as my own experiments, support my conclusion.

这篇关于覆盖&QUOT;始终使用我的设置&QUOT;在文本到语音Android设置选项编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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