#include <DavsDownloadCallbackInterface.h>
◆ ~DavsDownloadCallbackInterface()
virtual alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface::~DavsDownloadCallbackInterface |
( |
| ) |
|
|
virtualdefault |
◆ onArtifactDownloaded()
virtual void alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface::onArtifactDownloaded |
( |
std::shared_ptr< commonInterfaces::VendableArtifact > |
artifact, |
|
|
const std::string & |
path |
|
) |
| |
|
pure virtual |
An event that is called as soon as the artifact has been downloaded successfully. The manager will receive metadata info about the artifact as well as the path of where to find the artifact on disk.
It is the manager's responsibility to move the artifact from the specified location and maintain its lifecycle thereafter. If the artifact is not moved, it will be DELETED.
- Parameters
-
artifact | ALWAYS VALID, information about the artifact including the original request. |
path | ALWAYS VALID, path of where to find the artifact on disk. |
◆ onDownloadFailure()
virtual void alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface::onDownloadFailure |
( |
commonInterfaces::ResultCode |
errorCode | ) |
|
|
pure virtual |
An event that is called when the download fails, providing a reason for failure.
- Parameters
-
errorCode | reason for the failure. |
Implemented in MyDownloader.
◆ onProgressUpdate()
virtual void alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface::onProgressUpdate |
( |
int |
progress | ) |
|
|
pure virtual |
An event that is called periodically to denote the progress of the download.
- Parameters
-
progress | ALWAYS VALID, between 0 and 100 |
Implemented in MyDownloader.
◆ onStart()
virtual void alexaClientSDK::acsdkAssets::davsInterfaces::DavsDownloadCallbackInterface::onStart |
( |
| ) |
|
|
pure virtual |
An event that is called as soon as the download has started.
Implemented in MyDownloader.
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