|
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ALEXA_CLIENT_SDK_SAMPLEAPP_INCLUDE_SAMPLEAPP_KEYWORDOBSERVER_H_
17 #define ALEXA_CLIENT_SDK_SAMPLEAPP_INCLUDE_SAMPLEAPP_KEYWORDOBSERVER_H_
44 static std::shared_ptr<KeywordObserver>
create(
45 std::shared_ptr<defaultClient::DefaultClient> client,
47 std::shared_ptr<acsdkKWDImplementations::AbstractKeywordDetector> keywordDetector);
56 std::shared_ptr<defaultClient::DefaultClient> client,
62 std::shared_ptr<avsCommon::avs::AudioInputStream> stream,
66 std::shared_ptr<
const std::vector<char>> KWDMetadata =
nullptr)
override;
71 std::shared_ptr<defaultClient::DefaultClient> m_client;
80 #endif // ALEXA_CLIENT_SDK_SAMPLEAPP_INCLUDE_SAMPLEAPP_KEYWORDOBSERVER_H_
Definition: KeywordObserver.h:33
Definition: KeyWordObserverInterface.h:32
static constexpr avs::AudioInputStream::Index UNSPECIFIED_INDEX
This represents when an index passed into the onKeyWordDetected() call should be ignored.
Definition: KeyWordObserverInterface.h:35
Index
Index used for setting access.
Definition: StateReportGeneratorTest.cpp:41
Definition: AudioProvider.h:31
void onKeyWordDetected(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, std::string keyword, avsCommon::avs::AudioInputStream::Index beginIndex=UNSPECIFIED_INDEX, avsCommon::avs::AudioInputStream::Index endIndex=UNSPECIFIED_INDEX, std::shared_ptr< const std::vector< char >> KWDMetadata=nullptr) override
Definition: KeywordObserver.cpp:104
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
static std::shared_ptr< KeywordObserver > create(std::shared_ptr< defaultClient::DefaultClient > client, capabilityAgents::aip::AudioProvider audioProvider, std::shared_ptr< acsdkKWDImplementations::AbstractKeywordDetector > keywordDetector)
Definition: KeywordObserver.cpp:34
KeywordObserver(std::shared_ptr< defaultClient::DefaultClient > client, capabilityAgents::aip::AudioProvider audioProvider)
Definition: KeywordObserver.cpp:46
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0