public class WakeupWordIntent extends WakeupWord
| 限定符和类型 | 字段和说明 |
|---|---|
protected WakeupType |
mWakeupType |
action, dcheck, greetingList, incrementWord, major, mCreateEngine, name, pinyin, threshold, threshold2| 构造器和说明 |
|---|
WakeupWordIntent(WakeupType wakeupType) |
| 限定符和类型 | 方法和说明 |
|---|---|
WakeupWordIntent |
addGreeting(java.lang.String greeting)
添加唤醒词欢迎语
|
WakeupWordIntent |
setAction(java.lang.String action)
设置唤醒词对应的command命令
|
WakeupWordIntent |
setGreetings(java.util.ArrayList<java.lang.String> greetingList)
设置唤醒词欢迎语
|
WakeupWordIntent |
setPinyin(java.lang.String pinyin)
设置唤醒词拼音
|
WakeupWordIntent |
setThreshold(java.lang.String threshold)
设置唤醒词阈值
|
WakeupWordIntent |
setThreshold(java.lang.String threshold,
java.lang.String threshold2)
设置唤醒词阈值
|
WakeupWordIntent |
setWord(java.lang.String word)
设置唤醒词汉字
|
getAction, getDcheck, getGreetingList, getIncrementWord, getJson, getJsonObject, getMajor, getName, getPinyin, getPriority, getThreshold, getThreshold2, isIncrementWord, setCreateEngine, setDcheck, setIncrementWord, setMajor, setPriority, toStringprotected WakeupType mWakeupType
public WakeupWordIntent(WakeupType wakeupType)
public WakeupWordIntent setWord(java.lang.String word)
WakeupWordsetWord 在类中 WakeupWordword - 唤醒词汉字public WakeupWordIntent setPinyin(java.lang.String pinyin)
WakeupWordsetPinyin 在类中 WakeupWordpinyin - 唤醒词拼音public WakeupWordIntent setThreshold(java.lang.String threshold)
WakeupWordsetThreshold 在类中 WakeupWordthreshold - 唤醒词阈值public WakeupWordIntent setThreshold(java.lang.String threshold, java.lang.String threshold2)
WakeupWordsetThreshold 在类中 WakeupWordthreshold - 唤醒词阈值threshold2 - 唤醒词阈值2public WakeupWordIntent addGreeting(java.lang.String greeting)
WakeupWordaddGreeting 在类中 WakeupWordgreeting - 唤醒词欢迎语public WakeupWordIntent setGreetings(java.util.ArrayList<java.lang.String> greetingList)
WakeupWordsetGreetings 在类中 WakeupWordgreetingList - 唤醒词欢迎语集合public WakeupWordIntent setAction(java.lang.String action)
WakeupWordsetAction 在类中 WakeupWordaction - 唤醒词对应的command命令