text handler interface
Definition: text_interface.hh:105
virtual void setAttribute(TextAttribute &&attribute)=0
Set attribute about response.
virtual std::string requestTextInput(const std::string &text, const std::string &token="", const std::string &source="", bool include_dialog_attribute=true)=0
Request NUGU services based on text input.
text listener interface
Definition: text_interface.hh:66
virtual void onState(TextState state, const std::string &dialog_id)=0
TextState changed.
virtual void onError(TextError error, const std::string &dialog_id)=0
An error occurred during requesting text input.
virtual bool handleTextCommand(const std::string &text, const std::string &token)=0
Handle text command and return whether consumed.
virtual void onComplete(const std::string &dialog_id)=0
When server processing for text input requests is completed.
TextState
TextState.
Definition: text_interface.hh:43
TextError
TextError.
Definition: text_interface.hh:51
struct NuguCapability::_TextAttribute TextAttribute
Attributes for setting Text options.
Attributes for setting Text options.
Definition: text_interface.hh:58
int response_timeout
Definition: text_interface.hh:59