setting alipay wechat success appmanage dollor user cart order workorder logout left1 left2 app unfree free chart coupon note copy pencil price-tag database cog bin list link plus minus codepen 审核 cross table search user-tie eye github cancel-circle checkmark icon-upload icon-smartphon icon-auth-user icon-arroba-symbol icon-check-pass icon-red-cross icon-pwd-key icon-used icon-expired android appleinc tux windows8 java webAPI mail vip

Java SDK 常量字段值

这里介绍的是Java SDK API关于常量字段值的相关说明。

ErrorCode

com.iflytek.cloud.speech.ErrorCode

限定符和类型 常量字段 说明
(关于错误码更详细的解析,请参考SDK&API 错误码查询
public static final int ERROR_ASR_BUFFER_FULL 23104 缓冲区满,写入音频过快导致
public static final int ERROR_ASR_BUILD_GRAMMAR 23001 构建语法相关错误
public static final int ERROR_ASR_ERROR_BASE 23100 本地识别错误码基准值,不对外返回
public static final int ERROR_ASR_GRAMMAR_NOTACTIVE 23128 更新了词典,但是没有更新语法,遇到此类错误需要重新构建语法
public static final int ERROR_ASR_GRAMMAR_NOTFOUND 23109 打开文件失败 ,读取资源文件、词典、场景等文件失败,考虑是否构建了语法
public static final int ERROR_ASR_INVAILID_NAME 23117 词典单元名称非法
public static final int ERROR_ASR_INVALID_GRAMMAR 23110 语法错误
public static final int ERROR_ASR_OUTOfMEMORY 23107 内存不足
public static final int ERROR_ASR_SAVEFILE_FAIL 23116 保存文件失败,可能是无权限或者存储空间满
public static final int ERROR_ASR_SYNTAX_ERROR 23112 文法描述文本格式错误
public static final int ERROR_AUDIO_RECORD 20006 录音失败
public static final int ERROR_COMPONENT_NOT_INSTALLED 21001 没有安装语音组件
public static final int ERROR_EMPTY_UTTERANCE 20009 无效的文本输入
public static final int ERROR_ENGINE_BUSY 21005 引擎繁忙
public static final int ERROR_ENGINE_CALL_FAIL 21004 调用失败
public static final int ERROR_ENGINE_INIT_FAIL 21003 初始化失败
public static final int ERROR_ENGINE_NOT_SUPPORTED 21002 引擎不支持
public static final int ERROR_FILE_ACCESS 20010 文件读写失败
public static final int ERROR_INTERRUPT 20017 被异常打断
public static final int ERROR_INVALID_DATA 20014 无效数据
public static final int ERROR_INVALID_PARAM 20012 无效的参数
public static final int ERROR_INVALID_RESULT 20004 无有效的结果
public static final int ERROR_IVW_INTERRUPT 22004 本地唤醒引擎被异常打断
public static final int ERROR_LOCAL_ENGINE 22003 本地引擎内部错误
public static final int ERROR_LOCAL_NO_INIT 22001 本地引擎未初始化
public static final int ERROR_LOCAL_RESOURCE 22002 本地引擎无资源
public static final int ERROR_LOGIN 20015 用户未登陆
public static final int ERROR_NET_EXPECTION 20003 网络异常
public static final int ERROR_NETWORK_TIMEOUT 20002 网络连接超时
public static final int ERROR_NO_MATCH 20005 无匹配结果
public static final int ERROR_NO_NETWORK 20001 无有效的网络连接
public static final int ERROR_NO_SPPECH 20007 未检测到语音
public static final int ERROR_PERMISSION_DENIED 20016 无效授权
public static final int ERROR_PLAY_MEDIA 20011 音频播放失败
public static final int ERROR_SPEECH_TIMEOUT 20008 音频输入超时
public static final int ERROR_SYSTEM_PREINSTALL 20020 系统预置版本
public static final int ERROR_TEXT_OVERFLOW 20013 文本溢出
public static final int ERROR_UNKNOWN 20999 未知错误
public static final int ERROR_UNSATISFIED_LINK 20021 未实现的Native函数引用
public static final int ERROR_VERSION_LOWER 20018 版本过低
public static final int MSP_ERROR_ACCESS 10105 没有权限
public static final int MSP_ERROR_ALREADY_EXIST 10121 已经存在
public static final int MSP_ERROR_AUTH_INVALID_LICENSE 11202
public static final int MSP_ERROR_AUTH_LICENSE_EXPIRED 11203
public static final int MSP_ERROR_AUTH_LICENSE_TO_BE_EXPIRED 11205
public static final int MSP_ERROR_AUTH_NEED_MORE_DATA 11204
public static final int MSP_ERROR_AUTH_NO_ENOUGH_LICENSE 11201
public static final int MSP_ERROR_AUTH_NO_LICENSE 11200
public static final int MSP_ERROR_BIZ_BASE 17000
public static final int MSP_ERROR_BUSY 10123 忙碌
public static final int MSP_ERROR_CANCELED 10126 取消
public static final int MSP_ERROR_CODING_LIB_NOT_LOAD 10130 编解码库未加载
public static final int MSP_ERROR_CONFIG_INITIALIZE 10128 初始化Config实例
public static final int MSP_ERROR_CREATE_HANDLE 10129 建立句柄
public static final int MSP_ERROR_DB_CONNECT 10405 连接出错
public static final int MSP_ERROR_DB_EXCEPTION 10401 异常
public static final int MSP_ERROR_DB_GENERAL 10400 数据库一般错误
public static final int MSP_ERROR_DB_INVALID_APPID 10407 不匹配的APPID
public static final int MSP_ERROR_DB_INVALID_PWD 10404 无效的密码
public static final int MSP_ERROR_DB_INVALID_SQL 10406 无效的SQL
public static final int MSP_ERROR_DB_INVALID_USER 10403 无效的用户
public static final int MSP_ERROR_DB_NO_RESULT 10402 没有结果
public static final int MSP_ERROR_EP_GENERAL 10800 (EP)一般错误
public static final int MSP_ERROR_EP_INACTIVE 10802 (EP)不活跃
public static final int MSP_ERROR_EP_INITIALIZED 10803 (EP)初始化出错
public static final int MSP_ERROR_EP_NO_SESSION_NAME 10801 (EP)链接没有名字
public static final int MSP_ERROR_EXCEPTION -2 异常
public static final int MSP_ERROR_FAIL -1 失败
public static final int MSP_ERROR_FILE_NOT_FOUND 10102 文件没有发现
public static final int MSP_ERROR_GENERAL 10100 基码
public static final int MSP_ERROR_HCR_APPEND_STROKES 11105
public static final int MSP_ERROR_HCR_CREATE 11102
public static final int MSP_ERROR_HCR_DESTROY 11103
public static final int MSP_ERROR_HCR_GENERAL 11100
public static final int MSP_ERROR_HCR_GET_PREDICT_RESULT 11108
public static final int MSP_ERROR_HCR_GET_RESULT 11106
public static final int MSP_ERROR_HCR_GETRESULT 11109
public static final int MSP_ERROR_HCR_RESOURCE 11110
public static final int MSP_ERROR_HCR_RESOURCE_NOT_EXIST 11101
public static final int MSP_ERROR_HCR_SET_PREDICT_DATA 11107
public static final int MSP_ERROR_HCR_START 11104
public static final int MSP_ERROR_HTTP_BASE 12000
public static final int MSP_ERROR_INVALID_CONFIG 10124 无效的配置项
public static final int MSP_ERROR_INVALID_DATA 10109 无效的数据
public static final int MSP_ERROR_INVALID_HANDLE 10108 无效的句柄
public static final int MSP_ERROR_INVALID_MEDIA_TYPE 10127 无效的媒体类型
public static final int MSP_ERROR_INVALID_OPERATION 10132 无效的操作
public static final int MSP_ERROR_INVALID_PARA 10106 无效的参数
public static final int MSP_ERROR_INVALID_PARA_VALUE 10107 无效的参数值
public static final int MSP_ERROR_ISV_NO_USER 13000
public static final int MSP_ERROR_IVP_EXTRA_RGN_SOPPORT 11601 rgn超过最大支持次数9
public static final int MSP_ERROR_IVP_GENERAL 11600 内核异常
public static final int MSP_ERROR_IVP_MODEL_NOT_FOUND_IN_HBASE 11610 声纹模型数据在hbase中找不到
public static final int MSP_ERROR_IVP_MUCH_NOISE 11603 太多噪音
public static final int MSP_ERROR_IVP_NO_ENOUGH_AUDIO 11608 音频长达不到自由说的要求
public static final int MSP_ERROR_IVP_TEXT_NOT_MATCH 11607 音频内容与给定文本不一致
public static final int MSP_ERROR_IVP_TOO_LOW 11604 声音太小
public static final int MSP_ERROR_IVP_TRUNCATED 11602 音频波形幅度太大,超出系统范围,发生截幅
public static final int MSP_ERROR_IVP_UTTER_TOO_SHORT 11606 音频太短
public static final int MSP_ERROR_IVP_ZERO_AUDIO 11605 没检测到音频
public static final int MSP_ERROR_LMOD_ALREADY_LOADED 16006
public static final int MSP_ERROR_LMOD_BASE 16000
public static final int MSP_ERROR_LMOD_LOADCODE 16003
public static final int MSP_ERROR_LMOD_NOT_FOUND 16001
public static final int MSP_ERROR_LMOD_PRECALL 16004
public static final int MSP_ERROR_LMOD_RUNTIME_EXCEPTION 16005
public static final int MSP_ERROR_LMOD_UNEXPECTED_BIN 16002
public static final int MSP_ERROR_LOAD_MODULE 10122 加载模块失败
public static final int MSP_ERROR_LOGIN_END 11100
public static final int MSP_ERROR_LOGIN_INVALID_PWD 11006 无效的密码
public static final int MSP_ERROR_LOGIN_INVALID_USER 11005 无效的用户
public static final int MSP_ERROR_LOGIN_NO_LICENSE 11001 无授权
public static final int MSP_ERROR_LOGIN_SESSIONID_ERROR 11003 错误的SessionID
public static final int MSP_ERROR_LOGIN_SESSIONID_INVALID 11002 无效的SessionID
public static final int MSP_ERROR_LOGIN_SUCCESS 11000 登录成功
public static final int MSP_ERROR_LOGIN_SYSTEM_ERROR 11099 系统错误
public static final int MSP_ERROR_LOGIN_UNLOGIN 11004 未登录
public static final int MSP_ERROR_LUA_BASE 14000
public static final int MSP_ERROR_LUA_ERRERR 14005
public static final int MSP_ERROR_LUA_ERRMEM 14004
public static final int MSP_ERROR_LUA_ERRRUN 14002
public static final int MSP_ERROR_LUA_ERRSYNTAX 14003
public static final int MSP_ERROR_LUA_INVALID_PARAM 14006
public static final int MSP_ERROR_LUA_YIELD 14001
public static final int MSP_ERROR_MESSAGE_NOT_COMPLETE 10133 脚本引擎没有启动完时向脚本发送同步消息
public static final int MSP_ERROR_MMP_ALARM_CONTXT_NULL 15029
public static final int MSP_ERROR_MMP_ALARM_GROUP_NULL 15028
public static final int MSP_ERROR_MMP_BASE 15000
public static final int MSP_ERROR_MMP_DB_DATA_ILLEGAL 15023
public static final int MSP_ERROR_MMP_ERR_MORE_TOTAL 15017
public static final int MSP_ERROR_MMP_MAIL_INIT_FAIL 15011
public static final int MSP_ERROR_MMP_MAIL_LOGON_FAIL 15007
public static final int MSP_ERROR_MMP_MAIL_PWD_ERR 15009
public static final int MSP_ERROR_MMP_MAIL_SESSION_FAIL 15006
public static final int MSP_ERROR_MMP_MAIL_SOCKET_ERR 15010
public static final int MSP_ERROR_MMP_MAIL_USER_ILLEGAL 15008
public static final int MSP_ERROR_MMP_MYSQL_INITFAIL 15001
public static final int MSP_ERROR_MMP_NETDSS_INITFAIL 15003
public static final int MSP_ERROR_MMP_PARAM_NULL 15016
public static final int MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY 15025
public static final int MSP_ERROR_MMP_PMC_SERVINFO_INVALID 15027
public static final int MSP_ERROR_MMP_PROC_THRESHOLD 15018
public static final int MSP_ERROR_MMP_PYTHON_BAD_FUNC 15022
public static final int MSP_ERROR_MMP_PYTHON_IMPORT_FAILED 15021
public static final int MSP_ERROR_MMP_PYTHON_NO_EXIST 15020
public static final int MSP_ERROR_MMP_REDIS_INITFAIL 15002
public static final int MSP_ERROR_MMP_REDIS_NOT_CONN 15024
public static final int MSP_ERROR_MMP_SERVER_THRESHOLD 15019
public static final int MSP_ERROR_MMP_STORE_MNR_NO_INIT 15012
public static final int MSP_ERROR_MMP_STORE_MNR_POOL_FULL 15013
public static final int MSP_ERROR_MMP_STRATGY_PARAM_ILLEGAL 15014
public static final int MSP_ERROR_MMP_STRATGY_PARAM_TOOLOOG 15015
public static final int MSP_ERROR_MMP_TAIR_CONNECT 15026
public static final int MSP_ERROR_MMP_TAIR_INITFAIL 15004
public static final int MSP_ERROR_MSG_APP_ID_EMPTY 10313 应用ID为空
public static final int MSP_ERROR_MSG_BUILD_ERROR 10302 构建
public static final int MSP_ERROR_MSG_CONTENT_EMPTY 10304 Content为空
public static final int MSP_ERROR_MSG_EXTERN_ID_EMPTY 10314 扩展ID为空
public static final int MSP_ERROR_MSG_GENERAL 10300 消息一般错误
public static final int MSP_ERROR_MSG_INVALID_CMD 10315 无效的命令
public static final int MSP_ERROR_MSG_INVALID_CONTENT 10325 无效的消息体
public static final int MSP_ERROR_MSG_INVALID_CONTENT_ENCODE 10307 Content编码无效
public static final int MSP_ERROR_MSG_INVALID_CONTENT_LENGTH 10306 Content长度无效
public static final int MSP_ERROR_MSG_INVALID_CONTENT_TYPE 10305 Content类型无效
public static final int MSP_ERROR_MSG_INVALID_KEY 10308 Key无效
public static final int MSP_ERROR_MSG_INVALID_SESSION_ID 10324 无效的会话ID
public static final int MSP_ERROR_MSG_INVALID_SUBJECT 10316 无效的主题
public static final int MSP_ERROR_MSG_INVALID_VERSION 10317 无效的版本
public static final int MSP_ERROR_MSG_KEY_EMPTY 10309 Key为空
public static final int MSP_ERROR_MSG_LOGIN_ID_EMPTY 10311 登录ID为空
public static final int MSP_ERROR_MSG_MSSP_EMPTY 10321 消息为空
public static final int MSP_ERROR_MSG_NEW_CONTENT 10323 新建Content失败
public static final int MSP_ERROR_MSG_NEW_RESPONSE 10322 新建响应消息失败
public static final int MSP_ERROR_MSG_NO_CMD 10318 没有命令
public static final int MSP_ERROR_MSG_NO_SUBJECT 10319 没有主题
public static final int MSP_ERROR_MSG_NO_VERSION 10320 没有版本号
public static final int MSP_ERROR_MSG_PARAM_ERROR 10303 参数出错
public static final int MSP_ERROR_MSG_PARSE_ERROR 10301 解析
public static final int MSP_ERROR_MSG_SESSION_ID_EMPTY 10310 会话ID为空
public static final int MSP_ERROR_MSG_SYNC_ID_EMPTY 10312 同步ID为空
public static final int MSP_ERROR_NET_ACCEPTSOCK 10203 套接字接收
public static final int MSP_ERROR_NET_BADADDRESS 10207 无效的地址
public static final int MSP_ERROR_NET_BINDSEQUENCE 10208 绑定次序
public static final int MSP_ERROR_NET_CONNECTCLOSE 10212 连接关闭
public static final int MSP_ERROR_NET_CONNECTSOCK 10202 套接字连接
public static final int MSP_ERROR_NET_DNS 10214 DNS解析错误
public static final int MSP_ERROR_NET_END 10300
public static final int MSP_ERROR_NET_GENERAL 10200 网络一般错误
public static final int MSP_ERROR_NET_INIT 10215 网络异常,ssl ctx初始化失败
public static final int MSP_ERROR_NET_INVALIDSOCK 10206 无效的套接字
public static final int MSP_ERROR_NET_NOTBIND 10210 没有绑定
public static final int MSP_ERROR_NET_NOTDGRAMSOCK 10213 非数据报套接字
public static final int MSP_ERROR_NET_NOTLISTEN 10211 没有监听
public static final int MSP_ERROR_NET_NOTOPENSOCK 10209 套接字没有打开
public static final int MSP_ERROR_NET_OPENSOCK 10201 打开套接字
public static final int MSP_ERROR_NET_RECVSOCK 10205 接收
public static final int MSP_ERROR_NET_SENDSOCK 10204 发送
public static final int MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE 18000 Nginx errlog file increase exception
public static final int MSP_ERROR_NO_DATA 10118 没有数据
public static final int MSP_ERROR_NO_ENOUGH_BUFFER 10117 没有足够的内存
public static final int MSP_ERROR_NO_LICENSE 10110 没有授权许可
public static final int MSP_ERROR_NO_MORE_DATA 10119 没有更多的数据
public static final int MSP_ERROR_NOT_FOUND 10116 没有发现
public static final int MSP_ERROR_NOT_IMPLEMENT 10104 没有实现
public static final int MSP_ERROR_NOT_INIT 10111 没有初始化
public static final int MSP_ERROR_NOT_SUPPORT 10103 不支持
public static final int MSP_ERROR_NULL_HANDLE 10112 空句柄
public static final int MSP_ERROR_OPEN_FILE 10115 打开文件出错
public static final int MSP_ERROR_OUT_OF_MEMORY 10101 内存越界
public static final int MSP_ERROR_OVERFLOW 10113 溢出
public static final int MSP_ERROR_REC_DUPLICATE_GRAMMAR 10704 语法重复
public static final int MSP_ERROR_REC_GENERAL 10700 一般错误
public static final int MSP_ERROR_REC_GRAMMAR_ERROR 10702 语法错误
public static final int MSP_ERROR_REC_INACTIVE 10701 处于不活跃状态
public static final int MSP_ERROR_REC_INVALID_LANGUAGE 10706 无效的语言
public static final int MSP_ERROR_REC_INVALID_MEDIA_TYPE 10705 无效的媒体类型
public static final int MSP_ERROR_REC_NO_ACTIVE_GRAMMARS 10703 没有活跃的语法
public static final int MSP_ERROR_REC_URI_FETCH_ERROR 10709 获取URI内容时出错
public static final int MSP_ERROR_REC_URI_NOT_FOUND 10707 没有对应的URI
public static final int MSP_ERROR_REC_URI_TIMEOUT 10708 获取URI内容超时
public static final int MSP_ERROR_RES_DATA 10510 数据出错
public static final int MSP_ERROR_RES_FREE 10502 空闲
public static final int MSP_ERROR_RES_GENERAL 10500 资源一般错误
public static final int MSP_ERROR_RES_HEAD 10509 资源头部错误
public static final int MSP_ERROR_RES_INVALID_ID 10505 无效的ID
public static final int MSP_ERROR_RES_INVALID_IMG 10506 无效的映像
public static final int MSP_ERROR_RES_INVALID_NAME 10504 无效的名称
public static final int MSP_ERROR_RES_LEAK 10508 泄露
public static final int MSP_ERROR_RES_LOAD 10501 没有加载
public static final int MSP_ERROR_RES_MISSING 10503 缺失
public static final int MSP_ERROR_RES_SKIP 10511 跳过
public static final int MSP_ERROR_RES_WRITE 10507 写操作
public static final int MSP_ERROR_SKIPPED 10120 跳过
public static final int MSP_ERROR_TIME_OUT 10114 超时
public static final int MSP_ERROR_TTS_GENERAL 10600 合成一般错误
public static final int MSP_ERROR_TTS_LTTS_ERROR 10603
public static final int MSP_ERROR_TTS_TEXT_EMPTY 10602 文本为空
public static final int MSP_ERROR_TTS_TEXTEND 10601 文本结束
public static final int MSP_ERROR_TUV_CFGFILE 10903
public static final int MSP_ERROR_TUV_GENERAL 10900
public static final int MSP_ERROR_TUV_GETHIDPARAM 10901
public static final int MSP_ERROR_TUV_RECV_CONTENT 10904
public static final int MSP_ERROR_TUV_TOKEN 10902
public static final int MSP_ERROR_TUV_VERFAIL 10905
public static final int MSP_ERROR_USER_CANCELLED 10131
public static final int MSP_ERROR_VERSION_CHECK 10125 版本错误
public static final int SUCCESS 0 函数执行成功

ResourceUtil

com.iflytek.cloud.speech.ResourceUtil

限定符和类型 常量字段
public static final java.lang.String ASR_RES_PATH "asr_res_path"
public static final java.lang.String ENGINE_DESTROY "engine_destroy"
public static final java.lang.String ENGINE_START "engine_start"
public static final java.lang.String GRM_BUILD_PATH "grm_build_path"
public static final java.lang.String TTS_RES_PATH "tts_res_path"

Setting

com.iflytek.cloud.speech.Setting

限定符和类型 常量字段
public static final boolean DEFAULT_IS_SAVE_TEST_LOG false
public static final boolean DEFAULT_IS_SHOW_LOG false
public static final java.lang.String DEFAULT_LOG_PATH "./msc.log"

SpeechConstant

com.iflytek.cloud.speech.SpeechConstant

限定符和类型 常量字段
public static final java.lang.String ACCENT accent
public static final java.lang.String APPID appid
public static final java.lang.String ASR_AUDIO_PATH asr_audio_path
public static final java.lang.String ASR_NBEST asr_nbest
public static final java.lang.String ASR_NET_PERF asr_net_perf
public static final java.lang.String ASR_PTT asr_ptt
public static final java.lang.String ASR_SOURCE_PATH asr_source_path
public static final java.lang.String ASR_WBEST asr_wbest
public static final java.lang.String AUDIO_FORMAT audio_format
public static final java.lang.String AUDIO_SOURCE audio_source
public static final java.lang.String BACKGROUND_SOUND background_sound
public static final java.lang.String DATA_TYPE data_type
public static final java.lang.String DOMAIN domain
public static final java.lang.String ENG_ASR asr
public static final java.lang.String ENG_IVW ivw
public static final java.lang.String ENG_TTS tts
public static final java.lang.String ENGINE_MODE engine_mode
public static final java.lang.String ENGINE_TYPE engine_type
public static final java.lang.String FILTER_AUDIO_TIME filter_audio_time
public static final java.lang.String GRAMMAR_LIST grammar_list
public static final java.lang.String GRAMMAR_NAME grammar_name
public static final java.lang.String GRAMMAR_TYPE grammar_type
public static final java.lang.String KEY_SPEECH_TIMEOUT speech_timeout
public static final java.lang.String LANGUAGE language
public static final java.lang.String LIB_NAME_32 lib_name_32
public static final java.lang.String LIB_NAME_64 lib_name_64
public static final java.lang.String LOCAL_GRAMMAR local_grammar
public static final java.lang.String NET_TIMEOUT timeout
public static final java.lang.String PARAMS params
public static final java.lang.String PITCH pitch
public static final java.lang.String RESULT_TYPE result_type
public static final java.lang.String SAMPLE_RATE sample_rate
public static final java.lang.String SPEED speed
public static final java.lang.String STREAM_TYPE stream_type
public static final java.lang.String TEXT_ENCODING text_encoding
public static final java.lang.String TTS_AUDIO_PATH tts_audio_path
public static final java.lang.String TTS_BUFFER_EVENT tts_buf_event
public static final java.lang.String TTS_BUFFER_TIME tts_buffer_time
public static final java.lang.String TYPE_CLOUD cloud
public static final java.lang.String TYPE_LOCAL local
public static final java.lang.String VAD_BOS vad_bos
public static final java.lang.String VAD_EOS vad_eos
public static final java.lang.String VOICE_NAME voice_name
public static final java.lang.String VOLUME volume
public static final java.lang.String WAP_PROXY wap_proxy

SpeechError

com.iflytek.cloud.speech.SpeechError

限定符和类型 常量字段
public static final int ERROR_AUDIO_RECORD 9
public static final int ERROR_BROWSER_NOT_INSTALLED 26
public static final int ERROR_EMPTY_UTTERANCE 13
public static final int ERROR_ENGINE 29
public static final int ERROR_FILE_ACCESS 14
public static final int ERROR_IN_USE 19
public static final int ERROR_INSUFFICIENT_PERMISSIONS 4
public static final int ERROR_INTERRUPT 28
public static final int ERROR_INVALID_DATA 20
public static final int ERROR_INVALID_ENCODING 12
public static final int ERROR_INVALID_GRAMMAR 21
public static final int ERROR_INVALID_LOCAL_RESOURCE 22
public static final int ERROR_INVALID_PARAM 7
public static final int ERROR_INVALID_RESULT 5
public static final int ERROR_LOGIN 18
public static final int ERROR_LOGIN_INVALID_PWD 24
public static final int ERROR_LOGIN_INVALID_USER 23
public static final int ERROR_MEMORY_WRANING 16
public static final int ERROR_NET_EXPECTION 3
public static final int ERROR_NETWORK_TIMEOUT 2
public static final int ERROR_NO_MATCH 10
public static final int ERROR_NO_NETWORK 1
public static final int ERROR_PERMISSION_DENIED 25
public static final int ERROR_PLAY_MEDIA 15
public static final int ERROR_SERVER_CONNECT 6
public static final int ERROR_SPEECH_TIMEOUT 11
public static final int ERROR_TEXT_OVERFLOW 17
public static final int ERROR_TTS_INTERRUPT 27
public static final int ERROR_UNKNOWN 8

SpeechEvent

com.iflytek.cloud.speech.SpeechEvent

限定符和类型 常量字段
public static final int EVENT_NETPREF 10001
public static final int EVENT_TTS_BUFFER 10002