JUCE  v5.1.1-3-g1a0b28c73
JUCE API
URL::DownloadTask::Listener Struct Referenceabstract

#include <juce_URL.h>

Public Member Functions

virtual ~Listener ()
 
virtual void finished (DownloadTask *task, bool success)=0
 Called when the download has finished. More...
 
virtual void progress (DownloadTask *task, int64 bytesDownloaded, int64 totalLength)
 Called periodically by the OS to indicate download progress. More...
 

Constructor & Destructor Documentation

◆ ~Listener()

virtual URL::DownloadTask::Listener::~Listener ( )
virtual

Member Function Documentation

◆ finished()

virtual void URL::DownloadTask::Listener::finished ( DownloadTask task,
bool  success 
)
pure virtual

Called when the download has finished.

Be aware that this callback may come on an arbitrary thread.

◆ progress()

virtual void URL::DownloadTask::Listener::progress ( DownloadTask task,
int64  bytesDownloaded,
int64  totalLength 
)
virtual

Called periodically by the OS to indicate download progress.

Beware that this callback may come on an arbitrary thread.


The documentation for this struct was generated from the following file: