AlexaClientSDK  1.24.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::kwd::test::KittAiKeyWordTest Class Reference
Inheritance diagram for alexaClientSDK::kwd::test::KittAiKeyWordTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::kwd::test::KittAiKeyWordTest:
Collaboration graph
[legend]

Protected Member Functions

std::vector< int16_t > readAudioFromFile (const std::string &fileName, bool *errorOccurred)
 
bool isResultPresent (std::vector< testKeyWordObserver::detectionResult > &results, AudioInputStream::Index expectedEndIndex, const std::string &expectedKeyword)
 
virtual void SetUp ()
 

Protected Attributes

std::shared_ptr< testKeyWordObserverkeyWordObserver1
 
std::shared_ptr< testKeyWordObserverkeyWordObserver2
 
std::shared_ptr< testStateObserverstateObserver
 
AudioFormat compatibleAudioFormat
 
KittAiKeyWordDetector::KittAiConfiguration config
 

Member Function Documentation

◆ isResultPresent()

bool alexaClientSDK::kwd::test::KittAiKeyWordTest::isResultPresent ( std::vector< testKeyWordObserver::detectionResult > &  results,
AudioInputStream::Index  expectedEndIndex,
const std::string &  expectedKeyword 
)
inlineprotected

◆ readAudioFromFile()

std::vector<int16_t> alexaClientSDK::kwd::test::KittAiKeyWordTest::readAudioFromFile ( const std::string &  fileName,
bool *  errorOccurred 
)
inlineprotected

◆ SetUp()

virtual void alexaClientSDK::kwd::test::KittAiKeyWordTest::SetUp ( )
inlineprotectedvirtual

Member Data Documentation

◆ compatibleAudioFormat

AudioFormat alexaClientSDK::kwd::test::KittAiKeyWordTest::compatibleAudioFormat
protected

◆ config

KittAiKeyWordDetector::KittAiConfiguration alexaClientSDK::kwd::test::KittAiKeyWordTest::config
protected

◆ keyWordObserver1

std::shared_ptr<testKeyWordObserver> alexaClientSDK::kwd::test::KittAiKeyWordTest::keyWordObserver1
protected

◆ keyWordObserver2

std::shared_ptr<testKeyWordObserver> alexaClientSDK::kwd::test::KittAiKeyWordTest::keyWordObserver2
protected

◆ stateObserver

std::shared_ptr<testStateObserver> alexaClientSDK::kwd::test::KittAiKeyWordTest::stateObserver
protected

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

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