AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkAssets::common::CurlProgressCallbackInterface Class Referenceabstract

#include <CurlProgressCallbackInterface.h>

Inheritance diagram for alexaClientSDK::acsdkAssets::common::CurlProgressCallbackInterface:
Inheritance graph

Public Member Functions

virtual ~CurlProgressCallbackInterface ()=default
virtual bool onProgressUpdate (long dlTotal, long dlNow, long ulTotal, long ulNow)=0

Constructor & Destructor Documentation

◆ ~CurlProgressCallbackInterface()

virtual alexaClientSDK::acsdkAssets::common::CurlProgressCallbackInterface::~CurlProgressCallbackInterface ( )

Member Function Documentation

◆ onProgressUpdate()

virtual bool alexaClientSDK::acsdkAssets::common::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.

dlTotal,totalbytes need to be downloaded, 0 if Unknown/unused
dlNow,numberof bytes downloaded so far, 0 if Unknown/unused
ulTotal,totalbytes need to be uploaded, 0 if Unknown/unused
ulNow,numberof bytes uploaded so far, 0 if Unknown/unused
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, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0