Expiration QML Type

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

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.5
Inherits:

Object

Properties

Detailed Description

Expiration details can indicate that the package in question:

Note: You cannot declare or create a component of this type in QML code.

Property Documentation

dateTime : date

The date and time when the package will expire (read-only).

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


expired : bool

Whether the current package has expired (read-only).

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.


message : string

An accompanying message which provides contextual information when the package has expired (read-only).

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.


type : Enums.ExpirationType

The type of expiration for the given package (read-only).

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


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.