AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <UrlRequester.h>
Classes | |
class | CurlProgressCallback |
Public Member Functions | |
~UrlRequester () override | |
Requester Functions | |
bool | download () override |
Public Member Functions inherited from alexaClientSDK::acsdkAssets::manager::Requester | |
virtual | ~Requester () |
size_t | deleteAndCleanup () |
void | handleUpdate (bool accept) |
std::string | name () const |
const std::shared_ptr< commonInterfaces::ArtifactRequest > & | getArtifactRequest () const |
commonInterfaces::State | getState () const |
std::chrono::milliseconds | getLastUsed () const |
commonInterfaces::Priority | getPriority () const |
bool | isDownloaded () |
std::string | getArtifactPath () |
virtual void | setPriority (commonInterfaces::Priority newPriority) |
bool | validateWriteRequest (const std::string &name, int newValue) override |
Override of the CommunicationPropertyValidatorInterface. More... | |
std::string | functionToBeInvoked (const std::string &Name) override |
Override of the InvokeFunctionInterface. More... | |
Public Member Functions inherited from alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyValidatorInterface< int > | |
virtual | ~CommunicationPropertyValidatorInterface ()=default |
Public Member Functions inherited from alexaClientSDK::acsdkCommunicationInterfaces::FunctionInvokerInterface< std::string > | |
virtual | ~FunctionInvokerInterface ()=default |
virtual std::string | functionToBeInvoked (const std::string &name, Types... args)=0 |
This class implements the Requester class and extends it to allow for the handling of artifacts downloaded directly from urls
|
override |
|
overridevirtual |
Issues a download request if not already in progress.
Implements alexaClientSDK::acsdkAssets::manager::Requester.
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0