StupidBeauty
Read times:886Posted at:Tue Sep 3 18:35:57 2013
- no title specified

安卓开发文档18版翻译:android.speech.tts.TextToSpeech

公有构造函数

public TextToSpeech (Context context, TextToSpeech.OnInitListener listener, String engine)

开发接口 14版 开始引入

这个构造函数使用指定的文本到语音(TTS)引擎来构造TextToSpeech 类。并且,如果所关联的文本到语音(TextToSpeech)引擎当前还没有在运行的话,也会顺便将它初始化。

参数

context

此实例所运行于其中的上下文。

listener

当此文本到语音引擎完成初始化之后,将要调用的 TextToSpeech.OnInitListener

engine

将要使用的文本到语音引擎的包名字。

母其彌雅

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands