NUGU SDK Linux  1.7.3
NuguCapability::ISystemListener Class Referenceabstract

system listener interface More...

#include <system_interface.hh>

+ Inheritance diagram for NuguCapability::ISystemListener:
+ Collaboration diagram for NuguCapability::ISystemListener:

Public Member Functions

virtual void onException (SystemException exception, const std::string &dialog_id)=0
 Deliver the exception received from the server to the user. More...
 
virtual void onNoDirective (const std::string &dialog_id)=0
 Received a no directive from the server. More...
 
virtual void onRevoke (RevokeReason reason)=0
 Received a revoke request from the server. More...
 
virtual void onTurnOff ()=0
 Received a device turn off request from the server.
 
- 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

system listener interface

See also
ISystemHandler

Member Function Documentation

◆ onException()

virtual void NuguCapability::ISystemListener::onException ( SystemException  exception,
const std::string &  dialog_id 
)
pure virtual

Deliver the exception received from the server to the user.

Parameters
[in]exceptionserver exception
[in]dialog_iddialog request id

◆ onRevoke()

virtual void NuguCapability::ISystemListener::onRevoke ( RevokeReason  reason)
pure virtual

Received a revoke request from the server.

Parameters
[in]reasonreason for revoke

◆ onNoDirective()

virtual void NuguCapability::ISystemListener::onNoDirective ( const std::string &  dialog_id)
pure virtual

Received a no directive from the server.

Parameters
[in]dialog_iddialog request id

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