16 #ifndef AACE_ALEXA_LOCAL_MEDIA_SOURCE_H 17 #define AACE_ALEXA_LOCAL_MEDIA_SOURCE_H 22 #include "AACE/Core/PlatformInterface.h" 24 #include "ExternalMediaAdapter.h" 101 using PlayControlType = ExternalMediaAdapter::PlayControlType;
103 using SupportedPlaybackOperation = ExternalMediaAdapter::SupportedPlaybackOperation;
104 using Favorites = ExternalMediaAdapter::Favorites;
105 using MediaType = ExternalMediaAdapter::MediaType;
284 virtual bool playControl( PlayControlType controlType ) = 0;
294 virtual bool seek( std::chrono::milliseconds offset ) = 0;
304 virtual bool adjustSeek( std::chrono::milliseconds deltaOffset ) = 0;
358 void playerError(
const std::string& errorName,
long code,
const std::string& description,
bool fatal );
371 void setEngineInterface( std::shared_ptr<aace::alexa::LocalMediaSourceEngineInterface> localMediaSourceEngineInterface );
374 std::weak_ptr<aace::alexa::LocalMediaSourceEngineInterface> m_localMediaSourceEngineInterface;
383 stream <<
"BLUETOOTH";
389 stream <<
"FM_RADIO";
392 stream <<
"AM_RADIO";
395 stream <<
"SATELLITE_RADIO";
401 stream <<
"COMPACT_DISC";
404 stream <<
"SIRIUS_XM";
414 switch (contentSelectorType) {
419 stream <<
"FREQUENCY";
431 #endif // AACE_ALEXA_LOCAL_MEDIA_SOURCE_H MutedState
Definition: AudioOutput.h:69
Definition: AddressBook.h:26