AlexaClientSDK
1.19.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AudioPlayerObserverInterface.h>
Classes | |
struct | Context |
The context of the AudioPlayer when the observer is notified of the PlayerActivity state change. More... | |
Public Member Functions | |
virtual | ~AudioPlayerObserverInterface ()=default |
virtual void | onPlayerActivityChanged (avsCommon::avs::PlayerActivity state, const Context &context)=0 |
This class allows any observers of the AudioPlayer
to be notified of changes in the AudioPlayer
audio state.
|
virtualdefault |
Destructor
|
pure virtual |
Used to notify the observer when the AudioPlayer
has a change in PlayerActivity
.
state | The PlayerActivity of the AudioPlayer . |
context | The Context of the AudioPlayer . |
Implemented in alexaClientSDK::capabilityAgents::audioPlayer::test::TestAudioPlayerObserver, and alexaClientSDK::diagnostics::DevicePropertyAggregator.
AlexaClientSDK 1.19.0 - Copyright 2016-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0