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

Mock class that implements the Observer. More...

#include <MockObserver.h>

Inheritance diagram for alexaClientSDK::capabilityAgents::aip::test::MockObserver:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::aip::test::MockObserver:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD1 (onStateChanged, void(avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface::State state))
 
 MOCK_METHOD1 (onASRProfileChanged, void(const std::string &profile))
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface
virtual ~AudioInputProcessorObserverInterface ()=default
 Destructor. More...
 
virtual void onStateChanged (State state)=0
 
virtual void onASRProfileChanged (const std::string &profile)
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface
enum  State { State::IDLE, State::EXPECTING_SPEECH, State::RECOGNIZING, State::BUSY }
 The different states the AudioInputProcessor can be in. More...
 
- Static Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface
static std::string stateToString (State state)
 

Detailed Description

Mock class that implements the Observer.

Member Function Documentation

◆ MOCK_METHOD1() [1/2]

alexaClientSDK::capabilityAgents::aip::test::MockObserver::MOCK_METHOD1 ( onStateChanged  ,
void(avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface::State state)   
)

◆ MOCK_METHOD1() [2/2]

alexaClientSDK::capabilityAgents::aip::test::MockObserver::MOCK_METHOD1 ( onASRProfileChanged  ,
void(const std::string &profile)   
)

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