AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
PreviewAlexaClientComponent.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ACSDKPREVIEWALEXACLIENT_PREVIEWALEXACLIENTCOMPONENT_H_
17 #define ACSDKPREVIEWALEXACLIENT_PREVIEWALEXACLIENTCOMPONENT_H_
18 
19 #include <istream>
20 #include <memory>
21 #include <vector>
22 
60 #include <SampleApp/UIManager.h>
62 
63 #ifdef ANDROID_MEDIA_PLAYER
65 #endif
66 
67 namespace alexaClientSDK {
68 namespace acsdkPreviewAlexaClient {
69 
77 using PreviewAlexaClientComponent = acsdkManufactory::Component<
78  acsdkManufactory::
79  Annotated<avsCommon::sdkInterfaces::AudioFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface>,
80  acsdkManufactory::
81  Annotated<avsCommon::sdkInterfaces::VisualFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface>,
82  acsdkManufactory::Annotated<
84  avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface>,
85  std::shared_ptr<acsdkAlertsInterfaces::AlertsCapabilityAgentInterface>,
86  std::shared_ptr<acsdkApplicationAudioPipelineFactoryInterfaces::ApplicationAudioPipelineFactoryInterface>,
87  std::shared_ptr<acsdkAudioPlayerInterfaces::AudioPlayerInterface>,
88  std::shared_ptr<acsdkBluetoothInterfaces::BluetoothLocalInterface>,
89  std::shared_ptr<acsdkBluetoothInterfaces::BluetoothNotifierInterface>,
90  std::shared_ptr<acsdkDeviceSetupInterfaces::DeviceSetupInterface>,
91  std::shared_ptr<acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface>,
92  std::shared_ptr<acsdkExternalMediaPlayer::ExternalMediaPlayer>,
93  std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface>,
94  std::shared_ptr<acsdkInteractionModelInterfaces::InteractionModelNotifierInterface>,
95  std::shared_ptr<acsdkKWDImplementations::AbstractKeywordDetector>,
96  std::shared_ptr<acsdkNotificationsInterfaces::NotificationsNotifierInterface>,
97  std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownManagerInterface>,
98  std::shared_ptr<acsdkStartupManagerInterfaces::StartupManagerInterface>,
99  std::shared_ptr<acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface>,
100  std::shared_ptr<afml::interruptModel::InterruptModel>,
101  std::shared_ptr<avsCommon::avs::attachment::AttachmentManagerInterface>,
102  std::shared_ptr<avsCommon::avs::AudioInputStream>,
103  std::shared_ptr<avsCommon::avs::DialogUXStateAggregator>,
104  std::shared_ptr<avsCommon::avs::initialization::AlexaClientSDKInit>,
105  std::shared_ptr<avsCommon::sdkInterfaces::audio::AudioFactoryInterface>,
106  std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface>,
107  std::shared_ptr<avsCommon::sdkInterfaces::AVSConnectionManagerInterface>,
108  std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface>,
109  std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesDelegateInterface>,
110  std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface>,
111  std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface>,
112  std::shared_ptr<avsCommon::sdkInterfaces::DirectiveSequencerInterface>,
113  std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface>,
114  std::shared_ptr<avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface>,
115  std::shared_ptr<avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface>,
116  std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionMonitorInterface>,
117  std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>,
118  std::shared_ptr<avsCommon::sdkInterfaces::MessageSenderInterface>,
119  std::shared_ptr<avsCommon::sdkInterfaces::PlaybackRouterInterface>,
120  std::shared_ptr<avsCommon::sdkInterfaces::PowerResourceManagerInterface>,
121  std::shared_ptr<avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface>,
122  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerInterface>,
123  std::shared_ptr<avsCommon::sdkInterfaces::storage::MiscStorageInterface>,
124  std::shared_ptr<avsCommon::sdkInterfaces::SystemSoundPlayerInterface>,
125  std::shared_ptr<avsCommon::sdkInterfaces::SystemTimeZoneInterface>,
126  std::shared_ptr<avsCommon::sdkInterfaces::UserInactivityMonitorInterface>,
127  std::shared_ptr<avsCommon::utils::AudioFormat>,
128  std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>,
129  std::shared_ptr<avsCommon::utils::DeviceInfo>,
130  std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>,
131  std::shared_ptr<capabilityAgents::alexa::AlexaInterfaceMessageSender>,
132  std::shared_ptr<capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent>,
133  std::shared_ptr<captions::CaptionManagerInterface>,
134  std::shared_ptr<certifiedSender::CertifiedSender>,
135  std::shared_ptr<registrationManager::CustomerDataManagerInterface>,
136  std::shared_ptr<registrationManager::RegistrationManagerInterface>,
137  std::shared_ptr<registrationManager::RegistrationNotifierInterface>,
138  std::shared_ptr<sampleApp::UIManager>,
139  std::shared_ptr<settings::DeviceSettingsManager>,
140  std::shared_ptr<settings::storage::DeviceSettingStorageInterface>,
141  std::shared_ptr<speechencoder::SpeechEncoder>,
142  std::shared_ptr<acsdkCryptoInterfaces::CryptoFactoryInterface>,
143  std::shared_ptr<acsdkCryptoInterfaces::KeyStoreInterface>>;
144 
151  std::unique_ptr<avsCommon::avs::initialization::InitializationParameters> initParams,
152  const std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface>& diagnostics,
153  const std::shared_ptr<sampleApp::PlatformSpecificValues>& platformSpecificValues,
154  const std::shared_ptr<avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface>& expectSpeechTimeoutHandler,
155  const std::shared_ptr<avsCommon::sdkInterfaces::PowerResourceManagerInterface>& powerResourceManager);
156 
157 } // namespace acsdkPreviewAlexaClient
158 } // namespace alexaClientSDK
159 
160 #endif // ACSDKPREVIEWALEXACLIENT_PREVIEWALEXACLIENTCOMPONENT_H_
CertifiedSender.h
AlertsCapabilityAgentInterface.h
CryptoFactoryInterface.h
ExpectSpeechTimeoutHandlerInterface.h
FocusManagerInterface.h
AbstractKeywordDetector.h
SpeechEncoder.h
ApplicationAudioPipelineFactoryInterface.h
LocaleAssetsManagerInterface.h
DiagnosticsInterface.h
UIManager.h
Component.h
VisualFocusAnnotation.h
EqualizerRuntimeSetupInterface.h
BluetoothLocalInterface.h
KeyStoreInterface.h
AndroidSLESEngine.h
CustomerDataManagerInterface.h
CBLAuthDelegateStorageInterface.h
alexaClientSDK::acsdkPreviewAlexaClient::DefaultEndpointAnnotation
avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation DefaultEndpointAnnotation
Definition: PreviewAlexaClientComponent.cpp:91
InterruptModel.h
DeviceInfo.h
ShutdownManagerInterface.h
AVSConnectionManagerInterface.h
CBLAuthRequesterInterface.h
DeviceSetupInterface.h
EqualizerModeControllerInterface.h
BluetoothNotifierInterface.h
alexaClientSDK
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
InitializationParameters.h
AuthDelegateInterface.h
AlexaClientSDKInit.h
CapabilitiesDelegateInterface.h
ContextManagerInterface.h
ConfigurationNode.h
AudioFocusAnnotation.h
alexaClientSDK::acsdkManufactory::Component
Definition: Component.h:36
SystemClockMonitorInterface.h
alexaClientSDK::acsdkPreviewAlexaClient::PreviewAlexaClientComponent
acsdkManufactory::Component< acsdkManufactory::Annotated< avsCommon::sdkInterfaces::AudioFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface >, acsdkManufactory::Annotated< avsCommon::sdkInterfaces::VisualFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface >, acsdkManufactory::Annotated< avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation, avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface >, std::shared_ptr< acsdkAlertsInterfaces::AlertsCapabilityAgentInterface >, std::shared_ptr< acsdkApplicationAudioPipelineFactoryInterfaces::ApplicationAudioPipelineFactoryInterface >, std::shared_ptr< acsdkAudioPlayerInterfaces::AudioPlayerInterface >, std::shared_ptr< acsdkBluetoothInterfaces::BluetoothLocalInterface >, std::shared_ptr< acsdkBluetoothInterfaces::BluetoothNotifierInterface >, std::shared_ptr< acsdkDeviceSetupInterfaces::DeviceSetupInterface >, std::shared_ptr< acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface >, std::shared_ptr< acsdkExternalMediaPlayer::ExternalMediaPlayer >, std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface >, std::shared_ptr< acsdkInteractionModelInterfaces::InteractionModelNotifierInterface >, std::shared_ptr< acsdkKWDImplementations::AbstractKeywordDetector >, std::shared_ptr< acsdkNotificationsInterfaces::NotificationsNotifierInterface >, std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownManagerInterface >, std::shared_ptr< acsdkStartupManagerInterfaces::StartupManagerInterface >, std::shared_ptr< acsdkSystemClockMonitorInterfaces::SystemClockMonitorInterface >, std::shared_ptr< afml::interruptModel::InterruptModel >, std::shared_ptr< avsCommon::avs::attachment::AttachmentManagerInterface >, std::shared_ptr< avsCommon::avs::AudioInputStream >, std::shared_ptr< avsCommon::avs::DialogUXStateAggregator >, std::shared_ptr< avsCommon::avs::initialization::AlexaClientSDKInit >, std::shared_ptr< avsCommon::sdkInterfaces::audio::AudioFactoryInterface >, std::shared_ptr< avsCommon::sdkInterfaces::AuthDelegateInterface >, std::shared_ptr< avsCommon::sdkInterfaces::AVSConnectionManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::AVSGatewayManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::CapabilitiesDelegateInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::DirectiveSequencerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface >, std::shared_ptr< avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface >, std::shared_ptr< avsCommon::sdkInterfaces::InternetConnectionMonitorInterface >, std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::MessageSenderInterface >, std::shared_ptr< avsCommon::sdkInterfaces::PlaybackRouterInterface >, std::shared_ptr< avsCommon::sdkInterfaces::PowerResourceManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface >, std::shared_ptr< avsCommon::sdkInterfaces::SpeakerManagerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::storage::MiscStorageInterface >, std::shared_ptr< avsCommon::sdkInterfaces::SystemSoundPlayerInterface >, std::shared_ptr< avsCommon::sdkInterfaces::SystemTimeZoneInterface >, std::shared_ptr< avsCommon::sdkInterfaces::UserInactivityMonitorInterface >, std::shared_ptr< avsCommon::utils::AudioFormat >, std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode >, std::shared_ptr< avsCommon::utils::DeviceInfo >, std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface >, std::shared_ptr< capabilityAgents::alexa::AlexaInterfaceMessageSender >, std::shared_ptr< capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent >, std::shared_ptr< captions::CaptionManagerInterface >, std::shared_ptr< certifiedSender::CertifiedSender >, std::shared_ptr< registrationManager::CustomerDataManagerInterface >, std::shared_ptr< registrationManager::RegistrationManagerInterface >, std::shared_ptr< registrationManager::RegistrationNotifierInterface >, std::shared_ptr< sampleApp::UIManager >, std::shared_ptr< settings::DeviceSettingsManager >, std::shared_ptr< settings::storage::DeviceSettingStorageInterface >, std::shared_ptr< speechencoder::SpeechEncoder >, std::shared_ptr< acsdkCryptoInterfaces::CryptoFactoryInterface >, std::shared_ptr< acsdkCryptoInterfaces::KeyStoreInterface > > PreviewAlexaClientComponent
Definition: PreviewAlexaClientComponent.h:143
StartupManagerInterface.h
InteractionModelNotifierInterface.h
PlatformSpecificValues.h
ChannelVolumeFactoryInterface.h
alexaClientSDK::acsdkPreviewAlexaClient::getComponent
PreviewAlexaClientComponent getComponent(std::unique_ptr< avsCommon::avs::initialization::InitializationParameters > initParams, const std::shared_ptr< avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface > &diagnostics, const std::shared_ptr< sampleApp::PlatformSpecificValues > &platformSpecificValues, const std::shared_ptr< avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface > &expectSpeechTimeoutHandler, const std::shared_ptr< avsCommon::sdkInterfaces::PowerResourceManagerInterface > &powerResourceManager)
Definition: PreviewAlexaClientComponent.cpp:147
MediaPlayerFactoryInterface.h

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