AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkKWDImplementations::test::MockStateObserver Class Reference

A test observer that mocks out the KeyWordDetectorStateObserverInterface#onStateChanged() call. More...

Inheritance diagram for alexaClientSDK::acsdkKWDImplementations::test::MockStateObserver:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkKWDImplementations::test::MockStateObserver:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD1 (onStateChanged, void(avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface::KeyWordDetectorState keyWordDetectorState))
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface
virtual ~KeyWordDetectorStateObserverInterface ()=default
 
virtual void onStateChanged (KeyWordDetectorState keyWordDetectorState)=0
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface
enum  KeyWordDetectorState { KeyWordDetectorState::ACTIVE, KeyWordDetectorState::STREAM_CLOSED, KeyWordDetectorState::ERROR }
 

Detailed Description

A test observer that mocks out the KeyWordDetectorStateObserverInterface#onStateChanged() call.

Member Function Documentation

◆ MOCK_METHOD1()

alexaClientSDK::acsdkKWDImplementations::test::MockStateObserver::MOCK_METHOD1 ( onStateChanged  ,
void(avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface::KeyWordDetectorState keyWordDetectorState)   
)

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0