-
public interface IThingHomeSpeechCreated by letian on 2018/3/29.
-
-
Method Summary
Modifier and Type Method Description abstract voidexecuteCommandWithSpeechText(String speechText, long homeId, IThingDataCallback<VoiceCommandBean> lisenter)execute voice command abstract voidgetVoicePhraseTipList(IThingDataCallback<ArrayList<SpeechPhraseBean>> callback)get recoginzation can speech phrase tip listAdded form 3.10. abstract voidgetVoiceGuideTipList(IThingDataCallback<SpeechGuideBean> callback)get recoginzation speech guide tip listAdded form 3.10. abstract voidconvertToTextWithAudioData(Array<byte> audioData, String audioRate, String audioType, long homeId, IThingResultCallback<String> callback)audio conversion text -
-
Method Detail
-
executeCommandWithSpeechText
abstract void executeCommandWithSpeechText(String speechText, long homeId, IThingDataCallback<VoiceCommandBean> lisenter)
execute voice command
- Parameters:
speechText- Voice texthomeId- home id
-
getVoicePhraseTipList
abstract void getVoicePhraseTipList(IThingDataCallback<ArrayList<SpeechPhraseBean>> callback)
get recoginzation can speech phrase tip listAdded form 3.10.0
- Parameters:
callback- Callback for ack message IThingDataCallback
-
getVoiceGuideTipList
abstract void getVoiceGuideTipList(IThingDataCallback<SpeechGuideBean> callback)
get recoginzation speech guide tip listAdded form 3.10.0
- Parameters:
callback- callback Callback for ack message IThingDataCallback
-
convertToTextWithAudioData
abstract void convertToTextWithAudioData(Array<byte> audioData, String audioRate, String audioType, long homeId, IThingResultCallback<String> callback)
audio conversion text
- Parameters:
audioData- audio byte dataaudioRate- audio rateaudioType- audio typehomeId- home idcallback- callback Callback for ack message IThingResultCallback
-
-
-
-