-
public interface IThingVoiceTransfer
author : JulyYu date : 2019/5/6 Voice recognize MQTT manager add from 3.10.0
-
-
Method Summary
Modifier and Type Method Description abstract void
onConnect()
connect mqtt abstract void
subscribeServer(IThingGetBeanCallback<SpeechTTSBean> callback)
speech results returned by subscription service abstract void
unSubscribeServer(IThingGetBeanCallback<SpeechTTSBean> callback)
speech results returned by unsubscribe service abstract void
onDestroy()
disconnect mqtt -
-
Method Detail
-
onConnect
abstract void onConnect()
connect mqtt
-
subscribeServer
abstract void subscribeServer(IThingGetBeanCallback<SpeechTTSBean> callback)
speech results returned by subscription service
- Parameters:
callback
- callback Callback for ack message IThingGetBeanCallback
-
unSubscribeServer
abstract void unSubscribeServer(IThingGetBeanCallback<SpeechTTSBean> callback)
speech results returned by unsubscribe service
- Parameters:
callback
- callback Callback for ack message IThingGetBeanCallback
-
onDestroy
abstract void onDestroy()
disconnect mqtt
-
-
-
-