◆ onPlaylistEntryParsed()
void alexaClientSDK::playlistParser::test::TestParserObserver::onPlaylistEntryParsed |
( |
int |
requestId, |
|
|
PlaylistEntry |
playlistEntry |
|
) |
| |
|
inlinevirtual |
Notification that an entry has been parsed.
- Parameters
-
requestId | The id of the callback to connect this callback to an original request. |
playlistEntry | The parsing result. The url field will be valid if parseResult is different than ERROR. |
- Note
- This function is always called from a single thread in PlayListParser.
Implements alexaClientSDK::avsCommon::utils::playlistParser::PlaylistParserObserverInterface.
◆ waitForNCallbacks()
std::vector<ParseResult> alexaClientSDK::playlistParser::test::TestParserObserver::waitForNCallbacks |
( |
size_t |
numCallbacksExpected, |
|
|
std::chrono::milliseconds |
timeout = SHORT_TIMEOUT |
|
) |
| |
|
inline |
Waits for the PlaylistParserObserverInterface#onPlaylistEntryParsed() call N times.
- Parameters
-
numCallbacksExpected | The number of callbacks expected. |
timeout | The amount of time to wait for the calls. |
- Returns
- The parse results that actually occurred.
The documentation for this class was generated from the following file:
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0