Skip To Content ArcGIS for Developers Sign In Dashboard

NetworkRequestProgress Class

(Esri::ArcGISRuntime::NetworkRequestProgress)

Information about the progress of a network request. More...

Header: #include <NetworkRequestProgress>
Since: Esri::ArcGISRuntime 100.0

Public Functions

NetworkRequestProgress()
NetworkRequestProgress(const NetworkRequestProgress &other)
NetworkRequestProgress(NetworkRequestProgress &&other)
~NetworkRequestProgress()
qint64 bytesReceived() const
qint64 bytesSent() const
QDateTime estimatedFinishTime() const
int progressPercentage() const
QDateTime startTime() const
qint64 totalBytesToReceive() const
qint64 totalBytesToSend() const
NetworkRequestProgress &operator=(const NetworkRequestProgress &other)
NetworkRequestProgress &operator=(NetworkRequestProgress &&other)

Detailed Description

Information about the progress of a network request.

Member Function Documentation

NetworkRequestProgress::NetworkRequestProgress()

Default constructor.

NetworkRequestProgress::NetworkRequestProgress(const NetworkRequestProgress &other)

Copy constructor from other NetworkRequestProgress.

NetworkRequestProgress::NetworkRequestProgress(NetworkRequestProgress &&other)

Move constructor from other NetworkRequestProgress.

NetworkRequestProgress::~NetworkRequestProgress()

Destructor.

qint64 NetworkRequestProgress::bytesReceived() const

Returns the current number of bytes received from the request.

qint64 NetworkRequestProgress::bytesSent() const

Returns the current number of bytes sent from the request.

QDateTime NetworkRequestProgress::estimatedFinishTime() const

Returns the request's estimated completion time.

int NetworkRequestProgress::progressPercentage() const

Returns the request's percent complete value.

QDateTime NetworkRequestProgress::startTime() const

Returns the request's start time.

qint64 NetworkRequestProgress::totalBytesToReceive() const

Returns the total number of bytes to be received.

qint64 NetworkRequestProgress::totalBytesToSend() const

Returns the expected number of bytes to be sent from the request.

NetworkRequestProgress &NetworkRequestProgress::operator=(const NetworkRequestProgress &other)

Assignment operator from other NetworkRequestProgress.

NetworkRequestProgress &NetworkRequestProgress::operator=(NetworkRequestProgress &&other)

Move operator from other NetworkRequestProgress.


Feedback on this topic?