检测Android设备中高质量语音的可用性

时间:2014-09-22 03:49:38

标签: android text-to-speech

是否有办法检测(以编程方式)用户是否已下载TTS引擎要使用的高质量语音版本? TextToSpeech.isLanguageAvailable似乎无法区分标准引擎和高质量引擎。

e.g

TextToSpeech mTts = new TextToSpeech(this, this)
// then if we wish to check if the user has installed a particular locale
// say Spanish
mTts.isLanguageAvailable(new Locale('spa', 'ESP'));

即使刚刚发布的高质量西班牙语TTS文件尚未被用户下载,上述内容也会返回True。我想发现那个

谢谢,

  • 拉吉

0 个答案:

没有答案