NUGU SDK Linux  1.7.6
NuguClientKit::ISpeechRecognizer Class Referenceabstract

SpeechRecognizer interface. More...

#include <speech_recognizer_interface.hh>

Public Member Functions

virtual void finishListening ()=0
 finish listening speech
 
virtual std::string getCodec ()=0
 Get codec information of recorder. More...
 
virtual EpdAttribute getEpdAttribute ()=0
 Get EPD attribute. More...
 
virtual std::string getMimeType ()=0
 Get mime type information of recorder. More...
 
virtual bool isMute ()=0
 Get audio recorder's mute. More...
 
virtual void setEpdAttribute (const EpdAttribute &attribute)=0
 Set EPD attribute. More...
 
virtual void setListener (ISpeechRecognizerListener *listener)=0
 Set SpeechRecognizer listener object. More...
 
virtual bool startListening (const std::string &id)=0
 Start listening speech. More...
 
virtual void stopListening ()=0
 Stop listening speech.
 

Detailed Description

SpeechRecognizer interface.

See also
ISpeechRecognizerListener

Member Function Documentation

◆ setListener()

virtual void NuguClientKit::ISpeechRecognizer::setListener ( ISpeechRecognizerListener listener)
pure virtual

Set SpeechRecognizer listener object.

Parameters
[in]listenerISpeechRecognizerListener object

◆ startListening()

virtual bool NuguClientKit::ISpeechRecognizer::startListening ( const std::string &  id)
pure virtual

Start listening speech.

Parameters
[in]idlistening id
Returns
result of start listening

◆ setEpdAttribute()

virtual void NuguClientKit::ISpeechRecognizer::setEpdAttribute ( const EpdAttribute attribute)
pure virtual

Set EPD attribute.

Parameters
[in]attributeEPD attribute

◆ getEpdAttribute()

virtual EpdAttribute NuguClientKit::ISpeechRecognizer::getEpdAttribute ( )
pure virtual

Get EPD attribute.

Returns
EPD attribute

◆ isMute()

virtual bool NuguClientKit::ISpeechRecognizer::isMute ( )
pure virtual

Get audio recorder's mute.

Returns
mute

◆ getCodec()

virtual std::string NuguClientKit::ISpeechRecognizer::getCodec ( )
pure virtual

Get codec information of recorder.

Returns
codec

◆ getMimeType()

virtual std::string NuguClientKit::ISpeechRecognizer::getMimeType ( )
pure virtual

Get mime type information of recorder.

Returns
mime type

The documentation for this class was generated from the following file: