类 WakeupIncrementProcessor
- java.lang.Object
-
- com.aispeech.lite.BaseProcessor
-
- com.aispeech.lite.wakeupincrement.WakeupIncrementProcessor
-
- 所有已实现的接口:
AIRecordListener
,MessageProcess.Handle
public class WakeupIncrementProcessor extends BaseProcessor
增强唤醒 processor
-
-
嵌套类概要
-
从类继承的嵌套类/接口 com.aispeech.lite.BaseProcessor
BaseProcessor.CallbackMsg, BaseProcessor.EngineMsg, BaseProcessor.EngineState, BaseProcessor.MyBarrierRunnable
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.String
TAG
-
从类继承的字段 com.aispeech.lite.BaseProcessor
DEFAULT_ONE_CHANNEL_DATA_SIZE, DEFAULT_VALID_TIME_THRESH, inputContinuousAudio, isInitFailed, mAIRecorder, mBaseConfig, mCallbackState, mContext, mCurrentDataSize, mDataSizeThresh, mDumpCurrentDataSize, mDumpDataThresh, mDumpLock, mDumpWkpDataQueue, mHasHalfWakeup, mHasPreWakeup, mIsRealWakeup, mLastWakeupTime, mLock, mMicMatrixStr, mNeedCache, mNeedDumpData, mOutListener, mProfile, mProfileState, mRecorderId, mSceneStr, mScope, mState, mUploadCacheQueue, mWakeupJson, threadCount
-
-
构造器概要
构造器 构造器 说明 WakeupIncrementProcessor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
build(java.util.List<LocalGrammarParams> params)
触发编译protected void
handlerInnerMsg(BaseProcessor.EngineMsg engineMsg, android.os.Message msg)
需要继承类实现void
init(SpeechListener listener, LocalAsrConfig asrConfig, SSLConfig vadConfig, LocalGrammarConfig grammarConfig)
初始化void
processMaxSpeechError()
void
processNoSpeechError()
void
start(LocalAsrParams asrParams, VadParams vadParams)
启动引擎-
从类继承的方法 com.aispeech.lite.BaseProcessor
cancel, cancelMaxSpeechTimeTask, cancelNoSpeechTimer, cancelOneShotNoSpeechTimer, clearObject, clearRecorderId, copyAssetsFolder, copyAssetsFolderMd5, copyAssetsFolders, copyAssetsRes, createRecorder, createSignalProcessingRecorder, feedData, forceRequestWakeupResult, get, getCurrentState, getHandleName, getRecorderId, getTag, getThreshold, handleMessage, handlerCallbackMsg, init, isAuthorized, isContainsEnglish, isUploadEnable, onException, onPowerChanged, onRawDataReceived, onRecordReleased, onRecordStarted, onRecordStopped, onResultDataReceived, processInit, processOneShotNoSpeechError, release, releaseRecorder, removeCallbackMsg, sendMsgToCallbackMsgQueue, sendMsgToInnerMsgQueue, sendMsgToInnerMsgQueue, set, showErrorMessage, showErrorMessage, startDumpWaitingTimerTask, startMaxSpeechTimerTask, startNoSpeechTimer, startOneShotNoSpeechTimer, startRecorder, startWakeupUploadWaitingTimerTask, stop, syncRecorderId, syncRecorderId, syncRecorderId, syncSessionId, trackInvalidState, transferState, unRegisterRecorderIfIsRecording, update, update, updateTrails, updateVocab
-
-
-
-
字段详细资料
-
TAG
public static final java.lang.String TAG
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
init
public void init(SpeechListener listener, LocalAsrConfig asrConfig, SSLConfig vadConfig, LocalGrammarConfig grammarConfig)
初始化- 参数:
listener
-SpeechListener
asrConfig
-LocalAsrConfig
vadConfig
-LocalVadConfig
grammarConfig
-LocalGrammarConfig
-
start
public void start(LocalAsrParams asrParams, VadParams vadParams)
启动引擎- 参数:
asrParams
-LocalAsrParams
vadParams
-VadParams
-
build
public void build(java.util.List<LocalGrammarParams> params)
触发编译- 参数:
params
-LocalGrammarParams
-
handlerInnerMsg
protected void handlerInnerMsg(BaseProcessor.EngineMsg engineMsg, android.os.Message msg)
从类复制的说明:BaseProcessor
需要继承类实现- 指定者:
handlerInnerMsg
在类中BaseProcessor
-
processNoSpeechError
public void processNoSpeechError()
- 指定者:
processNoSpeechError
在类中BaseProcessor
-
processMaxSpeechError
public void processMaxSpeechError()
- 指定者:
processMaxSpeechError
在类中BaseProcessor
-
-