|
static const std::string | EVENT_KEY = "event" |
| The event key. More...
|
|
static const std::string | HEADER_KEY = "header" |
| The header key. More...
|
|
static const std::string | PAYLOAD_KEY = "payload" |
| The payload key. More...
|
|
static const std::string | PLAYER_ID_KEY = "playerId" |
| The playerId key. More...
|
|
static const std::string | EXTERNALMEDIAPLAYER_STATE_NAMESPACE = "ExternalMediaPlayer" |
|
static const std::string | PLAYBACKSTATEREPORTER_STATE_NAMESPACE = "Alexa.PlaybackStateReporter" |
|
static const std::string | EXTERNALMEDIAPLAYER_NAME = "ExternalMediaPlayerState" |
|
static const std::string | PLAYBACKSTATEREPORTER_NAME = "playbackState" |
|
static const std::string | EXTERNALMEDIAPLAYER_NAMESPACE = "ExternalMediaPlayer" |
|
static const std::string | PLAYBACKCONTROLLER_NAMESPACE = "Alexa.PlaybackController" |
|
static const std::string | PLAYLISTCONTROLLER_NAMESPACE = "Alexa.PlaylistController" |
|
static const std::string | SEEKCONTROLLER_NAMESPACE = "Alexa.SeekController" |
|
static const std::string | FAVORITESCONTROLLER_NAMESPACE = "Alexa.FavoritesController" |
|
static const std::string | ALEXA_INTERFACE_TYPE = "AlexaInterface" |
| The AlexaInterface constant type. More...
|
|
static const std::string | EXTERNALMEDIAPLAYER_CAPABILITY_INTERFACE_TYPE = ALEXA_INTERFACE_TYPE |
|
static const std::string | EXTERNALMEDIAPLAYER_CAPABILITY_INTERFACE_NAME = "ExternalMediaPlayer" |
| ExternalMediaPlayer interface name. More...
|
|
static const std::string | EXTERNALMEDIAPLAYER_CAPABILITY_INTERFACE_VERSION = "1.2" |
| ExternalMediaPlayer interface version. More...
|
|
static const std::string | PLAYBACKSTATEREPORTER_CAPABILITY_INTERFACE_NAME = PLAYBACKSTATEREPORTER_STATE_NAMESPACE |
| Alexa.PlaybackStateReporter name. More...
|
|
static const std::string | PLAYBACKSTATEREPORTER_CAPABILITY_INTERFACE_VERSION = "1.0" |
| Alexa.PlaybackStateReporter version. More...
|
|
static const std::string | PLAYBACKCONTROLLER_CAPABILITY_INTERFACE_NAME = PLAYBACKCONTROLLER_NAMESPACE |
| Alexa.PlaybackController name. More...
|
|
static const std::string | PLAYBACKCONTROLLER_CAPABILITY_INTERFACE_VERSION = "1.0" |
| Alexa.PlaybackController version. More...
|
|
static const std::string | PLAYLISTCONTROLLER_CAPABILITY_INTERFACE_NAME = PLAYLISTCONTROLLER_NAMESPACE |
| Alexa.PlaylistController name. More...
|
|
static const std::string | PLAYLISTCONTROLLER_CAPABILITY_INTERFACE_VERSION = "1.0" |
| Alexa.PlaylistController version. More...
|
|
static const std::string | SEEKCONTROLLER_CAPABILITY_INTERFACE_NAME = SEEKCONTROLLER_NAMESPACE |
| Alexa.SeekController name. More...
|
|
static const std::string | SEEKCONTROLLER_CAPABILITY_INTERFACE_VERSION = "1.0" |
| Alexa.SeekController version. More...
|
|
static const std::string | FAVORITESCONTROLLER_CAPABILITY_INTERFACE_NAME = FAVORITESCONTROLLER_NAMESPACE |
| Alexa.FavoritesController name. More...
|
|
static const std::string | FAVORITESCONTROLLER_CAPABILITY_INTERFACE_VERSION = "1.0" |
| Alexa.FavoritesController version. More...
|
|
static const NamespaceAndName | PLAY_DIRECTIVE {EXTERNALMEDIAPLAYER_NAMESPACE, "Play"} |
|
static const NamespaceAndName | LOGIN_DIRECTIVE {EXTERNALMEDIAPLAYER_NAMESPACE, "Login"} |
|
static const NamespaceAndName | LOGOUT_DIRECTIVE {EXTERNALMEDIAPLAYER_NAMESPACE, "Logout"} |
|
static const NamespaceAndName | AUTHORIZEDISCOVEREDPLAYERS_DIRECTIVE |
|
static const NamespaceAndName | RESUME_DIRECTIVE {PLAYBACKCONTROLLER_NAMESPACE, "Play"} |
|
static const NamespaceAndName | PAUSE_DIRECTIVE {PLAYBACKCONTROLLER_NAMESPACE, "Pause"} |
|
static const NamespaceAndName | STOP_DIRECTIVE {PLAYBACKCONTROLLER_NAMESPACE, "Stop"} |
|
static const NamespaceAndName | NEXT_DIRECTIVE {PLAYBACKCONTROLLER_NAMESPACE, "Next"} |
|
static const NamespaceAndName | PREVIOUS_DIRECTIVE {PLAYBACKCONTROLLER_NAMESPACE, "Previous"} |
|
static const NamespaceAndName | STARTOVER_DIRECTIVE {PLAYBACKCONTROLLER_NAMESPACE, "StartOver"} |
|
static const NamespaceAndName | REWIND_DIRECTIVE {PLAYBACKCONTROLLER_NAMESPACE, "Rewind"} |
|
static const NamespaceAndName | FASTFORWARD_DIRECTIVE {PLAYBACKCONTROLLER_NAMESPACE, "FastForward"} |
|
static const NamespaceAndName | ENABLEREPEATONE_DIRECTIVE {PLAYLISTCONTROLLER_NAMESPACE, "EnableRepeatOne"} |
|
static const NamespaceAndName | ENABLEREPEAT_DIRECTIVE {PLAYLISTCONTROLLER_NAMESPACE, "EnableRepeat"} |
|
static const NamespaceAndName | DISABLEREPEAT_DIRECTIVE {PLAYLISTCONTROLLER_NAMESPACE, "DisableRepeat"} |
|
static const NamespaceAndName | ENABLESHUFFLE_DIRECTIVE {PLAYLISTCONTROLLER_NAMESPACE, "EnableShuffle"} |
|
static const NamespaceAndName | DISABLESHUFFLE_DIRECTIVE {PLAYLISTCONTROLLER_NAMESPACE, "DisableShuffle"} |
|
static const NamespaceAndName | SEEK_DIRECTIVE {SEEKCONTROLLER_NAMESPACE, "SetSeekPosition"} |
|
static const NamespaceAndName | ADJUSTSEEK_DIRECTIVE {SEEKCONTROLLER_NAMESPACE, "AdjustSeekPosition"} |
|
static const NamespaceAndName | FAVORITE_DIRECTIVE {FAVORITESCONTROLLER_NAMESPACE, "Favorite"} |
|
static const NamespaceAndName | UNFAVORITE_DIRECTIVE {FAVORITESCONTROLLER_NAMESPACE, "Unfavorite"} |
|
static const NamespaceAndName | SESSION_STATE {EXTERNALMEDIAPLAYER_STATE_NAMESPACE, EXTERNALMEDIAPLAYER_NAME} |
|
static const NamespaceAndName | PLAYBACK_STATE {PLAYBACKSTATEREPORTER_STATE_NAMESPACE, PLAYBACKSTATEREPORTER_NAME} |
|
static const char | PLAYERS [] = "players" |
| The const char for the players key field in the context. More...
|
|
static const char | PLAYER_IN_FOCUS [] = "playerInFocus" |
| The const char for the playerInFocus key field in the context. More...
|
|
static const int64_t | MAX_PAST_OFFSET = -86400000 |
| The max relative time in the past that we can seek to in milliseconds(-12hours in ms). More...
|
|
static const int64_t | MAX_FUTURE_OFFSET = 86400000 |
| The max relative time in the past that we can seek to in milliseconds(+12 hours in ms). More...
|
|
static const char | AGENT_KEY [] = "agent" |
| The agent key. More...
|
|
static const char | AUTHORIZED [] = "authorized" |
| The authorized key. More...
|
|
static const char | DEAUTHORIZED [] = "deauthorized" |
| The deauthorized key. More...
|
|
static const char | LOCAL_PLAYER_ID [] = "localPlayerId" |
| The localPlayerId key. More...
|
|
static const char | METADATA [] = "metadata" |
| The metadata key. More...
|
|
static const char | SPI_VERSION_KEY [] = "spiVersion" |
| The spiVersion key. More...
|
|
static const char | VALIDATION_METHOD [] = "validationMethod" |
| The validationMethod key. More...
|
|
static const char | VALIDATION_DATA [] = "validationData" |
| The validationData key. More...
|
|
static const char | REPORT_DISCOVERED_PLAYERS [] = "ReportDiscoveredPlayers" |
| The ReportDiscoveredPlayers Event key. More...
|
|
static const char | AUTHORIZATION_COMPLETE [] = "AuthorizationComplete" |
| The AuthorizationComplete Event key. More...
|
|
static const std::string | AUDIO_PLAYER_METRIC_PREFIX = "AUDIO_PLAYER-" |
| Metric name prefix for AudioPlayer metric source. More...
|
|
static const std::string | PLAY_DIRECTIVE_RECEIVED = "PLAY_DIRECTIVE_RECEIVED" |
| The directive received metric is used in place of 'first bytes' for UPL because pre-buffering may distort the metric. More...
|
|
static const std::string | STOP_DIRECTIVE_RECEIVED = "STOP_DIRECTIVE_RECEIVED" |
| The directive received metric is used in place of 'first bytes' for Stop UPL because there are no bytes involved. More...
|
|
auto | audioNonBlockingPolicy = BlockingPolicy(BlockingPolicy::MEDIUM_AUDIO, false) |
|
auto | neitherNonBlockingPolicy = BlockingPolicy(BlockingPolicy::MEDIUMS_NONE, false) |
|
static DirectiveHandlerConfiguration | g_configuration |
|
static std::unordered_map< PlaybackButton, RequestType > | g_buttonToRequestType |
|
static std::unordered_map< PlaybackToggle, std::pair< RequestType, RequestType > > | g_toggleToRequestType |
|