NUGU SDK Linux  1.7.6
asr_interface.hh File Reference
#include <functional>
#include <clientkit/capability_interface.hh>
#include <nugu.h>
+ Include dependency graph for asr_interface.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NuguCapability::_ASRAttribute
 Attributes for setting ASR options. More...
 
class  NuguCapability::IASRHandler
 ASR handler interface. More...
 
class  NuguCapability::IASRListener
 ASR listener interface. More...
 

Macros

#define NUGU_ASR_ENCODING   "COMPLETE" /** @def Receive asr result by complete sentence */
 
#define NUGU_ASR_EPD_TYPE   "CLIENT" /** @def Use client end point detector */
 
#define NUGU_SERVER_RESPONSE_TIMEOUT_SEC   10 /** @def Set server response timeout about 10s */
 

Typedefs

typedef struct NuguCapability::_ASRAttribute NuguCapability::ASRAttribute
 Attributes for setting ASR options. More...
 

Enumerations

enum class  NuguCapability::ASRError {
  RESPONSE_TIMEOUT , LISTEN_TIMEOUT , LISTEN_FAILED , RECOGNIZE_ERROR ,
  UNKNOWN
}
 ASR error list. More...
 
enum class  NuguCapability::ASRInitiator {
  WAKE_UP_WORD , PRESS_AND_HOLD , TAP , EXPECT_SPEECH ,
  EARSET
}
 ASR initiator list. More...
 
enum class  NuguCapability::ASRState {
  IDLE , EXPECTING_SPEECH , LISTENING , RECOGNIZING ,
  BUSY
}
 ASR state list. More...