![]() |
AlexaClientSDK
3.0.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< acsdkAudioPlayerInterfaces::AudioPlayerObserverInterface > observer)=0 |
virtual void | removeObserver (std::shared_ptr< acsdkAudioPlayerInterfaces::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 |
|
pure virtual |
This function removes an observer from AudioPlayer
so that it will no longer be notified of AudioPlayer state changes.
observer | The AudioPlayerObserverInterface |
|
pure virtual |
This function stops playback of the current song.
LocalPlayerControlInterface.playbackStop
instead Implemented in alexaClientSDK::acsdkAudioPlayer::AudioPlayer.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0