![]() |
Alexa Auto SDK
2.0.0
|
Public Member Functions | |
PlaybackState ()=default | |
Default constructor. | |
Public Attributes | |
std::string | state |
The state of the default player - IDLE/STOPPED/PLAYING... | |
std::vector< SupportedPlaybackOperation > | supportedOperations |
The set of states the default player can move into from its current state. | |
std::chrono::milliseconds | trackOffset |
The offset of the track in milliseconds. | |
bool | shuffleEnabled |
Bool to identify if shuffling is enabled or not. | |
bool | repeatEnabled |
Bool to identify if looping of songs is enabled or not. | |
Favorites | favorites |
The favorite status {"FAVORITED"/"UNFAVORITED"/"NOT_RATED"}. | |
std::string | type |
The type of the media item. For now hard-coded to ExternalMediaAdapterMusicItem. | |
std::string | playbackSource |
The display name for current playback context, e.g. playlist name. | |
std::string | playbackSourceId |
std::string | trackName |
The display name for the currently playing trackname of the track. | |
std::string | trackId |
The arbitrary identifier for currently playing trackid of the track as per the music provider. | |
std::string | trackNumber |
std::string | artistName |
The display name for the currently playing artist. | |
std::string | artistId |
std::string | albumName |
The display name of the currently playing album. | |
std::string | albumId |
std::string | tinyURL |
The URL for tiny cover art image resource} . | |
std::string | smallURL |
The URL for small cover art image resource} . | |
std::string | mediumURL |
The URL for medium cover art image resource} . | |
std::string | largeURL |
The URL for large cover art image resource} . | |
std::string | coverId |
std::string | mediaProvider |
MediaType | mediaType |
The Media type enum value from {TRACK, PODCAST, STATION, AD, SAMPLE, OTHER} type of the media. | |
std::chrono::milliseconds | duration |
Media item duration in milliseconds. | |
struct that encapsulates a players playback state.
std::string aace::alexa::ExternalMediaAdapter::PlaybackState::playbackSourceId |
An arbitrary identifier for current playback context as per the music provider, e.g. a URI that can be saved as a preset or queried to Music Service Provider services for additional info.
std::string aace::alexa::ExternalMediaAdapter::PlaybackState::trackNumber |
The display value for the number or abstract position of the currently playing track in the album or context trackNumber of the track.
std::string aace::alexa::ExternalMediaAdapter::PlaybackState::artistId |
An arbitrary identifier for currently playing artist as per the music provider, e.g. a URI that can be queried to MSP services for additional info.
std::string aace::alexa::ExternalMediaAdapter::PlaybackState::albumId |
Arbitrary identifier for currently playing album specific to the music provider, e.g. a URI that can be queried to MSP services for additional info.
std::string aace::alexa::ExternalMediaAdapter::PlaybackState::coverId |
The Arbitrary identifier for cover art image resource specific to the music provider, for retrieval from an MSP API.
std::string aace::alexa::ExternalMediaAdapter::PlaybackState::mediaProvider |
Music Service Provider name for the currently playing media item; distinct from the application identity although the two may be the same.
Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0