16 #ifndef ACSDKKWDPROVIDER_KWDPROVIDER_KEYWORDDETECTORPROVIDER_H_ 17 #define ACSDKKWDPROVIDER_KWDPROVIDER_KEYWORDDETECTORPROVIDER_H_ 21 #include <unordered_set> 50 static std::unique_ptr<acsdkKWDImplementations::AbstractKeywordDetector>
create(
51 std::shared_ptr<avsCommon::avs::AudioInputStream> stream,
53 std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::KeyWordObserverInterface>> keyWordObservers,
54 std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface>>
55 keyWordDetectorStateObservers);
58 using KWDCreateMethod = std::unique_ptr<acsdkKWDImplementations::AbstractKeywordDetector> (*)(
59 std::shared_ptr<avsCommon::avs::AudioInputStream> stream,
61 std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::KeyWordObserverInterface>> keyWordObservers,
62 std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface>>
63 keyWordDetectorStateObservers);
90 #endif // ACSDKKWDPROVIDER_KWDPROVIDER_KEYWORDDETECTORPROVIDER_H_ KWDRegistration(KWDCreateMethod createFunction)
Definition: KeywordDetectorProvider.h:68
static std::unique_ptr< acsdkKWDImplementations::AbstractKeywordDetector > create(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, avsCommon::utils::AudioFormat audioFormat, std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface >> keyWordObservers, std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface >> keyWordDetectorStateObservers)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: KeywordDetectorProvider.h:35
std::unique_ptr< acsdkKWDImplementations::AbstractKeywordDetector >(*)(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, avsCommon::utils::AudioFormat audioFormat, std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::KeyWordObserverInterface > > keyWordObservers, std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::KeyWordDetectorStateObserverInterface > > keyWordDetectorStateObservers) KWDCreateMethod
Definition: KeywordDetectorProvider.h:63