DialogUXStateAggregator Interface.
More...
DialogUXStateAggregator Interface.
Interface of DialogUXStateAggregator for receiving DialogUXState which is composed by combination of ASR, TTS, Chips info.
◆ DialogUXState
DialogUXState list.
Enumerator |
---|
Listening | start to listen speech
|
Recognizing | recognize speech
|
Thinking | wait response
|
Speaking | TTS playing
|
Idle | no action
|
◆ onStateChanged()
virtual void NuguClientKit::IDialogUXStateAggregatorListener::onStateChanged |
( |
DialogUXState |
state, |
|
|
bool |
multi_turn, |
|
|
const ChipsInfo & |
chips, |
|
|
bool |
session_active |
|
) |
| |
|
virtual |
Receive current DialogUXState and additional infos.
- Parameters
-
[in] | state | current DialogUXState |
[in] | multi_turn | whether current dialog mode is multi-turn or not |
[in] | chips | chips info |
[in] | session_active | whether session is activated or not |
◆ onASRResult()
virtual void NuguClientKit::IDialogUXStateAggregatorListener::onASRResult |
( |
const std::string & |
text | ) |
|
|
virtual |
Receive ASR result.
- Parameters
-