AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Public Member Functions | |
void | onStart () override |
void | onArtifactDownloaded (std::shared_ptr< VendableArtifact >, const std::string &artifactPath) override |
void | onDownloadFailure (ResultCode) override |
void | onProgressUpdate (int prog) override |
Public Member Functions inherited from alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface | |
virtual | ~DavsDownloadCallbackInterface ()=default |
virtual void | onArtifactDownloaded (std::shared_ptr< commonInterfaces::VendableArtifact > artifact, const std::string &path)=0 |
Public Attributes | |
bool | started |
bool | downloaded |
bool | failure |
int | progress |
string | path |
|
inlineoverride |
|
inlineoverridevirtual |
An event that is called when the download fails, providing a reason for failure.
errorCode | reason for the failure. |
Implements alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface.
|
inlineoverridevirtual |
An event that is called periodically to denote the progress of the download.
progress | ALWAYS VALID, between 0 and 100 |
Implements alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface.
|
inlineoverridevirtual |
An event that is called as soon as the download has started.
Implements alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface.
bool MyDownloader::downloaded |
bool MyDownloader::failure |
string MyDownloader::path |
int MyDownloader::progress |
bool MyDownloader::started |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0