AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
A test observer that mocks out the KeyWordDetectorStateObserverInterface#onStateChanged() call. More...
Public Member Functions | |
testStateObserver () | |
void | onStateChanged (KeyWordDetectorStateObserverInterface::KeyWordDetectorState keyWordDetectorState) |
Implementation of the KeyWordDetectorStateObserverInterface#onStateChanged() call. More... | |
KeyWordDetectorStateObserverInterface::KeyWordDetectorState | waitForStateChange (std::chrono::milliseconds timeout, bool *stateChanged) |
Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface | |
virtual | ~KeyWordDetectorStateObserverInterface ()=default |
Additional Inherited Members | |
Public Types inherited from alexaClientSDK::avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface | |
enum | KeyWordDetectorState { KeyWordDetectorState::ACTIVE, KeyWordDetectorState::STREAM_CLOSED, KeyWordDetectorState::ERROR } |
A test observer that mocks out the KeyWordDetectorStateObserverInterface#onStateChanged() call.
|
inline |
Constructor.
|
inlinevirtual |
Implementation of the KeyWordDetectorStateObserverInterface#onStateChanged() call.
Implements alexaClientSDK::avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface.
|
inline |
Waits for the KeyWordDetectorStateObserverInterface#onStateChanged() call.
timeout | The amount of time to wait for the call. |
stateChanged | An output parameter that notifies the caller whether a call occurred. |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0