16 #ifndef ALEXA_CLIENT_SDK_ACSDKEXTERNALMEDIAPLAYER_INCLUDE_ACSDKEXTERNALMEDIAPLAYER_STATICEXTERNALMEDIAPLAYERADAPTERHANDLER_H_ 17 #define ALEXA_CLIENT_SDK_ACSDKEXTERNALMEDIAPLAYER_INCLUDE_ACSDKEXTERNALMEDIAPLAYER_STATICEXTERNALMEDIAPLAYERADAPTERHANDLER_H_ 19 #include <unordered_map> 24 namespace acsdkExternalMediaPlayer {
43 std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterInterface> adapter);
50 std::vector<acsdkExternalMediaPlayerInterfaces::PlayerInfo>
updatePlayerInfo(
51 const std::vector<acsdkExternalMediaPlayerInterfaces::PlayerInfo>& playerList)
override;
57 std::chrono::milliseconds tokenRefreshInterval)
override;
64 bool seek(
const std::string& localPlayerId, std::chrono::milliseconds offset)
override;
67 std::vector<acsdkExternalMediaPlayerInterfaces::AdapterState>
getAdapterStates()
override;
69 void setExternalMediaPlayer(
const std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerInterface>
70 externalMediaPlayer)
override;
81 std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterInterface> getAdapterByLocalPlayerId(
85 std::unordered_map<std::string, std::shared_ptr<acsdkExternalMediaPlayerInterfaces::ExternalMediaAdapterInterface>>
89 std::mutex m_adaptersMutex;
94 #endif // ALEXA_CLIENT_SDK_ACSDKEXTERNALMEDIAPLAYER_INCLUDE_ACSDKEXTERNALMEDIAPLAYER_STATICEXTERNALMEDIAPLAYERADAPTERHANDLER_H_
::std::string string
Definition: gtest-port.h:1097
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36