类 LocalEchoProcessor
- java.lang.Object
-
- com.aispeech.lite.BaseProcessor
-
- com.aispeech.lite.echo.LocalEchoProcessor
-
- 所有已实现的接口:
AIRecordListener
,MessageProcess.Handle
public class LocalEchoProcessor extends BaseProcessor
Description: Author: junlong.huang CreateTime: 2022/8/25
-
-
嵌套类概要
-
从类继承的嵌套类/接口 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
-
-
构造器概要
构造器 构造器 说明 LocalEchoProcessor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
clearObject()
protected void
handlerInnerMsg(BaseProcessor.EngineMsg engineMsg, android.os.Message msg)
需要继承类实现void
init(SpeechListener listener)
void
processMaxSpeechError()
void
processNoSpeechError()
void
release()
void
start()
-
从类继承的方法 com.aispeech.lite.BaseProcessor
cancel, cancelMaxSpeechTimeTask, cancelNoSpeechTimer, cancelOneShotNoSpeechTimer, 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, 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
-
-
-
-
方法详细资料
-
init
public void init(SpeechListener listener)
-
start
public void start()
-
handlerInnerMsg
protected void handlerInnerMsg(BaseProcessor.EngineMsg engineMsg, android.os.Message msg)
从类复制的说明:BaseProcessor
需要继承类实现- 指定者:
handlerInnerMsg
在类中BaseProcessor
-
release
public void release()
- 覆盖:
release
在类中BaseProcessor
-
clearObject
public void clearObject()
- 覆盖:
clearObject
在类中BaseProcessor
-
processNoSpeechError
public void processNoSpeechError()
- 指定者:
processNoSpeechError
在类中BaseProcessor
-
processMaxSpeechError
public void processMaxSpeechError()
- 指定者:
processMaxSpeechError
在类中BaseProcessor
-
-