Property Expiration
Expiration
Gets the expiration details for this mobile scene package, if provided.
Declaration
public Expiration Expiration { get; }
Property Value
Type | Description |
---|---|
Expiration | The expiration details for this mobile scene package, if provided. |
Remarks
Expiration details provide:
- The package’s expiration date and time.
- Whether the scenes can be accessed after expiration.
- Any messages relevant for the user.
By publishing a package with expiration details, the author can control the experience an end-user has when they try to access information that is no longer valid. For example, for time limited data (such as major sporting events), the author can ensure that the data cannot be accessed after the expiry date.
These expiration details can be specified when the author creates a mobile scene package using ArcGIS Pro (from version 2.4). This requires the ArcGIS Pro Publisher Extension.
During package loading, this API will determine whether the mobile scene package was authored with expiration. If so, then this property will be populated.
If the package has expired and was authored as PreventExpiredAccess, loading will fail and you will not be able to access the scenes. The expiration details will be accessible for you to examine and/or communicate to the user.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.5 - 200.6 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |