![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <IterativePlaylistParserInterface.h>
Public Member Functions | |
virtual bool | initializeParsing (std::string url)=0 |
virtual PlaylistEntry | next ()=0 |
virtual void | abort ()=0 |
virtual | ~IterativePlaylistParserInterface ()=default |
An interface that can be implemented to parse playlists in a depth first search manner.
|
virtualdefault |
Destructor.
|
pure virtual |
Abort the current playlist parsing by causing ongoing and future calls to next
to fail. Calls to initializeParsing
will reset abort
.
Implemented in alexaClientSDK::playlistParser::IterativePlaylistParser.
|
pure virtual |
Initialize the playlist parsing. Once succesfully initialized, the method next
can be used to retrieve playlist entries.
url | The root url that can either point to one media file or a playlist to be parsed. |
true
if it succeeds; false otherwise. Implemented in alexaClientSDK::playlistParser::IterativePlaylistParser.
|
pure virtual |
Get the next element in the playlist.
url
field will be valid if parseResult
is different than ERROR. Implemented in alexaClientSDK::playlistParser::IterativePlaylistParser.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0