![]() |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TestSpeechSynthesizerObserver.h>
Additional Inherited Members | |
![]() | |
enum | SpeechSynthesizerState { SpeechSynthesizerState::PLAYING, SpeechSynthesizerState::FINISHED, SpeechSynthesizerState::INTERRUPTED, SpeechSynthesizerState::GAINING_FOCUS, SpeechSynthesizerState::LOSING_FOCUS } |
Interface for observing a SpeechSynthesizer.
alexaClientSDK::integration::test::TestSpeechSynthesizerObserver::TestSpeechSynthesizerObserver | ( | ) |
|
default |
bool alexaClientSDK::integration::test::TestSpeechSynthesizerObserver::checkState | ( | const avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface::SpeechSynthesizerState | expectedState, |
const std::chrono::seconds | duration | ||
) |
SpeechSynthesizerObserverInterface::SpeechSynthesizerState alexaClientSDK::integration::test::TestSpeechSynthesizerObserver::getCurrentState | ( | ) |
|
overridevirtual |
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. |
Implements alexaClientSDK::avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface.
SpeechSynthesizerObserverInterface::SpeechSynthesizerState alexaClientSDK::integration::test::TestSpeechSynthesizerObserver::waitForNext | ( | const std::chrono::seconds | duration | ) |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0