# Android SDK初始化
这里介绍的是Android API关于SDK初始化配置的相关说明,点击右侧目录可快速找到相应文件。
# 类SpeechUtility
com.iflytek.cloud
java.lang.Object
com.iflytek.cloud.msc.module.SpeechInterface
com.iflytek.cloud.SpeechUtility
public class SpeechUtility
extends com.iflytek.cloud.msc.module.SpeechInterface
# SDK配置类简介
本类为SDK入口类,除Setting(opens new window)、Version(opens new window)类外,第一次使用任意一个其他的业务类前,都至少创建一次本类的实例,以初始化SDK。
本类使用单例,调用者使用本类的对象,只需要通过createUtility(android.content.Context, java.lang.String)创建一次对象后,便可一直使用该对象,直到通过调用destroy()进行单例对象销毁。调用者可通过getUtility()获取当前已经创建的单例。在销毁本类的单例对象后,需要先通过createUtility(android.content.Context, java.lang.String)再次创建单例对象,方可再使用。
# 嵌套类概要
从类继承的嵌套类/接口 com.iflytek.cloud.msc.module.SpeechInterface
com.iflytek.cloud.msc.module.SpeechInterface.ENGINE_MODE
# 字段概要 限定符和类型 字段和说明 static com.iflytek.cloud.msc.module.SpeechInterface.ENGINE_MODE
static java.lang.String
static java.lang.String TAG_RESOURCE_RESULT
本地资源信息JSON返回的result
static java.lang.String TAG_RESOURCE_RET
本地资源信息JSON返回的code
# 方法概要 限定符和类型 字段和说明 static SpeechUtility createUtility(an