public class TXZAsrKeyManager
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
TXZAsrKeyManager.AsrKeySource |
static class |
TXZAsrKeyManager.AsrKeyType |
static class |
TXZAsrKeyManager.AsrSources |
static class |
TXZAsrKeyManager.CommCmdsTool |
限定符和类型 | 方法和说明 |
---|---|
void |
forbidAsrKeys(java.lang.String[] types,
com.txznet.comm.remote.ServiceManager.GetDataCallback gdc)
通过唤醒类型禁用该唤醒说法
|
static TXZAsrKeyManager |
getInstance() |
void |
modifyAsrKeyCmds(java.lang.String type,
java.lang.String... cmds) |
void |
modifyAsrKeyCmds(TXZAsrKeyManager.AsrKeySource[] modifyArrays,
com.txznet.comm.remote.ServiceManager.GetDataCallback gdc)
已过时。
|
void |
setCommCmdsTool(TXZAsrKeyManager.CommCmdsTool tool) |
void |
shieldWakeupKeys(java.lang.String[] keys)
屏蔽导航的免唤醒指令,但保留着命令字识别
|
void |
unForbidKeys(java.lang.String[] types)
恢复被禁用的命令字
|
public static TXZAsrKeyManager getInstance()
public void forbidAsrKeys(java.lang.String[] types, com.txznet.comm.remote.ServiceManager.GetDataCallback gdc)
types
- 要禁用的唤醒类型列表gdc
- 返回唤醒任务TASKIDpublic void shieldWakeupKeys(java.lang.String[] keys)
keys
- public void unForbidKeys(java.lang.String[] types)
types
- @Deprecated public void modifyAsrKeyCmds(TXZAsrKeyManager.AsrKeySource[] modifyArrays, com.txznet.comm.remote.ServiceManager.GetDataCallback gdc)
modifyArrays
- gdc
- modifyAsrKeyCmds(String type, String... cmds)
public void modifyAsrKeyCmds(java.lang.String type, java.lang.String... cmds)
public void setCommCmdsTool(TXZAsrKeyManager.CommCmdsTool tool)