-
public interface IThingHomeSpeech
Created by letian on 2018/3/29.
-
-
Method Summary
Modifier and Type Method Description abstract void
executeCommandWithSpeechText(String speechText, long homeId, IThingDataCallback<VoiceCommandBean> lisenter)
execute voice command abstract void
getVoicePhraseTipList(IThingDataCallback<ArrayList<SpeechPhraseBean>> callback)
get recoginzation can speech phrase tip listAdded form 3.10. abstract void
getVoiceGuideTipList(IThingDataCallback<SpeechGuideBean> callback)
get recoginzation speech guide tip listAdded form 3.10. abstract void
convertToTextWithAudioData(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
-
-
-
-