Property PackagingStatus
PackagingStatus
Gets a value that describes the packaging status of the online map area.
Declaration
public PreplannedPackagingStatus PackagingStatus { get; }
Property Value
Type | Description |
---|---|
PreplannedPackagingStatus | A flag that describes the publishing status of the online map area. |
Remarks
This property allows you to check whether an online PreplannedMapArea is in a Complete state and ready to be downloaded.
If you attempt to load a PreplannedMapArea that is not Complete the PreplannedMapArea will fail to load with a PackagingNotCompleteException.
There are four possible values:
- Complete indicates the map area is ready for download and the data has been packaged.
- Processing indicates that the online map area is not yet ready to be downloaded. The packages required for the map area have not been packaged yet. This status will be available after the PreplannedMapArea fails to load.
- Failed indicates that an error was encountered while preparing the online map area or its packages. In this scenario, the map area cannot be downloaded until the web map author has resolved the errors. This status will be available after the PreplannedMapArea fails to load.
- Unknown indicates that the metadata for the map area has not been fetched. This will be the value when the map area is NotLoaded.
If the packaging status is Processing you can check it again following these steps:
- Create a new PortalItem instance using the Url in the PortalItem.
- Create a new PreplannedMapArea using the portal item PreplannedMapArea(PortalItem).
- Load the PreplannedMapArea and check PackagingStatus.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.10 - 200.5 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 200.5 |