![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <SpeakerManagerObserverInterface.h>
Public Types | |
enum | Source { Source::DIRECTIVE, Source::LOCAL_API, Source::EXTERNAL_CLIENT } |
Indicates whether the source of the call is from an AVS Directive or through a Local API call. More... | |
Public Member Functions | |
virtual void | onSpeakerSettingsChanged (const Source &source, const ChannelVolumeInterface::Type &type, const SpeakerInterface::SpeakerSettings &settings)=0 |
virtual | ~SpeakerManagerObserverInterface ()=default |
This interface is for observing changes to ChannelVolumeInterfaces that are made by the SpeakerManager
.
Observers of the SpeakerManager are notified using the SpeakerManagers internal thread. The callback function must exit as quickly as possible and perform minimal calculations. Not doing so can cause delays in the SpeakerManager
. No other SpeakerManager methods which utilize that thread must be called from this callback.
|
virtualdefault |
Destructor.
|
pure virtual |
A callback for when the SpeakerInterface::SpeakerSettings
successfully changes.
source. | This indicates the origin of the call. |
type. | This indicates the type of ChannelVolumeInterface that was modified. |
settings. | This indicates the current settings after the change. |
Implemented in alexaClientSDK::acsdkExternalMediaPlayer::ExternalMediaAdapterHandler, alexaClientSDK::acsdkAlerts::AlertsCapabilityAgent, alexaClientSDK::capabilityAgents::mrm::MRMCapabilityAgent, alexaClientSDK::sampleApplications::common::UIManager, and alexaClientSDK::diagnostics::DevicePropertyAggregator.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0