NUGU SDK Linux  1.7.6
NuguCapability::IMessageListener Class Referenceabstract

message listener interface More...

#include <message_interface.hh>

+ Inheritance diagram for NuguCapability::IMessageListener:
+ Collaboration diagram for NuguCapability::IMessageListener:

Public Member Functions

virtual void messageStateChanged (MessageState state, const std::string &received_time, const std::string &token, const std::string &dialog_id)=0
 Report changes in the speech state to the user. More...
 
virtual void processGetMessage (const std::string &payload)=0
 Process get message. More...
 
virtual void processSendCandidates (const std::string &payload)=0
 Process send candidates. More...
 
virtual void processSendMessage (const std::string &payload)=0
 Process send message. 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

message listener interface

See also
IMessageHandler

Member Function Documentation

◆ processSendCandidates()

virtual void NuguCapability::IMessageListener::processSendCandidates ( const std::string &  payload)
pure virtual

Process send candidates.

Parameters
[in]payloaddirective's payload

◆ processSendMessage()

virtual void NuguCapability::IMessageListener::processSendMessage ( const std::string &  payload)
pure virtual

Process send message.

Parameters
[in]payloaddirective's payload

◆ processGetMessage()

virtual void NuguCapability::IMessageListener::processGetMessage ( const std::string &  payload)
pure virtual

Process get message.

Parameters
[in]payloaddirective's payload

◆ messageStateChanged()

virtual void NuguCapability::IMessageListener::messageStateChanged ( MessageState  state,
const std::string &  received_time,
const std::string &  token,
const std::string &  dialog_id 
)
pure virtual

Report changes in the speech state to the user.

Parameters
[in]statemessage state
[in]received_timemessage received time
[in]tokenmessage received token
[in]dialog_iddialog request id

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