public class AILocalEchoEngine extends BaseEngine implements IEcho, ISyncEngine<EchoConfig,AILocalEchoListener>
isInitSync, mBaseProcessor, TAG, tagSuffix| Constructor and Description |
|---|
AILocalEchoEngine() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkLibValid() |
void |
destroy() |
void |
feed(byte[] data) |
java.lang.String |
getTag() |
void |
init(AIEchoConfig config,
AILocalEchoListener listener) |
void |
init(EchoConfig config,
AILocalEchoListener listener) |
int |
initSync(EchoConfig config,
long time,
AILocalEchoListener listener)
初始化 -- 同步方法
|
static AILocalEchoEngine |
newInstance() |
void |
start() |
void |
start(AILocalEchoIntent intent) |
void |
stop() |
cancel, init, initSync, initTAG, parseConfig, parseIntentpublic static boolean checkLibValid()
public static AILocalEchoEngine newInstance()
public java.lang.String getTag()
getTag in class BaseEnginepublic void init(EchoConfig config, AILocalEchoListener listener)
init in interface IEngine<EchoConfig,AILocalEchoIntent,AILocalEchoListener>public void init(AIEchoConfig config, AILocalEchoListener listener)
public void start()
start in class BaseEnginepublic void start(AILocalEchoIntent intent)
start in interface IEngine<EchoConfig,AILocalEchoIntent,AILocalEchoListener>public void stop()
stop in interface IEngine<EchoConfig,AILocalEchoIntent,AILocalEchoListener>stop in class BaseEnginepublic void destroy()
destroy in interface IEngine<EchoConfig,AILocalEchoIntent,AILocalEchoListener>destroy in class BaseEnginepublic int initSync(EchoConfig config, long time, AILocalEchoListener listener)
ISyncEngineinitSync in interface ISyncEngine<EchoConfig,AILocalEchoListener>config - 初始化配置time - 超时的时间,超时返回失败,单位为毫秒listener - 监听回调