![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <StaticExternalMediaPlayerAdapterHandler.h>
Public Member Functions | |
StaticExternalMediaPlayerAdapterHandler () | |
Constructor. More... | |
~StaticExternalMediaPlayerAdapterHandler () override=default | |
Destructor. More... | |
void | addAdapter (const std::string &localPlayerId, std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterInterface > adapter) |
virtual void | doShutdown () override |
alexaClientSDK::avsCommon::utils::RequiresShutdown More... | |
std::vector< acsdkExternalMediaPlayerInterfaces::PlayerInfo > | updatePlayerInfo (const std::vector< acsdkExternalMediaPlayerInterfaces::PlayerInfo > &playerList) override |
bool | login (const std::string &localPlayerId, const std::string &accessToken, const std::string &userName, bool forceLogin, std::chrono::milliseconds tokenRefreshInterval) override |
bool | logout (const std::string &localPlayerId) override |
bool | play (const PlayParams ¶ms) override |
bool | playControl (const std::string &localPlayerId, acsdkExternalMediaPlayerInterfaces::RequestType requestType, const std::string &playbackTarget) override |
bool | seek (const std::string &localPlayerId, std::chrono::milliseconds offset) override |
bool | adjustSeek (const std::string &localPlayerId, std::chrono::milliseconds deltaOffset) override |
acsdkExternalMediaPlayerInterfaces::AdapterState | getAdapterState (const std::string &localPlayerId) override |
std::vector< acsdkExternalMediaPlayerInterfaces::AdapterState > | getAdapterStates () override |
std::chrono::milliseconds | getOffset (const std::string &localPlayerId) override |
void | setExternalMediaPlayer (const std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface > externalMediaPlayer) override |
![]() | |
ExternalMediaAdapterHandlerInterface (const std::string &name) | |
virtual | ~ExternalMediaAdapterHandlerInterface ()=default |
virtual void | setExternalMediaPlayer (const std::shared_ptr< ExternalMediaPlayerInterface > externalMediaPlayer)=0 |
![]() | |
RequiresShutdown (const std::string &name) | |
virtual | ~RequiresShutdown () |
Destructor. More... | |
const std::string & | name () const |
void | shutdown () |
bool | isShutdown () const |
Additional Inherited Members |
alexaClientSDK::acsdkExternalMediaPlayer::StaticExternalMediaPlayerAdapterHandler::StaticExternalMediaPlayerAdapterHandler | ( | ) |
Constructor.
|
overridedefault |
Destructor.
void alexaClientSDK::acsdkExternalMediaPlayer::StaticExternalMediaPlayerAdapterHandler::addAdapter | ( | const std::string & | localPlayerId, |
std::shared_ptr< acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterInterface > | adapter | ||
) |
Adds an adapter implementing the ExternalMediaAdapterInterface to the list of adapters and associates it with the provided localPlayerId
localPlayerId | the local player id |
adapter | An adapter implementing ExternalMediaAdapterInterface |
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
overridevirtual |
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
|
override |
ExternalMediaPlayerAdapterHandlerInterface
functions
|
overridevirtual |
ExternalMediaPlayerAdapterHandlerInterface
functions
Implements alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterHandlerInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0