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::MockKeyWordObserver Class Reference

A test observer that mocks out the KeyWordObserverInterface#onKeyWordDetected() call. More...

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

Public Member Functions

 MOCK_METHOD5 (onKeyWordDetected, void(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, std::string keyword, avsCommon::avs::AudioInputStream::Index beginIndex, avsCommon::avs::AudioInputStream::Index endIndex, std::shared_ptr< const std::vector< char >> KWDMetadata))
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::KeyWordObserverInterface
virtual ~KeyWordObserverInterface ()=default
 
virtual void onKeyWordDetected (std::shared_ptr< avs::AudioInputStream > stream, std::string keyword, avs::AudioInputStream::Index beginIndex=UNSPECIFIED_INDEX, avs::AudioInputStream::Index endIndex=UNSPECIFIED_INDEX, std::shared_ptr< const std::vector< char >> KWDMetadata=nullptr)=0
 

Additional Inherited Members

- Static Public Attributes inherited from alexaClientSDK::avsCommon::sdkInterfaces::KeyWordObserverInterface
static constexpr avs::AudioInputStream::Index UNSPECIFIED_INDEX
 This represents when an index passed into the onKeyWordDetected() call should be ignored. More...
 

Detailed Description

A test observer that mocks out the KeyWordObserverInterface#onKeyWordDetected() call.

Member Function Documentation

◆ MOCK_METHOD5()

alexaClientSDK::acsdkKWDImplementations::test::MockKeyWordObserver::MOCK_METHOD5 ( onKeyWordDetected  ,
void(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, std::string keyword, avsCommon::avs::AudioInputStream::Index beginIndex, avsCommon::avs::AudioInputStream::Index endIndex, std::shared_ptr< const std::vector< char >> KWDMetadata)   
)

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