AlexaClientSDK
1.19.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AudioPlayerInterface.h>
Public Member Functions | |
virtual | ~AudioPlayerInterface ()=default |
virtual void | addObserver (std::shared_ptr< avsCommon::sdkInterfaces::AudioPlayerObserverInterface > observer)=0 |
virtual void | removeObserver (std::shared_ptr< avsCommon::sdkInterfaces::AudioPlayerObserverInterface > observer)=0 |
virtual void | stopPlayback ()=0 |
This class provides an interface to the AudioPlayer
.
|
virtualdefault |
Destructor
|
pure virtual |
This function adds an observer to AudioPlayer
so that it will get notified for AudioPlayer state changes.
observer | The AudioPlayerObserverInterface |
Implemented in alexaClientSDK::capabilityAgents::audioPlayer::AudioPlayer.
|
pure virtual |
This function removes an observer from AudioPlayer
so that it will no longer be notified of AudioPlayer state changes.
observer | The AudioPlayerObserverInterface |
Implemented in alexaClientSDK::capabilityAgents::audioPlayer::AudioPlayer.
|
pure virtual |
This function stops playback of the current song.
Implemented in alexaClientSDK::capabilityAgents::audioPlayer::AudioPlayer.
AlexaClientSDK 1.19.0 - Copyright 2016-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0