Overriding “Always use my settings” option in Text-To-Speech settings programmatically in android

谁都会走 提交于 2019-12-12 17:05:43

问题


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.

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?


回答1:


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

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



来源:https://stackoverflow.com/questions/10960155/overriding-always-use-my-settings-option-in-text-to-speech-settings-programmat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!