#include <CurlProgressCallbackInterface.h>
◆ ~CurlProgressCallbackInterface()
virtual amazon::davs::CurlProgressCallbackInterface::~CurlProgressCallbackInterface |
( |
| ) |
|
|
virtualdefault |
◆ onProgressUpdate()
virtual bool amazon::davs::CurlProgressCallbackInterface::onProgressUpdate |
( |
long |
dlTotal, |
|
|
long |
dlNow, |
|
|
long |
ulTotal, |
|
|
long |
ulNow |
|
) |
| |
|
pure virtual |
An event that is called with a frequent interval. While data is being transferred it will be called very frequently, and during slow periods like when nothing is being transferred it can slow down to about one call per second.
- Parameters
-
dlTotal,total | bytes need to be downloaded, 0 if Unknown/unused |
dlNow,number | of bytes downloaded so far, 0 if Unknown/unused |
ulTotal,total | bytes need to be uploaded, 0 if Unknown/unused |
ulNow,number | of bytes uploaded so far, 0 if Unknown/unused |
- Returns
- Returning false will cause libcurl to abort the transfer and return
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