NUGU SDK Linux
1.7.6
|
SpeechRecognizerAggregator interface. More...
#include <speech_recognizer_aggregator_interface.hh>
Public Member Functions | |
virtual void | addListener (ISpeechRecognizerAggregatorListener *listener)=0 |
Add the ISpeechRecognizerAggregatorListener object. More... | |
virtual void | finishListening ()=0 |
finish listening speech | |
virtual void | removeListener (ISpeechRecognizerAggregatorListener *listener)=0 |
Remove the ISpeechRecognizerAggregatorListener object. More... | |
virtual void | setWakeupHandler (const std::shared_ptr< IWakeupHandler > &wakeup_handler)=0 |
Set the IWakeupHandler object. More... | |
virtual bool | setWakeupModel (const WakeupModelFile &model_file)=0 |
Set wakeup model file. More... | |
virtual void | startListening (float power_noise=0, float power_speech=0, ASRInitiator initiator=ASRInitiator::TAP)=0 |
Start recognizing speech. More... | |
virtual void | startListeningWithTrigger ()=0 |
Start detecting wakeup and progress recognizing speech after wakeup detected. | |
virtual void | stopListening (bool cancel=false)=0 |
Stop both recognizing speech and detecting wakeup. More... | |
SpeechRecognizerAggregator interface.