public class SpeechFactory
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
SpeechFactory.SpeechType
语音合成标识类(可用于标识使用哪家第三方的语音合成)
|
构造器和说明 |
---|
SpeechFactory() |
限定符和类型 | 方法和说明 |
---|---|
static ISpeechSpeak |
createSpeech(android.content.Context context,
int type)
获取一个语音合成提供类
|
void |
setSpeakerName(java.lang.String speakerName) |
public static ISpeechSpeak createSpeech(android.content.Context context, int type)
context
- type
- public void setSpeakerName(java.lang.String speakerName)