AlexaClientSDK  1.22.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
DefaultClient.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 ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_DEFAULTCLIENT_H_
17 #define ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_DEFAULTCLIENT_H_
18 
24 #include <AFML/FocusManager.h>
27 #include <AIP/AudioProvider.h>
94 
95 #ifdef ENABLE_PCC
96 #include <AVSCommon/SDKInterfaces/Phone/PhoneCallerInterface.h>
97 #include <PhoneCallController/PhoneCallController.h>
98 #endif
99 
100 #ifdef ENABLE_MCC
101 #include <AVSCommon/SDKInterfaces/Calendar/CalendarClientInterface.h>
102 #include <AVSCommon/SDKInterfaces/Meeting/MeetingClientInterface.h>
103 #include <MeetingClientController/MeetingClientController.h>
104 #endif
105 
108 #include <Endpoints/Endpoint.h>
121 
122 #ifdef ENABLE_REVOKE_AUTH
124 #endif
125 
129 
130 namespace alexaClientSDK {
131 namespace defaultClient {
132 
138 public:
140  std::shared_ptr<acsdkAlerts::AlertsCapabilityAgent>,
141  std::shared_ptr<acsdkApplicationAudioPipelineFactoryInterfaces::ApplicationAudioPipelineFactoryInterface>,
142  std::shared_ptr<acsdkAudioPlayerInterfaces::AudioPlayerInterface>,
143  std::shared_ptr<acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface>,
144  std::shared_ptr<acsdkExternalMediaPlayer::ExternalMediaPlayer>,
145  std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface>,
146  std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownManagerInterface>,
147  std::shared_ptr<acsdkStartupManagerInterfaces::StartupManagerInterface>,
148  std::shared_ptr<afml::interruptModel::InterruptModel>,
149  std::shared_ptr<avsCommon::avs::attachment::AttachmentManagerInterface>,
150  std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface>,
151  std::shared_ptr<avsCommon::sdkInterfaces::AVSConnectionManagerInterface>,
152  std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface>,
153  std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesDelegateInterface>,
154  std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface>,
155  std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface>,
156  std::shared_ptr<avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface>,
157  std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface>,
158  acsdkManufactory::
159  Annotated<avsCommon::sdkInterfaces::AudioFocusAnnotation, avsCommon::sdkInterfaces::FocusManagerInterface>,
160  std::shared_ptr<avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface>,
161  std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionMonitorInterface>,
162  std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>,
163  std::shared_ptr<avsCommon::sdkInterfaces::PlaybackRouterInterface>,
164  std::shared_ptr<avsCommon::sdkInterfaces::PowerResourceManagerInterface>,
165  std::shared_ptr<avsCommon::sdkInterfaces::RenderPlayerInfoCardsProviderRegistrarInterface>,
166  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerInterface>,
167  std::shared_ptr<avsCommon::sdkInterfaces::SystemTimeZoneInterface>,
168  std::shared_ptr<avsCommon::sdkInterfaces::audio::AudioFactoryInterface>,
172  std::shared_ptr<avsCommon::sdkInterfaces::storage::MiscStorageInterface>,
173  std::shared_ptr<avsCommon::utils::DeviceInfo>,
174  std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>,
175  std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>,
176  std::shared_ptr<avsCommon::utils::timing::SystemClockMonitor>,
177  std::shared_ptr<capabilityAgents::alexa::AlexaInterfaceMessageSender>,
178  std::shared_ptr<capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent>,
179  std::shared_ptr<captions::CaptionManagerInterface>,
180  std::shared_ptr<certifiedSender::CertifiedSender>,
181  std::shared_ptr<registrationManager::CustomerDataManager>,
182  std::shared_ptr<settings::DeviceSettingsManager>,
183  std::shared_ptr<settings::storage::DeviceSettingStorageInterface>>;
184 
229  static std::unique_ptr<DefaultClient> create(
230  const std::shared_ptr<DefaultClientManufactory>& manufactory,
231  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> bluetoothMediaPlayer,
232  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> ringtoneMediaPlayer,
233  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> systemSoundMediaPlayer,
234  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> bluetoothSpeaker,
235  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> ringtoneSpeaker,
236  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> systemSoundSpeaker,
237  const std::multimap<
239  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface>> additionalSpeakers,
240 #ifdef ENABLE_PCC
241  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> phoneSpeaker,
242  std::shared_ptr<avsCommon::sdkInterfaces::phone::PhoneCallerInterface> phoneCaller,
243 #endif
244 #ifdef ENABLE_MCC
245  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> meetingSpeaker,
246  std::shared_ptr<avsCommon::sdkInterfaces::meeting::MeetingClientInterface> meetingClient,
247  std::shared_ptr<avsCommon::sdkInterfaces::calendar::CalendarClientInterface> calendarClient,
248 #endif
249 #ifdef ENABLE_COMMS_AUDIO_PROXY
250  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> commsMediaPlayer,
251  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> commsSpeaker,
252  std::shared_ptr<alexaClientSDK::avsCommon::avs::AudioInputStream> sharedDataStream,
253 #endif
254  std::shared_ptr<acsdkNotificationsInterfaces::NotificationsStorageInterface> notificationsStorage,
255  std::shared_ptr<acsdkBluetooth::BluetoothStorageInterface> bluetoothStorage,
256  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::DialogUXStateObserverInterface>>
257  alexaDialogStateObservers,
258  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::ConnectionStatusObserverInterface>>
259  connectionObservers,
260  bool isGuiSupported,
261  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface>>
262  enabledConnectionRules = std::unordered_set<
263  std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface>>(),
266  bool sendSoftwareInfoOnConnected = false,
267  std::shared_ptr<avsCommon::sdkInterfaces::SoftwareInfoSenderObserverInterface> softwareInfoSenderObserver =
268  nullptr,
269  std::unique_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface> bluetoothDeviceManager =
270  nullptr,
271  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface> diagnostics = nullptr,
272  const std::shared_ptr<ExternalCapabilitiesBuilderInterface>& externalCapabilitiesBuilder = nullptr,
273  capabilityAgents::aip::AudioProvider firstInteractionAudioProvider =
275 
352  static std::unique_ptr<DefaultClient> create(
353  std::shared_ptr<avsCommon::utils::DeviceInfo> deviceInfo,
354  std::shared_ptr<registrationManager::CustomerDataManager> customerDataManager,
355  const std::unordered_map<std::string, std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface>>&
356  externalMusicProviderMediaPlayers,
357  const std::unordered_map<std::string, std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface>>&
358  externalMusicProviderSpeakers,
360  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> speakMediaPlayer,
361  std::unique_ptr<avsCommon::utils::mediaPlayer::MediaPlayerFactoryInterface> audioMediaPlayerFactory,
362  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> alertsMediaPlayer,
363  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> notificationsMediaPlayer,
364  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> bluetoothMediaPlayer,
365  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> ringtoneMediaPlayer,
366  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> systemSoundMediaPlayer,
367  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> speakSpeaker,
368  std::vector<std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface>> audioSpeakers,
369  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> alertsSpeaker,
370  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> notificationsSpeaker,
371  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> bluetoothSpeaker,
372  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> ringtoneSpeaker,
373  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> systemSoundSpeaker,
374  const std::multimap<
376  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface>> additionalSpeakers,
377 #ifdef ENABLE_PCC
378  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> phoneSpeaker,
379  std::shared_ptr<avsCommon::sdkInterfaces::phone::PhoneCallerInterface> phoneCaller,
380 #endif
381 #ifdef ENABLE_MCC
382  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> meetingSpeaker,
383  std::shared_ptr<avsCommon::sdkInterfaces::meeting::MeetingClientInterface> meetingClient,
384  std::shared_ptr<avsCommon::sdkInterfaces::calendar::CalendarClientInterface> calendarClient,
385 #endif
386 #ifdef ENABLE_COMMS_AUDIO_PROXY
387  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> commsMediaPlayer,
388  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> commsSpeaker,
389  std::shared_ptr<alexaClientSDK::avsCommon::avs::AudioInputStream> sharedDataStream,
390 #endif
391  std::shared_ptr<EqualizerRuntimeSetup> equalizerRuntimeSetup,
392  std::shared_ptr<avsCommon::sdkInterfaces::audio::AudioFactoryInterface> audioFactory,
393  std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface> authDelegate,
394  std::shared_ptr<acsdkAlerts::storage::AlertStorageInterface> alertStorage,
395  std::shared_ptr<certifiedSender::MessageStorageInterface> messageStorage,
396  std::shared_ptr<acsdkNotificationsInterfaces::NotificationsStorageInterface> notificationsStorage,
397  std::unique_ptr<settings::storage::DeviceSettingStorageInterface> deviceSettingStorage,
398  std::shared_ptr<acsdkBluetooth::BluetoothStorageInterface> bluetoothStorage,
399  std::shared_ptr<avsCommon::sdkInterfaces::storage::MiscStorageInterface> miscStorage,
400  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::DialogUXStateObserverInterface>>
401  alexaDialogStateObservers,
402  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::ConnectionStatusObserverInterface>>
403  connectionObservers,
404  std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionMonitorInterface> internetConnectionMonitor,
405  bool isGuiSupported,
406  std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesDelegateInterface> capabilitiesDelegate,
407  std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface> contextManager,
408  std::shared_ptr<alexaClientSDK::acl::TransportFactoryInterface> transportFactory,
409  std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface> avsGatewayManager,
410  std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface> localeAssetsManager,
411  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface>>
412  enabledConnectionRules = std::unordered_set<
413  std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface>>(),
414  std::shared_ptr<avsCommon::sdkInterfaces::SystemTimeZoneInterface> systemTimezone = nullptr,
417  bool sendSoftwareInfoOnConnected = false,
418  std::shared_ptr<avsCommon::sdkInterfaces::SoftwareInfoSenderObserverInterface> softwareInfoSenderObserver =
419  nullptr,
420  std::unique_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface> bluetoothDeviceManager =
421  nullptr,
422  std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface> metricRecorder = nullptr,
423  std::shared_ptr<avsCommon::sdkInterfaces::PowerResourceManagerInterface> powerResourceManager = nullptr,
424  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface> diagnostics = nullptr,
425  const std::shared_ptr<ExternalCapabilitiesBuilderInterface>& externalCapabilitiesBuilder = nullptr,
426  std::shared_ptr<avsCommon::sdkInterfaces::ChannelVolumeFactoryInterface> channelVolumeFactory =
427  std::make_shared<alexaClientSDK::capabilityAgents::speakerManager::DefaultChannelVolumeFactory>(),
428  bool startAlertSchedulingOnInitialization = true,
429  std::shared_ptr<alexaClientSDK::acl::MessageRouterFactoryInterface> messageRouterFactory =
430  std::make_shared<alexaClientSDK::acl::MessageRouterFactory>(),
431  const std::shared_ptr<avsCommon::sdkInterfaces::ExpectSpeechTimeoutHandlerInterface>&
432  expectSpeechTimeoutHandler = nullptr,
433  capabilityAgents::aip::AudioProvider firstInteractionAudioProvider =
435 
444  void connect(bool performReset = true);
445 
450  void disconnect();
451 
457  std::string getAVSGateway();
458 
463  void stopForegroundActivity();
464 
470  void stopAllActivities();
471 
476  void localStopActiveAlert();
477 
484  std::shared_ptr<avsCommon::sdkInterfaces::DialogUXStateObserverInterface> observer);
485 
496  std::shared_ptr<avsCommon::sdkInterfaces::DialogUXStateObserverInterface> observer);
497 
503  void addMessageObserver(std::shared_ptr<avsCommon::sdkInterfaces::MessageObserverInterface> observer);
504 
510  void removeMessageObserver(std::shared_ptr<avsCommon::sdkInterfaces::MessageObserverInterface> observer);
511 
517  void addConnectionObserver(std::shared_ptr<avsCommon::sdkInterfaces::ConnectionStatusObserverInterface> observer);
518 
525  std::shared_ptr<avsCommon::sdkInterfaces::ConnectionStatusObserverInterface> observer);
526 
533  std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionObserverInterface> observer);
534 
541  std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionObserverInterface> observer);
542 
548  void addAlertsObserver(std::shared_ptr<acsdkAlertsInterfaces::AlertObserverInterface> observer);
549 
555  void removeAlertsObserver(std::shared_ptr<acsdkAlertsInterfaces::AlertObserverInterface> observer);
556 
563  void addAudioPlayerObserver(std::shared_ptr<acsdkAudioPlayerInterfaces::AudioPlayerObserverInterface> observer);
564 
570  void removeAudioPlayerObserver(std::shared_ptr<acsdkAudioPlayerInterfaces::AudioPlayerObserverInterface> observer);
571 
578  std::shared_ptr<avsCommon::sdkInterfaces::TemplateRuntimeObserverInterface> observer);
579 
586  std::shared_ptr<avsCommon::sdkInterfaces::TemplateRuntimeObserverInterface> observer);
587 
592 
599  std::shared_ptr<acsdkNotificationsInterfaces::NotificationsObserverInterface> observer);
600 
607  std::shared_ptr<acsdkNotificationsInterfaces::NotificationsObserverInterface> observer);
608 
615  std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerObserverInterface> observer);
616 
623  std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerObserverInterface> observer);
624 
631  std::shared_ptr<acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface> observer);
632 
639  std::shared_ptr<acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface> observer);
640 
648  void addCaptionPresenter(std::shared_ptr<captions::CaptionPresenterInterface> presenter);
649 
659  const std::vector<std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface>>& mediaPlayers);
660 
661  /*
662  * Get a reference to the PlaybackRouter
663  *
664  * @return shared_ptr to the PlaybackRouter.
665  */
666  std::shared_ptr<avsCommon::sdkInterfaces::PlaybackRouterInterface> getPlaybackRouter() const;
667 
673  void addSpeakerManagerObserver(std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerObserverInterface> observer);
674 
681  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerObserverInterface> observer);
682 
688  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerInterface> getSpeakerManager();
689 
695  std::shared_ptr<avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface> observer);
696 
702  std::shared_ptr<avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface> observer);
703 
709  std::shared_ptr<registrationManager::RegistrationManager> getRegistrationManager();
710 
711 #ifdef ENABLE_REVOKE_AUTH
712 
717  void addRevokeAuthorizationObserver(
718  std::shared_ptr<avsCommon::sdkInterfaces::RevokeAuthorizationObserverInterface> observer);
719 
725  void removeRevokeAuthorizationObserver(
726  std::shared_ptr<avsCommon::sdkInterfaces::RevokeAuthorizationObserverInterface> observer);
727 #endif
728 
736  std::shared_ptr<acsdkEqualizer::EqualizerController> getEqualizerController();
737 
744  std::shared_ptr<acsdkEqualizerInterfaces::EqualizerControllerListenerInterface> listener);
745 
752  std::shared_ptr<acsdkEqualizerInterfaces::EqualizerControllerListenerInterface> listener);
753 
759  void addContextManagerObserver(std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerObserverInterface> observer);
760 
767  std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerObserverInterface> observer);
768 
776 
779  std::future<bool> notifyOfWakeWord(
780  capabilityAgents::aip::AudioProvider wakeWordAudioProvider,
783  std::string keyword,
784  std::chrono::steady_clock::time_point startOfSpeechTimestamp,
785  std::shared_ptr<const std::vector<char>> KWDMetadata = nullptr) override;
786 
787  std::future<bool> notifyOfTapToTalk(
788  capabilityAgents::aip::AudioProvider tapToTalkAudioProvider,
790  std::chrono::steady_clock::time_point startOfSpeechTimestamp = std::chrono::steady_clock::now()) override;
791 
792  std::future<bool> notifyOfHoldToTalkStart(
793  capabilityAgents::aip::AudioProvider holdToTalkAudioProvider,
794  std::chrono::steady_clock::time_point startOfSpeechTimestamp = std::chrono::steady_clock::now(),
797 
798  std::future<bool> notifyOfHoldToTalkEnd() override;
799 
800  std::future<bool> notifyOfTapToTalkEnd() override;
802 
808  std::shared_ptr<settings::DeviceSettingsManager> getSettingsManager();
809 
817  std::shared_ptr<avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface> createEndpointBuilder();
818 
825  std::future<endpoints::EndpointRegistrationManager::RegistrationResult> registerEndpoint(
826  std::shared_ptr<avsCommon::sdkInterfaces::endpoints::EndpointInterface> endpoint);
827 
834  std::future<endpoints::EndpointRegistrationManager::DeregistrationResult> deregisterEndpoint(
836 
846  std::shared_ptr<avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface> getDefaultEndpointBuilder();
847 
854  const std::shared_ptr<avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface>& observer);
855 
862  const std::shared_ptr<avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface>& observer);
863 
869  void addCallStateObserver(std::shared_ptr<avsCommon::sdkInterfaces::CallStateObserverInterface> observer);
870 
876  void removeCallStateObserver(std::shared_ptr<avsCommon::sdkInterfaces::CallStateObserverInterface> observer);
877 
883  bool isCommsEnabled();
884 
888  void acceptCommsCall();
889 
896 
900  void stopCommsCall();
901 
905  void audioPlayerLocalStop();
906 
912  bool isCommsCallMuted();
913 
917  void muteCommsCall();
918 
922  void unmuteCommsCall();
923 
924  /*
925  * To be called when system clock is synchronized.
926  */
928 
936  std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface>
937  externalMediaPlayerAdapterHandler);
938 
946  std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownManagerInterface> getShutdownManager();
947 
951  ~DefaultClient();
952 
953 private:
983  bool initialize(
984  const std::shared_ptr<DefaultClientManufactory>& manufactory,
985  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> bluetoothMediaPlayer,
986  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> ringtoneMediaPlayer,
987  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> systemSoundMediaPlayer,
988  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> bluetoothSpeaker,
989  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> ringtoneSpeaker,
990  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> systemSoundSpeaker,
991  const std::multimap<
993  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface>> additionalSpeakers,
994 #ifdef ENABLE_PCC
995  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> phoneSpeaker,
996  std::shared_ptr<avsCommon::sdkInterfaces::phone::PhoneCallerInterface> phoneCaller,
997 #endif
998 #ifdef ENABLE_MCC
999  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> meetingSpeaker,
1000  std::shared_ptr<avsCommon::sdkInterfaces::meeting::MeetingClientInterface> meetingClient,
1001  std::shared_ptr<avsCommon::sdkInterfaces::calendar::CalendarClientInterface> calendarClient,
1002 #endif
1003 #ifdef ENABLE_COMMS_AUDIO_PROXY
1004  std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> commsMediaPlayer,
1005  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerInterface> commsSpeaker,
1006  std::shared_ptr<alexaClientSDK::avsCommon::avs::AudioInputStream> sharedDataStream,
1007 #endif
1008  std::shared_ptr<acsdkNotificationsInterfaces::NotificationsStorageInterface> notificationsStorage,
1009  std::shared_ptr<acsdkBluetooth::BluetoothStorageInterface> bluetoothStorage,
1010  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::DialogUXStateObserverInterface>>
1011  alexaDialogStateObservers,
1012  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::ConnectionStatusObserverInterface>>
1013  connectionObservers,
1014  bool isGuiSupported,
1015  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface>>
1016  enabledConnectionRules,
1018  bool sendSoftwareInfoOnConnected,
1019  std::shared_ptr<avsCommon::sdkInterfaces::SoftwareInfoSenderObserverInterface> softwareInfoSenderObserver,
1020  std::unique_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface> bluetoothDeviceManager,
1021  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface> diagnostics,
1022  const std::shared_ptr<ExternalCapabilitiesBuilderInterface>& externalCapabilitiesBuilder,
1023  capabilityAgents::aip::AudioProvider firstInteractionAudioProvider);
1024 
1026  std::shared_ptr<avsCommon::sdkInterfaces::DirectiveSequencerInterface> m_directiveSequencer;
1027 
1029  std::shared_ptr<avsCommon::sdkInterfaces::FocusManagerInterface> m_audioFocusManager;
1030 
1032  std::shared_ptr<afml::FocusManager> m_visualFocusManager;
1033 
1035  std::shared_ptr<afml::VisualActivityTracker> m_visualActivityTracker;
1036 
1038  std::shared_ptr<acl::MessageRouterInterface> m_messageRouter;
1039 
1041  std::shared_ptr<acl::AVSConnectionManagerInterface> m_connectionManager;
1042 
1043  std::shared_ptr<avsCommon::sdkInterfaces::InternetConnectionMonitorInterface> m_internetConnectionMonitor;
1044 
1046  std::shared_ptr<captions::CaptionManagerInterface> m_captionManager;
1047 
1049  std::shared_ptr<avsCommon::sdkInterfaces::ExceptionEncounteredSenderInterface> m_exceptionSender;
1050 
1052  std::shared_ptr<certifiedSender::CertifiedSender> m_certifiedSender;
1053 
1055  std::shared_ptr<capabilityAgents::aip::AudioInputProcessor> m_audioInputProcessor;
1056 
1058  std::shared_ptr<capabilityAgents::speechSynthesizer::SpeechSynthesizer> m_speechSynthesizer;
1059 
1061  std::shared_ptr<acsdkAudioPlayerInterfaces::AudioPlayerInterface> m_audioPlayer;
1062 
1064  std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface> m_externalMediaPlayer;
1065 
1067  std::shared_ptr<capabilityAgents::alexa::AlexaInterfaceMessageSender> m_alexaMessageSender;
1068 
1070  std::shared_ptr<capabilityAgents::apiGateway::ApiGatewayCapabilityAgent> m_apiGatewayCapabilityAgent;
1071 
1073  std::shared_ptr<acsdkAlerts::AlertsCapabilityAgent> m_alertsCapabilityAgent;
1074 
1076  std::shared_ptr<acsdkBluetooth::Bluetooth> m_bluetooth;
1077 
1079  std::shared_ptr<capabilityAgents::interactionModel::InteractionModelCapabilityAgent> m_interactionCapabilityAgent;
1080 
1082  std::shared_ptr<acsdkNotifications::NotificationRenderer> m_notificationsRenderer;
1083 
1085  std::shared_ptr<acsdkNotifications::NotificationsCapabilityAgent> m_notificationsCapabilityAgent;
1086 
1088  std::shared_ptr<capabilityAgents::system::UserInactivityMonitor> m_userInactivityMonitor;
1089 
1090 #ifdef ENABLE_PCC
1091  std::shared_ptr<capabilityAgents::phoneCallController::PhoneCallController> m_phoneCallControllerCapabilityAgent;
1093 #endif
1094 
1095 #ifdef ENABLE_MCC
1096  std::shared_ptr<capabilityAgents::meetingClientController::MeetingClientController>
1098  m_meetingClientControllerCapabilityAgent;
1099 #endif
1100 
1102  std::shared_ptr<avsCommon::sdkInterfaces::CallManagerInterface> m_callManager;
1103 
1105  std::shared_ptr<avsCommon::avs::DialogUXStateAggregator> m_dialogUXStateAggregator;
1106 
1108  std::shared_ptr<avsCommon::sdkInterfaces::PlaybackRouterInterface> m_playbackRouter;
1109 
1111  std::shared_ptr<avsCommon::sdkInterfaces::SpeakerManagerInterface> m_speakerManager;
1112 
1114  std::shared_ptr<capabilityAgents::templateRuntime::TemplateRuntime> m_templateRuntime;
1115 
1117  std::shared_ptr<acsdkEqualizer::EqualizerCapabilityAgent> m_equalizerCapabilityAgent;
1118 
1120  std::shared_ptr<acsdkEqualizer::EqualizerController> m_equalizerController;
1121 
1123  std::shared_ptr<acsdkEqualizerInterfaces::EqualizerRuntimeSetupInterface> m_equalizerRuntimeSetup;
1124 
1126  std::mutex m_softwareInfoSenderMutex;
1127 
1129  std::shared_ptr<capabilityAgents::system::SoftwareInfoSender> m_softwareInfoSender;
1130 
1131 #ifdef ENABLE_REVOKE_AUTH
1132  std::shared_ptr<capabilityAgents::system::RevokeAuthorizationHandler> m_revokeAuthorizationHandler;
1134 #endif
1135 
1137  std::shared_ptr<avsCommon::sdkInterfaces::AuthDelegateInterface> m_authDelegate;
1138 
1140  std::shared_ptr<registrationManager::RegistrationManager> m_registrationManager;
1141 
1143  std::shared_ptr<avsCommon::sdkInterfaces::SystemSoundPlayerInterface> m_systemSoundPlayer;
1144 
1146  std::shared_ptr<settings::DeviceSettingsManager> m_deviceSettingsManager;
1147 
1149  std::shared_ptr<avsCommon::utils::DeviceInfo> m_deviceInfo;
1150 
1152  std::shared_ptr<avsCommon::sdkInterfaces::ContextManagerInterface> m_contextManager;
1153 
1155  std::shared_ptr<endpoints::EndpointRegistrationManager> m_endpointRegistrationManager;
1156 
1158  std::shared_ptr<avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface> m_defaultEndpointBuilder;
1159 
1161  std::shared_ptr<avsCommon::sdkInterfaces::AVSGatewayManagerInterface> m_avsGatewayManager;
1162 
1164  std::shared_ptr<avsCommon::sdkInterfaces::CapabilitiesDelegateInterface> m_capabilitiesDelegate;
1165 
1167  std::shared_ptr<avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface> m_diagnostics;
1168 
1170  std::shared_ptr<avsCommon::utils::timing::SystemClockMonitor> m_systemClockMonitor;
1171 
1173  std::list<std::shared_ptr<avsCommon::utils::RequiresShutdown>> m_shutdownObjects;
1174 
1176  std::shared_ptr<ConnectionRetryTrigger> m_connectionRetryTrigger;
1177 
1179  std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::SoftwareInfoSenderObserverInterface>>
1180  m_softwareInfoSenderObservers;
1181 
1183  std::shared_ptr<capabilityAgents::softwareComponentReporter::SoftwareComponentReporterCapabilityAgent>
1184  m_softwareReporterCapabilityAgent;
1185 
1187  std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownManagerInterface> m_shutdownManager;
1188 };
1189 
1190 } // namespace defaultClient
1191 } // namespace alexaClientSDK
1192 
1193 #endif // ALEXA_CLIENT_SDK_APPLICATIONUTILITIES_DEFAULTCLIENT_INCLUDE_DEFAULTCLIENT_DEFAULTCLIENT_H_
AudioPlayerObserverInterface.h
CertifiedSender.h
alexaClientSDK::defaultClient::DefaultClient::notifyOfHoldToTalkStart
std::future< bool > notifyOfHoldToTalkStart(capabilityAgents::aip::AudioProvider holdToTalkAudioProvider, std::chrono::steady_clock::time_point startOfSpeechTimestamp=std::chrono::steady_clock::now(), avsCommon::avs::AudioInputStream::Index beginIndex=capabilityAgents::aip::AudioInputProcessor::INVALID_INDEX) override
Definition: DefaultClient.cpp:1644
SQLiteMessageStorage.h
alexaClientSDK::capabilityAgents::aip::AudioInputProcessor::INVALID_INDEX
static const auto INVALID_INDEX
A reserved Index value which is considered invalid.
Definition: AudioInputProcessor.h:110
alexaClientSDK::defaultClient::DefaultClient::removeAlexaDialogStateObserver
void removeAlexaDialogStateObserver(std::shared_ptr< avsCommon::sdkInterfaces::DialogUXStateObserverInterface > observer)
Definition: DefaultClient.cpp:1356
AlexaInterfaceCapabilityAgent.h
AVSGatewayManagerInterface.h
alexaClientSDK::defaultClient::DefaultClient::registerEndpoint
std::future< endpoints::EndpointRegistrationManager::RegistrationResult > registerEndpoint(std::shared_ptr< avsCommon::sdkInterfaces::endpoints::EndpointInterface > endpoint)
Definition: DefaultClient.cpp:1694
AlertsCapabilityAgent.h
CallManagerInterface.h
ExpectSpeechTimeoutHandlerInterface.h
EndpointIdentifier.h
RegistrationManager.h
SoftwareComponentReporterCapabilityAgent.h
SystemTimeZoneInterface.h
alexaClientSDK::defaultClient::DefaultClient::getDefaultEndpointBuilder
std::shared_ptr< avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface > getDefaultEndpointBuilder()
Definition: DefaultClient.cpp:1690
alexaClientSDK::defaultClient::DefaultClient::notifyOfTapToTalkEnd
std::future< bool > notifyOfTapToTalkEnd() override
Definition: DefaultClient.cpp:1657
alexaClientSDK::defaultClient::DefaultClient::isCommsEnabled
bool isCommsEnabled()
Definition: DefaultClient.cpp:1718
ConnectionRetryTrigger.h
SpeechSynthesizer.h
alexaClientSDK::defaultClient::DefaultClient::getAVSGateway
std::string getAVSGateway()
Definition: DefaultClient.cpp:1335
CaptionManagerInterface.h
alexaClientSDK::defaultClient::DefaultClient::addNotificationsObserver
void addNotificationsObserver(std::shared_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > observer)
Definition: DefaultClient.cpp:1434
ApplicationAudioPipelineFactoryInterface.h
AlertStorageInterface.h
LocaleAssetsManagerInterface.h
ExceptionEncounteredSender.h
DialogUXStateAggregator.h
alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface
Definition: EndpointBuilderInterface.h:66
alexaClientSDK::defaultClient::DefaultClient::removeAudioInputProcessorObserver
void removeAudioInputProcessorObserver(const std::shared_ptr< avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface > &observer)
Definition: DefaultClient.cpp:1666
DiagnosticsInterface.h
ExternalMediaAdapterHandlerInterface.h
alexaClientSDK::defaultClient::DefaultClient::addAudioPlayerObserver
void addAudioPlayerObserver(std::shared_ptr< acsdkAudioPlayerInterfaces::AudioPlayerObserverInterface > observer)
Definition: DefaultClient.cpp:1398
UserInactivityMonitor.h
alexaClientSDK::capabilityAgents::system::Index
Index
Index used for setting access.
Definition: StateReportGeneratorTest.cpp:41
alexaClientSDK::acsdkManufactory::Manufactory
Definition: Manufactory.h:33
alexaClientSDK::acsdkExternalMediaPlayer::ExternalMediaPlayer::AdapterCreationMap
std::unordered_map< std::string, AdapterCreateFunction > AdapterCreationMap
Definition: ExternalMediaPlayer.h:106
EqualizerRuntimeSetupInterface.h
MiscStorageInterface.h
alexaClientSDK::defaultClient::DefaultClient::~DefaultClient
~DefaultClient()
Definition: DefaultClient.cpp:1781
Endpoint.h
alexaClientSDK::capabilityAgents::aip::AudioProvider
Definition: AudioProvider.h:31
alexaClientSDK::defaultClient::DefaultClient::onSystemClockSynchronized
void onSystemClockSynchronized()
Definition: DefaultClient.cpp:1765
Renderer.h
RevokeAuthorizationHandler.h
alexaClientSDK::defaultClient::DefaultClient::getSpeakerManager
std::shared_ptr< avsCommon::sdkInterfaces::SpeakerManagerInterface > getSpeakerManager()
Definition: DefaultClient.cpp:1558
alexaClientSDK::defaultClient::DefaultClient::removeContextManagerObserver
void removeContextManagerObserver(std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerObserverInterface > observer)
Definition: DefaultClient.cpp:1541
PowerResourceManagerInterface.h
alexaClientSDK::defaultClient::DefaultClient::setCaptionMediaPlayers
void setCaptionMediaPlayers(const std::vector< std::shared_ptr< avsCommon::utils::mediaPlayer::MediaPlayerInterface >> &mediaPlayers)
Definition: DefaultClient.cpp:1460
alexaClientSDK::defaultClient::DefaultClient::removeAlertsObserver
void removeAlertsObserver(std::shared_ptr< acsdkAlertsInterfaces::AlertObserverInterface > observer)
Definition: DefaultClient.cpp:1394
DeviceSettingStorageInterface.h
alexaClientSDK::defaultClient::DefaultClient::getEqualizerController
std::shared_ptr< acsdkEqualizer::EqualizerController > getEqualizerController()
Definition: DefaultClient.cpp:1516
alexaClientSDK::defaultClient::DefaultClient::addExternalMediaPlayerObserver
void addExternalMediaPlayerObserver(std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerObserverInterface > observer)
Definition: DefaultClient.cpp:1444
alexaClientSDK::defaultClient::DefaultClient
Definition: DefaultClient.h:137
alexaClientSDK::acsdkPreviewAlexaClient::DefaultEndpointAnnotation
avsCommon::sdkInterfaces::endpoints::DefaultEndpointAnnotation DefaultEndpointAnnotation
Definition: PreviewAlexaClientComponent.cpp:76
EqualizerConfigurationInterface.h
alexaClientSDK::avsCommon::sdkInterfaces::SpeechInteractionHandlerInterface
Definition: SpeechInteractionHandlerInterface.h:36
alexaClientSDK::defaultClient::DefaultClient::stopCommsCall
void stopCommsCall()
Definition: DefaultClient.cpp:1734
DoNotDisturbCapabilityAgent.h
MetricRecorderInterface.h
DeviceInfo.h
EqualizerRuntimeSetup.h
SpeakerManager.h
ShutdownManagerInterface.h
CaptionPresenterInterface.h
AVSDiscoveryEndpointAttributes.h
MessageRouter.h
InternetConnectionMonitorInterface.h
SoftwareInfoSender.h
alexaClientSDK::defaultClient::DefaultClient::notifyOfTapToTalk
std::future< bool > notifyOfTapToTalk(capabilityAgents::aip::AudioProvider tapToTalkAudioProvider, avsCommon::avs::AudioInputStream::Index beginIndex=capabilityAgents::aip::AudioInputProcessor::INVALID_INDEX, std::chrono::steady_clock::time_point startOfSpeechTimestamp=std::chrono::steady_clock::now()) override
Definition: DefaultClient.cpp:1635
alexaClientSDK::defaultClient::DefaultClient::removeMessageObserver
void removeMessageObserver(std::shared_ptr< avsCommon::sdkInterfaces::MessageObserverInterface > observer)
Definition: DefaultClient.cpp:1365
alexaClientSDK::defaultClient::DefaultClient::acceptCommsCall
void acceptCommsCall()
Definition: DefaultClient.cpp:1722
AVSConnectionManagerInterface.h
alexaClientSDK::defaultClient::DefaultClient::addAlertsObserver
void addAlertsObserver(std::shared_ptr< acsdkAlertsInterfaces::AlertObserverInterface > observer)
Definition: DefaultClient.cpp:1390
alexaClientSDK::defaultClient::DefaultClient::removeAudioPlayerObserver
void removeAudioPlayerObserver(std::shared_ptr< acsdkAudioPlayerInterfaces::AudioPlayerObserverInterface > observer)
Definition: DefaultClient.cpp:1403
VisualActivityTracker.h
SystemSoundPlayerInterface.h
ExternalMediaPlayerInterface.h
InteractionModelCapabilityAgent.h
Optional.h
EqualizerModeControllerInterface.h
alexaClientSDK::acsdkManufactory::Annotated
Definition: Annotated.h:35
Bluetooth.h
alexaClientSDK::defaultClient::DefaultClient::getPlaybackRouter
std::shared_ptr< avsCommon::sdkInterfaces::PlaybackRouterInterface > getPlaybackRouter() const
Definition: DefaultClient.cpp:1508
alexaClientSDK::defaultClient::DefaultClient::removeInternetConnectionObserver
void removeInternetConnectionObserver(std::shared_ptr< avsCommon::sdkInterfaces::InternetConnectionObserverInterface > observer)
Definition: DefaultClient.cpp:1385
alexaClientSDK::defaultClient::DefaultClient::addAlexaDialogStateObserver
void addAlexaDialogStateObserver(std::shared_ptr< avsCommon::sdkInterfaces::DialogUXStateObserverInterface > observer)
Definition: DefaultClient.cpp:1351
ApiGatewayCapabilityAgent.h
PlaybackController.h
MediaPlayerInterface.h
alexaClientSDK::defaultClient::DefaultClient::notifyOfWakeWord
std::future< bool > notifyOfWakeWord(capabilityAgents::aip::AudioProvider wakeWordAudioProvider, avsCommon::avs::AudioInputStream::Index beginIndex, avsCommon::avs::AudioInputStream::Index endIndex, std::string keyword, std::chrono::steady_clock::time_point startOfSpeechTimestamp, std::shared_ptr< const std::vector< char >> KWDMetadata=nullptr) override
Definition: DefaultClient.cpp:1596
alexaClientSDK::capabilityAgents::aip::AudioProvider::null
static const AudioProvider & null()
Definition: AudioProvider.h:104
alexaClientSDK::defaultClient::DefaultClient::createEndpointBuilder
std::shared_ptr< avsCommon::sdkInterfaces::endpoints::EndpointBuilderInterface > createEndpointBuilder()
Definition: DefaultClient.cpp:1685
alexaClientSDK
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
AuthDelegateInterface.h
alexaClientSDK::defaultClient::DefaultClient::removeEqualizerControllerListener
void removeEqualizerControllerListener(std::shared_ptr< acsdkEqualizerInterfaces::EqualizerControllerListenerInterface > listener)
Definition: DefaultClient.cpp:1527
alexaClientSDK::defaultClient::DefaultClient::addEqualizerControllerListener
void addEqualizerControllerListener(std::shared_ptr< acsdkEqualizerInterfaces::EqualizerControllerListenerInterface > listener)
Definition: DefaultClient.cpp:1520
alexaClientSDK::avsCommon::sdkInterfaces::endpoints::EndpointIdentifier
std::string EndpointIdentifier
Definition: EndpointIdentifier.h:38
ExternalCapabilitiesBuilderInterface.h
alexaClientSDK::defaultClient::DefaultClient::setFirmwareVersion
bool setFirmwareVersion(avsCommon::sdkInterfaces::softwareInfo::FirmwareVersion firmwareVersion)
Definition: DefaultClient.cpp:1572
alexaClientSDK::avsCommon::sdkInterfaces::softwareInfo::FirmwareVersion
int32_t FirmwareVersion
Type to use to communicate a firmware version.
Definition: SoftwareInfoSenderObserverInterface.h:29
TemplateRuntime.h
alexaClientSDK::defaultClient::DefaultClient::addBluetoothDeviceObserver
void addBluetoothDeviceObserver(std::shared_ptr< acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface > observer)
Definition: DefaultClient.cpp:1467
alexaClientSDK::defaultClient::DefaultClient::localStopActiveAlert
void localStopActiveAlert()
Definition: DefaultClient.cpp:1347
EqualizerController.h
CapabilitiesDelegateInterface.h
CapabilitiesObserverInterface.h
alexaClientSDK::avsCommon::sdkInterfaces::softwareInfo::INVALID_FIRMWARE_VERSION
static const FirmwareVersion INVALID_FIRMWARE_VERSION
The invalid firmware version.
Definition: SoftwareInfoSenderObserverInterface.h:32
SystemClockMonitor.h
alexaClientSDK::defaultClient::DefaultClient::addSpeechSynthesizerObserver
void addSpeechSynthesizerObserver(std::shared_ptr< avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface > observer)
Definition: DefaultClient.cpp:1562
PlaybackRouter.h
alexaClientSDK::defaultClient::DefaultClient::addAudioInputProcessorObserver
void addAudioInputProcessorObserver(const std::shared_ptr< avsCommon::sdkInterfaces::AudioInputProcessorObserverInterface > &observer)
Definition: DefaultClient.cpp:1661
EndpointInterface.h
EndpointRegistrationManager.h
alexaClientSDK::defaultClient::DefaultClient::isCommsCallMuted
bool isCommsCallMuted()
Definition: DefaultClient.cpp:1746
AudioPlayer.h
alexaClientSDK::defaultClient::DefaultClient::unmuteCommsCall
void unmuteCommsCall()
Definition: DefaultClient.cpp:1759
alexaClientSDK::defaultClient::DefaultClient::addCaptionPresenter
void addCaptionPresenter(std::shared_ptr< captions::CaptionPresenterInterface > presenter)
Definition: DefaultClient.cpp:1454
alexaClientSDK::defaultClient::DefaultClient::removeSpeakerManagerObserver
void removeSpeakerManagerObserver(std::shared_ptr< avsCommon::sdkInterfaces::SpeakerManagerObserverInterface > observer)
Definition: DefaultClient.cpp:1553
alexaClientSDK::defaultClient::DefaultClient::audioPlayerLocalStop
void audioPlayerLocalStop()
Definition: DefaultClient.cpp:1740
alexaClientSDK::defaultClient::DefaultClient::addCallStateObserver
void addCallStateObserver(std::shared_ptr< avsCommon::sdkInterfaces::CallStateObserverInterface > observer)
Definition: DefaultClient.cpp:1671
AudioFactoryInterface.h
alexaClientSDK::defaultClient::DefaultClient::removeConnectionObserver
void removeConnectionObserver(std::shared_ptr< avsCommon::sdkInterfaces::ConnectionStatusObserverInterface > observer)
Definition: DefaultClient.cpp:1375
ConnectionStatusObserverInterface.h
NotificationRenderer.h
Manufactory.h
alexaClientSDK::defaultClient::DefaultClient::registerExternalMediaPlayerAdapterHandler
void registerExternalMediaPlayerAdapterHandler(std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface > externalMediaPlayerAdapterHandler)
Definition: DefaultClient.cpp:1769
DialogUXStateObserverInterface.h
BluetoothDeviceConnectionRuleInterface.h
alexaClientSDK::defaultClient::DefaultClient::removeBluetoothDeviceObserver
void removeBluetoothDeviceObserver(std::shared_ptr< acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface > observer)
Definition: DefaultClient.cpp:1476
alexaClientSDK::defaultClient::DefaultClient::addContextManagerObserver
void addContextManagerObserver(std::shared_ptr< avsCommon::sdkInterfaces::ContextManagerObserverInterface > observer)
Definition: DefaultClient.cpp:1534
alexaClientSDK::defaultClient::DefaultClient::sendDtmf
void sendDtmf(avsCommon::sdkInterfaces::CallManagerInterface::DTMFTone dtmfTone)
Definition: DefaultClient.cpp:1728
alexaClientSDK::defaultClient::DefaultClient::getRegistrationManager
std::shared_ptr< registrationManager::RegistrationManager > getRegistrationManager()
Definition: DefaultClient.cpp:1512
alexaClientSDK::defaultClient::DefaultClient::create
static std::unique_ptr< DefaultClient > create(const std::shared_ptr< DefaultClientManufactory > &manufactory, std::shared_ptr< avsCommon::utils::mediaPlayer::MediaPlayerInterface > bluetoothMediaPlayer, std::shared_ptr< avsCommon::utils::mediaPlayer::MediaPlayerInterface > ringtoneMediaPlayer, std::shared_ptr< avsCommon::utils::mediaPlayer::MediaPlayerInterface > systemSoundMediaPlayer, std::shared_ptr< avsCommon::sdkInterfaces::SpeakerInterface > bluetoothSpeaker, std::shared_ptr< avsCommon::sdkInterfaces::SpeakerInterface > ringtoneSpeaker, std::shared_ptr< avsCommon::sdkInterfaces::SpeakerInterface > systemSoundSpeaker, const std::multimap< avsCommon::sdkInterfaces::ChannelVolumeInterface::Type, std::shared_ptr< avsCommon::sdkInterfaces::SpeakerInterface >> additionalSpeakers, std::shared_ptr< acsdkNotificationsInterfaces::NotificationsStorageInterface > notificationsStorage, std::shared_ptr< acsdkBluetooth::BluetoothStorageInterface > bluetoothStorage, std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::DialogUXStateObserverInterface >> alexaDialogStateObservers, std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::ConnectionStatusObserverInterface >> connectionObservers, bool isGuiSupported, std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface >> enabledConnectionRules=std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface >>(), avsCommon::sdkInterfaces::softwareInfo::FirmwareVersion firmwareVersion=avsCommon::sdkInterfaces::softwareInfo::INVALID_FIRMWARE_VERSION, bool sendSoftwareInfoOnConnected=false, std::shared_ptr< avsCommon::sdkInterfaces::SoftwareInfoSenderObserverInterface > softwareInfoSenderObserver=nullptr, std::unique_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceManagerInterface > bluetoothDeviceManager=nullptr, std::shared_ptr< avsCommon::sdkInterfaces::diagnostics::DiagnosticsInterface > diagnostics=nullptr, const std::shared_ptr< ExternalCapabilitiesBuilderInterface > &externalCapabilitiesBuilder=nullptr, capabilityAgents::aip::AudioProvider firstInteractionAudioProvider=capabilityAgents::aip::AudioProvider::null())
Definition: DefaultClient.cpp:87
alexaClientSDK::defaultClient::DefaultClient::addInternetConnectionObserver
void addInternetConnectionObserver(std::shared_ptr< avsCommon::sdkInterfaces::InternetConnectionObserverInterface > observer)
Definition: DefaultClient.cpp:1380
AudioProvider.h
alexaClientSDK::defaultClient::DefaultClient::getSettingsManager
std::shared_ptr< settings::DeviceSettingsManager > getSettingsManager()
}
Definition: DefaultClient.cpp:1504
EqualizerStorageInterface.h
DirectiveSequencer.h
alexaClientSDK::avsCommon::sdkInterfaces::CallManagerInterface::DTMFTone
DTMFTone
An enum used to define the characters that dtmf tone can be.
Definition: CallManagerInterface.h:57
DefaultChannelVolumeFactory.h
DefaultEndpointAnnotation.h
FocusManager.h
alexaClientSDK::defaultClient::DefaultClient::addMessageObserver
void addMessageObserver(std::shared_ptr< avsCommon::sdkInterfaces::MessageObserverInterface > observer)
Definition: DefaultClient.cpp:1361
alexaClientSDK::defaultClient::DefaultClient::deregisterEndpoint
std::future< endpoints::EndpointRegistrationManager::DeregistrationResult > deregisterEndpoint(avsCommon::sdkInterfaces::endpoints::EndpointIdentifier endpointId)
Definition: DefaultClient.cpp:1707
alexaClientSDK::defaultClient::DefaultClient::addSpeakerManagerObserver
void addSpeakerManagerObserver(std::shared_ptr< avsCommon::sdkInterfaces::SpeakerManagerObserverInterface > observer)
Definition: DefaultClient.cpp:1548
alexaClientSDK::defaultClient::DefaultClient::addConnectionObserver
void addConnectionObserver(std::shared_ptr< avsCommon::sdkInterfaces::ConnectionStatusObserverInterface > observer)
Definition: DefaultClient.cpp:1370
alexaClientSDK::defaultClient::DefaultClient::disconnect
void disconnect()
Definition: DefaultClient.cpp:1331
SingleSettingObserverInterface.h
alexaClientSDK::avsCommon::sdkInterfaces::ChannelVolumeInterface::Type
Type
Definition: ChannelVolumeInterface.h:37
alexaClientSDK::defaultClient::DefaultClient::muteCommsCall
void muteCommsCall()
Definition: DefaultClient.cpp:1753
StartupManagerInterface.h
alexaClientSDK::defaultClient::DefaultClient::removeCallStateObserver
void removeCallStateObserver(std::shared_ptr< avsCommon::sdkInterfaces::CallStateObserverInterface > observer)
Definition: DefaultClient.cpp:1678
alexaClientSDK::defaultClient::DefaultClient::stopAllActivities
void stopAllActivities()
Definition: DefaultClient.cpp:1343
MessageRouterFactory.h
alexaClientSDK::defaultClient::DefaultClient::removeSpeechSynthesizerObserver
void removeSpeechSynthesizerObserver(std::shared_ptr< avsCommon::sdkInterfaces::SpeechSynthesizerObserverInterface > observer)
Definition: DefaultClient.cpp:1567
AudioInputProcessor.h
BluetoothStorageInterface.h
ExternalMediaPlayer.h
AlexaInterfaceMessageSender.h
TemplateRuntimeObserverInterface.h
alexaClientSDK::defaultClient::DefaultClient::addTemplateRuntimeObserver
void addTemplateRuntimeObserver(std::shared_ptr< avsCommon::sdkInterfaces::TemplateRuntimeObserverInterface > observer)
Definition: DefaultClient.cpp:1408
alexaClientSDK::defaultClient::DefaultClient::stopForegroundActivity
void stopForegroundActivity()
Definition: DefaultClient.cpp:1339
AudioActivityTracker.h
alexaClientSDK::defaultClient::DefaultClient::notifyOfHoldToTalkEnd
std::future< bool > notifyOfHoldToTalkEnd() override
Definition: DefaultClient.cpp:1653
alexaClientSDK::defaultClient::DefaultClient::connect
void connect(bool performReset=true)
Definition: DefaultClient.cpp:1297
alexaClientSDK::defaultClient::DefaultClient::removeTemplateRuntimeObserver
void removeTemplateRuntimeObserver(std::shared_ptr< avsCommon::sdkInterfaces::TemplateRuntimeObserverInterface > observer)
Definition: DefaultClient.cpp:1417
EndpointBuilderInterface.h
HTTPContentFetcherFactory.h
alexaClientSDK::defaultClient::DefaultClient::removeExternalMediaPlayerObserver
void removeExternalMediaPlayerObserver(std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerObserverInterface > observer)
Definition: DefaultClient.cpp:1449
NotificationsCapabilityAgent.h
AttachmentManagerInterface.h
alexaClientSDK::defaultClient::DefaultClient::removeNotificationsObserver
void removeNotificationsObserver(std::shared_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > observer)
Definition: DefaultClient.cpp:1439
alexaClientSDK::defaultClient::DefaultClient::TemplateRuntimeDisplayCardCleared
void TemplateRuntimeDisplayCardCleared()
Definition: DefaultClient.cpp:1426
MediaPlayerFactoryInterface.h
SpeechInteractionHandlerInterface.h
DeviceSettingsManager.h
EqualizerCapabilityAgent.h
alexaClientSDK::defaultClient::DefaultClient::getShutdownManager
std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownManagerInterface > getShutdownManager()
Definition: DefaultClient.cpp:1777

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