A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-expiration.html below:

Expiration Class | ArcGIS Maps SDK for Qt

Expiration details, that indicate whether a given package is out of date. More...

Member Function Documentation Expiration::Expiration(const Esri::ArcGISRuntime::Expiration &other)

Copy constructor from other Expiration.

[noexcept] Expiration::Expiration(Esri::ArcGISRuntime::Expiration &&other)

Move constructor from other Expiration.

[noexcept] Expiration::~Expiration()

Destructor.

QDateTime Expiration::dateTime() const

Gets the date and time when the package will expire.

This property is in Unix time (milliseconds since Epoch) using UTC.

If this Expiration object isEmpty, returns a null QDateTime.

bool Expiration::isEmpty() const

Gets whether this Expiration object is empty.

Returns true if empty.

bool Expiration::isExpired() const

Returns whether the current package has expired.

This property shows whether the given package was expired at the time it was loaded. Subsequent checks can be made by performing a comparison of the current time against the dateTime property.

If this Expiration object isEmpty, returns false.

QString Expiration::message() const

Gets an accompanying message which provides contextual information when the package has expired.

The message could indicate the reasons for expiration or where an up-to-date version of the data can be obtained from. The author of the package may have configured the message to contain raw text, hyperlinks or HTML.

The message can be empty.

If this Expiration object isEmpty, returns an empty QString.

Esri::ArcGISRuntime::ExpirationType Expiration::type() const

Gets the type of expiration for the given package.

This property indicates what expiration entails for a given package. That is, when the package expires:

If this Expiration object isEmpty, returns ExpirationType::Unknown.

[noexcept] Esri::ArcGISRuntime::Expiration &Expiration::operator=(Esri::ArcGISRuntime::Expiration &&other)

Move operator from other Expiration.

Esri::ArcGISRuntime::Expiration &Expiration::operator=(const Esri::ArcGISRuntime::Expiration &other)

Assignment operator from other GenerateOfflineMapParameters.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4