AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <M3UParser.h>
Public Types | |
enum | Type { Type::PLAYLIST_URL, Type::MEDIA_INFO } |
Public Member Functions | |
PlayItem (std::string playlistURL) | |
PlayItem (avsCommon::utils::playlistParser::PlaylistEntry playlistEntry) | |
Public Attributes | |
enum alexaClientSDK::playlistParser::PlayItem::Type | type |
const std::string | playlistURL |
If type == PLAYLIST_URL, url to parse next playlist. More... | |
const avsCommon::utils::playlistParser::PlaylistEntry | playlistEntry |
If type == MEDIA_INFO, holds information about next PlaylistEntry . More... | |
A struct to contain next play item. A PlayItem could either be a Playlist URL (to parse) or Media Info (to play).
|
strong |
alexaClientSDK::playlistParser::PlayItem::PlayItem | ( | std::string | playlistURL | ) |
Constructor for play item which holds an URL to playlist.
playlistURL | The URL of a playlist to parse next. |
alexaClientSDK::playlistParser::PlayItem::PlayItem | ( | avsCommon::utils::playlistParser::PlaylistEntry | playlistEntry | ) |
Constructor for play item which holds info about PlaylistEntry
.
playlistEntry | The PlaylistEntry to play next. |
const avsCommon::utils::playlistParser::PlaylistEntry alexaClientSDK::playlistParser::PlayItem::playlistEntry |
If type == MEDIA_INFO, holds information about next PlaylistEntry
.
const std::string alexaClientSDK::playlistParser::PlayItem::playlistURL |
If type == PLAYLIST_URL, url to parse next playlist.
enum alexaClientSDK::playlistParser::PlayItem::Type alexaClientSDK::playlistParser::PlayItem::type |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0