AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PooledMediaResourceProviderInterface.h>
Public Member Functions | |
virtual | ~PooledMediaResourceProviderInterface ()=default |
virtual std::vector< std::shared_ptr< avsCommon::sdkInterfaces::ChannelVolumeInterface > > | getSpeakers () const =0 |
Public Member Functions inherited from alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerFactoryInterface | |
virtual | ~MediaPlayerFactoryInterface ()=default |
virtual Fingerprint | getFingerprint ()=0 |
virtual std::shared_ptr< MediaPlayerInterface > | acquireMediaPlayer ()=0 |
virtual bool | releaseMediaPlayer (std::shared_ptr< MediaPlayerInterface > mediaPlayer)=0 |
virtual bool | isMediaPlayerAvailable ()=0 |
virtual void | addObserver (std::shared_ptr< MediaPlayerFactoryObserverInterface > observer)=0 |
virtual void | removeObserver (std::shared_ptr< MediaPlayerFactoryObserverInterface > observer)=0 |
A PooledMediaResourceProviderInterface
allows access to MediaPlayerInterface
instances as needed (and if available). This is a capability needed to support pre-buffering.
It also provides access to the ChannelVolumeInterfaces
associated with the media players managed by this provider in order to perform volume adjustments on the players.
Instances are not expected to be Thread-safe.
|
virtualdefault |
Destructor.
|
pure virtual |
Gets all ChannelVolumeInterfaces
associated with the media players managed by this instance.
ChannelVolumeInterfaces
. Implemented in alexaClientSDK::avsCommon::utils::mediaPlayer::PooledMediaResourceProvider.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0