NUGU SDK Linux  1.7.6
NuguCapability::ITTSListener Class Referenceabstract

tts listener interface More...

#include <tts_interface.hh>

+ Inheritance diagram for NuguCapability::ITTSListener:
+ Collaboration diagram for NuguCapability::ITTSListener:

Public Member Functions

virtual void onTTSCancel (const std::string &dialog_id)=0
 Report canceled the text speech to the User. More...
 
virtual void onTTSState (TTSState state, const std::string &dialog_id)=0
 Report changes in the speech state to the user. More...
 
virtual void onTTSText (const std::string &text, const std::string &dialog_id)=0
 Report the speech sentence to the User. More...
 
- Public Member Functions inherited from NuguClientKit::ICapabilityListener
virtual ICapabilityInterfacegetCapabilityHandler ()
 Get capability interface object. More...
 
virtual void setCapabilityHandler (ICapabilityInterface *handler)
 Set capability interface object. More...
 

Detailed Description

tts listener interface

See also
ITTSHandler

Member Function Documentation

◆ onTTSState()

virtual void NuguCapability::ITTSListener::onTTSState ( TTSState  state,
const std::string &  dialog_id 
)
pure virtual

Report changes in the speech state to the user.

Parameters
[in]statetts state
[in]dialog_iddialog request id
See also
ITTSHandler::requestTTS()

◆ onTTSText()

virtual void NuguCapability::ITTSListener::onTTSText ( const std::string &  text,
const std::string &  dialog_id 
)
pure virtual

Report the speech sentence to the User.

Parameters
[in]textsentence
[in]dialog_iddialog request id

◆ onTTSCancel()

virtual void NuguCapability::ITTSListener::onTTSCancel ( const std::string &  dialog_id)
pure virtual

Report canceled the text speech to the User.

Parameters
[in]dialog_iddialog request id

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