![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
A dialog specific UX state observer. More...
#include <DialogUXStateObserverInterface.h>
Public Types | |
enum | DialogUXState { DialogUXState::IDLE, DialogUXState::LISTENING, DialogUXState::EXPECTING, DialogUXState::THINKING, DialogUXState::SPEAKING, DialogUXState::FINISHED } |
The different dialog specific AVS UX states. More... | |
Public Member Functions | |
virtual | ~DialogUXStateObserverInterface ()=default |
virtual void | onDialogUXStateChanged (DialogUXState newState)=0 |
Static Public Member Functions | |
static std::string | stateToString (DialogUXState state) |
A dialog specific UX state observer.
The different dialog specific AVS UX states.
|
virtualdefault |
Destructor.
|
pure virtual |
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. |
Implemented in alexaClientSDK::capabilityAgents::aip::test::TestDialogUXStateObserver, alexaClientSDK::sampleApplications::common::InteractionManager, alexaClientSDK::capabilityAgents::aip::AudioInputProcessor, alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIManager, alexaClientSDK::sampleApplications::ipcServerSampleApp::APLRuntimePresentationAdapter, alexaClientSDK::capabilityAgents::speechSynthesizer::SpeechSynthesizer, alexaClientSDK::capabilityAgents::mrm::MRMCapabilityAgent, alexaClientSDK::diagnostics::DevicePropertyAggregator, alexaClientSDK::sampleApplications::common::UIManager, and alexaClientSDK::avsCommon::test::TestObserver.
|
inlinestatic |
This function converts the provided DialogUXState
to a string.
state | The DialogUXState to convert to a string. |
state
. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0