![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PlaylistParserInterface.h>
Public Types | |
enum | PlaylistType { PlaylistType::M3U, PlaylistType::EXT_M3U, PlaylistType::PLS } |
The different types of playlists that are currently supported. More... | |
Public Member Functions | |
virtual | ~PlaylistParserInterface ()=default |
virtual int | parsePlaylist (std::string url, std::shared_ptr< PlaylistParserObserverInterface > observer, std::vector< PlaylistType > playlistTypesToNotBeParsed=std::vector< PlaylistType >())=0 |
An interface that can be implemented to parse playlists in a DFS manner.
|
virtualdefault |
Destructor.
|
pure virtual |
This function returns immediately. It parses the playlist specified in the url
asynchronously. The playlist will be parsed in a DFS manner. If the playlist contains a link to another playlist, then it will proceed to parse that before proceeding. Callbacks willbe issued PlaylistParserObserverInterface
via the onPlaylistParsed
call whenever a entry has been parsed.
url | The url of the playlist to be parsed. |
observer | The observer to be notified of playlist parsing. |
playlistTypesToNotBeParsed | The playlist types to skip parsing of. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0