![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Class to monitor DialogUXStateAggregator for the THINKING
state and automatically move it to IDLE
.
More...
Public Member Functions | |
TestDialogUXStateObserver (std::shared_ptr< avsCommon::avs::DialogUXStateAggregator > aggregator) | |
void | onDialogUXStateChanged (DialogUXState newState) override |
![]() | |
virtual | ~DialogUXStateObserverInterface ()=default |
Additional Inherited Members | |
![]() | |
enum | DialogUXState { DialogUXState::IDLE, DialogUXState::LISTENING, DialogUXState::EXPECTING, DialogUXState::THINKING, DialogUXState::SPEAKING, DialogUXState::FINISHED } |
The different dialog specific AVS UX states. More... | |
![]() | |
static std::string | stateToString (DialogUXState state) |
Class to monitor DialogUXStateAggregator for the THINKING
state and automatically move it to IDLE
.
alexaClientSDK::capabilityAgents::aip::test::TestDialogUXStateObserver::TestDialogUXStateObserver | ( | std::shared_ptr< avsCommon::avs::DialogUXStateAggregator > | aggregator | ) |
Constructor
aggregator | The DialogUXStateAggregator to move from THINKING to IDLE . |
|
overridevirtual |
This function is called whenever the AVS UX dialog state of the system changes. This function will block processing of other state changes, so any implementation of this should return quickly.
newState | The new dialog specific AVS UX state. |
Implements alexaClientSDK::avsCommon::sdkInterfaces::DialogUXStateObserverInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0