![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <SpeechSynthesizerObserverInterface.h>
Public Member Functions | |
virtual | ~SpeechSynthesizerObserverInterface ()=default |
virtual void | onStateChanged (SpeechSynthesizerState state, const avsCommon::utils::mediaPlayer::MediaPlayerInterface::SourceId mediaSourceId, const avsCommon::utils::Optional< avsCommon::utils::mediaPlayer::MediaPlayerState > &mediaPlayerState, const std::vector< avsCommon::utils::audioAnalyzer::AudioAnalyzerState > &audioAnalyzerState)=0 |
Interface for observing a SpeechSynthesizer.
|
strong |
This is an enum class used to indicate the state of the SpeechSynthesizer
.
|
virtualdefault |
Destructor.
|
pure virtual |
Notification that the SpeechSynthesizer
state has changed. Callback functions must return as soon as possible.
state | The new state of the speechSynthesizer . |
mediaSourceId | The current media source id for SpeechSynthesizer |
mediaPlayerState | Optional state of the media player as of this state change. The Optional is blank if the state is unavailable. |
audioAnalyzerState | states of the audio analyzers related to the speech output. |
Implemented in alexaClientSDK::avsCommon::avs::DialogUXStateAggregator.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0