类 DmaspParams
- java.lang.Object
-
- com.aispeech.lite.param.BaseRequestParams
-
- com.aispeech.lite.param.SpeechParams
-
- com.aispeech.lite.param.DmaspParams
-
- 所有已实现的接口:
java.lang.Cloneable
public class DmaspParams extends SpeechParams
Dmasp 唤醒参数类
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.String
TAG
-
从类继承的字段 com.aispeech.lite.param.BaseRequestParams
CN_ASR_REC, CN_CLOUD_GRAMMAR, CN_DLG_ITA, CN_DOUBLE_DECODE_ASR_REC, CN_LOCAL_DIALOG, CN_LOCAL_DIALOG_RES, CN_LOCAL_GRAMMAR, CN_LOCAL_SEMANTIC, CN_LOCAL_SV, CN_LOCAL_WAKEUP, CN_LOCAL_WAKEUP_DNN, CN_SDS, CN_TTS, CN_WAKEUP_REC, CUSTOM_ASR_REC, ECHO, EN_TTS, GRAMMAR_ASR_REC, KEY_ATTACH_APPLICATION_ID, KEY_ATTACH_RECORD_ID, KEY_ATTACH_URL, KEY_CALLBACK_TYPE, KEY_CLOUD, KEY_CORE_TYPE, KEY_PAUSETIME, KEY_PROVISION, KEY_RANK, KEY_REF_TEXT, KEY_REQUEST, KEY_RES, KEY_USER_ID, KEY_USER_KEY, KEY_VERSION, RANK_100, RANK_2, RANK_4, reqJson, SPEEX, SV_CLOUD, tag, TYPE_CLOUD, TYPE_NATIVE, VAD
-
-
构造器概要
构造器 构造器 说明 DmaspParams()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DmaspParams
clone()
java.lang.String
getWakeupSavedPath()
boolean
isPreWakeupOn()
void
setDchecks(int[] dchecks)
void
setMajors(int[] majors)
void
setPreWakeupOn(boolean preWakeupOn)
void
setThreshold(float[] threshold)
void
setWakeupSavedPath(java.lang.String dirPath)
void
setWords(java.lang.String[] words)
org.json.JSONObject
toJSON()
封装相关参数为JSON格式并返回java.lang.String
toString()
-
从类继承的方法 com.aispeech.lite.param.SpeechParams
getAilasKey, getAiType, getDeviceId, getDumpAudioPath, getDumpTime, getFespxEngine, getIntervalTime, getMaxSpeechTimeS, getNoSpeechTimeout, getOneshotCache, getOneShotIntervalTime, getProductId, getRecordId, getSampleRate, getSaveAudioPath, getServer, getSessionId, getTag, getTopic, getUserId, getWaitingTimeout, getWakeupTime, isUseCustomFeed, isUseOneShot, setAilasKey, setAiType, setAudioType, setDeviceId, setDumpAudioPath, setDumpTime, setFespxEngine, setIntervalTime, setIsAttachAudioParam, setMaxSpeechTimeS, setNoSpeechTimeout, setOneshotCache, setOneShotIntervalTime, setProductId, setRecordId, setSampleRate, setSaveAudioPath, setServer, setSessionId, setTopic, setUseCustomFeed, setUseOneShotFunction, setUserId, setWaitingTimeout, setWakeupTime
-
从类继承的方法 com.aispeech.lite.param.BaseRequestParams
getCoreType, getQuickStopWhenNoUseRecorder, getRes, getVersion, isAutoStopRecorder, isUseRecorder, setAutoStopRecorder, setCoreType, setQuickStopWhenNoUseRecorder, setRes, setTag, setUseRecorder, setVersion
-
-
-
-
字段详细资料
-
TAG
public static final java.lang.String TAG
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
setThreshold
public void setThreshold(float[] threshold)
-
setWords
public void setWords(java.lang.String[] words)
-
setDchecks
public void setDchecks(int[] dchecks)
-
setWakeupSavedPath
public void setWakeupSavedPath(java.lang.String dirPath)
-
getWakeupSavedPath
public java.lang.String getWakeupSavedPath()
-
setPreWakeupOn
public void setPreWakeupOn(boolean preWakeupOn)
-
isPreWakeupOn
public boolean isPreWakeupOn()
-
setMajors
public void setMajors(int[] majors)
-
toJSON
public org.json.JSONObject toJSON()
从类复制的说明:SpeechParams
封装相关参数为JSON格式并返回- 覆盖:
toJSON
在类中SpeechParams
- 返回:
- JSON格式的参数配置
-
toString
public java.lang.String toString()
- 覆盖:
toString
在类中SpeechParams
-
clone
public DmaspParams clone() throws java.lang.CloneNotSupportedException
- 覆盖:
clone
在类中SpeechParams
- 抛出:
java.lang.CloneNotSupportedException
-
-